Quantcast
Channel: SCN : All Content - SAP NetWeaver Technology Platform
Viewing all 1967 articles
Browse latest View live

Confused on SAP Netweaver Installtion

$
0
0

Hi,

 

 

First of all I would like to begin by saying that I am new to the world of SAP NW I come from traditional understanding of SAP R/3 and ECC versions, BUT, nothing about NW.

 

So i know that SAP NW is for HCM, SCM and CRM and such.

And ECC 6.0 is for the traditional modules like FICO, PM and such

 

 

So my question is this. Currently I have a IDES ECC 6.0 ehp4 on windows2008r2 and it is running fine. Oh, btw it is running on ABAP stack, below image might be more descriptive this is using Oracle DB btw

 

vlcsnap-2013-09-09-00h28m07s21.png

 

So i want to install SAP NW 7.4 using Oracle, so was wondering can i install on the same Virtual Machine as my IDES ECC 6.0? or have to be on a spearate machine? Tks

So am I right to say that this NW 7.4 can run on its own with out having a ECC 6.0 system? Cause what I am thinking is that lets say HR module is already present in the ECC version and HCM is part of NW buisness suite, so the data of HR have to be used for HCM (this might be really a silly question but sorry I am more of a HW and then slowly progressed to SAP Basis guy)

I also know that it is possible to have dual-stack, but this has been continued from NW 7.4, except for PI, so what does that mean?


Transport Router between 2 servers with same SID

$
0
0

Hello All,

 

 

    I have a problem in client because the client would like create transport router between 2 servers with same SID...

 

    Today, they are configured with virtual system and after release req there is process to copy cofiles and data files to other server...

 

    Ex: XYZ and XYZ

 

    Is it possible configure STMS with same SID ?

 

regards for all

Error in Connecting SAP As ABAP system using SAP GUI through SNC

$
0
0

Hi All,

 

I enabled  SNC in SAP As ABAP system, while connecting through SAPGUI it is throwing follwoing error.

 

 

GSS-API(mai):NO credentials were supplied

 

Unable to establish the security context

 

target-"p:CN=xx, O=xxxxx.com"

 

 

Please find attachment below and please provide solution for this

 

 

Thanks,

Narendar.

Information about Master Data and Company

$
0
0

Hello All,

 

   I need check in my system(ECC 6) number records in master data and number records per company for create an analysis.

 

   This analysis is to create one project of migration per company... Here, We will segregate SAP per company

 

   Is there an report for extract these information ?

 

Regards for all

How to change a test class (ABAP Unit) into an Usual ABAP Class

$
0
0

Hi Experts,

 

I have made a mistake when i created one of my class, i selected the class type to "Test Class (ABAP Unit)" instead of "Usual ABAP Class".

 

Untitled.png

Is there any easy way to put it back to Usual ABAP Class, other than deleting and recreating my class?

 

Thanks in advance!

 

Best Regards,

Maxime

Enable Hindi Language in Netweaver Portal 7.3 EHP1

$
0
0

Hi Experts,

 

we have a requirement to enable the hindi language in enterprise portal & R/3. Portal configured as a hub system and aslo communicating backend with R/3 system. As per the recommendations for supporting hindi in R/3, we have upgraded R/3 from EHP4 to EHP6 SP09. We have enabled Hindi language in R/3 system. Similarly portal system also, we have upgraded  from 7.0 SP24 to 7.3 EHP1 SP11.

 

 

We are not sure Netweaver 7.3EHP1 SP11 will support Hindi for enabling in netweaver system?. Else need to upgrade any other SP level?. Waiting for your valuable solutions.

 

 

Regards,

Kubendran

How To Build a Fast and Flexible Comment Solution for BEx Web Applications

$
0
0

When analyzing BW data or especially when planning new key figure values using BW Integrated Planning there is a need to enter some comments to explain the entered values or add some text information to key figures. In this paper we will describe a flexible yet simple to use solution for using comments in BEx Web Applications. This is an updated and improved version of the existing How to Paper. We have eliminated most of the restrictions for the query.

View this SAP How-to Guide

AUTOSTART=1 Not to Be Used

$
0
0

I am having an issue with AUTOSTART=1 not working on 2 of my systems.  The system does not start until I open the MMC, interestingly I don't have to manually start the instance, just opening the MMC kicks off the AUTOSTART process.  I opened a ticket with SAP and I was told that AUTOSTART=1 should be not used any more because

Apart from the fact that using Autostart parameter can change the control in the start of the instances, the recommendations of changes

in the service definition are not necessary and  can be dangerous because customer could use versions in other directories that could

change  the security settings and even provoke the instance doesn´t start. This is dangerous and can create more problems in the systems.

 

Juding from the number of topics on SDN, I see that many people are still using AUTOSTART=1 but what does one use to start an instance after a reboot if we can't use AUTOSTART=1.


Design template document

$
0
0

Hi,

I need sample design document. Can anybody share?

 

Thanks.

"Transactional RFC and Queued RFC" is not present in RZ20.

$
0
0

Hello,

 

"Transactional RFC and Queued RFC" is not present in RZ20.

 

Please suggest.

 

Thank you..

SAP NetWeaver 7.4 SP8 - Optimized for SAP HANA, Cloud and Mobile - Service Release 2 available now!

$
0
0

Latest News : 

March 31st, 2015: Update on SAP NetWeaver roadmap on SAP Service Marketplace: Roadmap

Jan 1st, 2015: Happy New Year! New article available on SAP's development tools for SAP HANA and the cloud
                        Same article as PDF: SAP Insider - Guide to SAP Development Tools

Nov 27, 2014: Developer Edition of AS ABAP & BW 7.4 SP8 on SAP HANA 1.0 SPS8 available 

Oct 1, 2014: Feature overview in SAP Insider covering SP5 and SP8: Where ABAP meets SAP HANA

Sept 29, 2014: SAP NetWeaver 7.4 SP8 is released. Find out a compact delta update on SP8                     

 

This document is regularly updated. By following it, you'll be notified about the latest SAP NetWeaver 7.4 news.

 

SAP NetWeaver 7.4 is the compatible follow up release of SAP NetWeaver 7.0x/7.3x. It runs on all database platforms supported by SAP NetWeaver but was optimized for SAP HANA.


SAP NetWeaver 7.4 is the "Go-to" release for all ABAP-based developements and especially for all ABAP developments on SAP HANA. It is the foundation underlying SAP Business Suite 7 Innovations 2013 and SAP Business Warehouse 7.4 powered by SAP HANA.

 

 

Meanwhile SAP NetWeaver SP8 was released. SP8 is the servive release 2 (after SP5) for all SAP NetWeaver customers who can install or upgrade to SP8 immediately.

 

Get a general overview of SAP NetWeaver 7.4 capabilities: SAP NetWeaver 7.4

 

Important remark: Be aware that the installation of SAP NetWeaver 7.4 requires a Unicode-based environment.

Upgrades to SAP NetWeaver 7.4 for non-Unicode based setups are still supported but not beyond 7.4, see SAP Note 2033243„End of non-Unicode Support: Release Details”.

 

Lift and optimize the landscape: (SAP Insider articles)

How SAP NetWeaver 7.4 on SAP HANA Is Transforming Customer Landscapes — And What It Means for You

Take Your SAP Solutions to New Heights with the Latest Release of SAP NetWeaver 7.4 (Feature overview of SP5)

Where ABAP meets SAP HANA (Feature overview of SP5 and SP8)

 

About the Kernel

Explore relationship between Kernel and SAP NetWeaver support packages:

New!Understanding Kernel Releases for the SAP NetWeaver AS ABAP

 

About customers:

New! See how customers are successfully using ABAP in Eclipse

New! Learn how ABAP in Eclipse boosts developer productivity

 

study_leave_32.png How-to videos:

Check features of SAP NetWeaver 7.4 SP5 (and beyond) in the ABAP Channel on YouTube.

 

product_32.png Please browse the table below to get detailed information on specific spaces and topics on SCN related to SAP NetWeaver 7.4. You will find a detailed description of selected end-to-end scenarios at the end of the page.

 

Knowledge AreasRelated Links
Development Platforms

ABAP Development on SAP HANA

ABAP for SAP HANA

ABAP Language News for Release 7.40, SP5

New! What's new in SAP NetWeaver Application Server ABAP 7.4 SP8

New!ABAP Language News for release 7.4 SP8

New!Developer Edition AS ABAP and SAP BW 7.4 SP8 powered by SAP HANA

 

Connectivity: New!Real-time eventing in ABAP with ABAP Channels

Kernel: New!Understanding Kernel Releases for the SAP NetWeaver AS ABAP

SAP HANA CloudSAP HANA Cloud Platform
SAP HANA Cloud IntegrationGet started with SAP HANA Cloud Integration
SAP Mobile Platform (SMP)SMP Developer Center
Development Tools

 

Eclipse Development Tools

SAP Development Tools Update Site: https://tools.hana.ondemand.com/

 

ABAP Development Tools: ABAP in Eclipse

ABAP Platform Developer Center

New!Get ABAP Development Tools 2.31 and find out what's new

New! Solve quality problems during development with ABAP Test Cockpit (ATC) in Eclipse

 

HANA Cloud Development Tools: SAP HANA Cloud Platform Developer Center

Gateway Development Tools: SAP NetWeaver Gateway Developer Center

Gateway Productivity Accelerator (Developer Edition) Launched

Mobile Development Tools: SMP Developer Center

SAP HANA Studio Development Tools: SAP HANA Developer Center

User Interface Development Tools

SAP UI5 Development Tools: SAPUI5 Developer Center

Floor Plan Manager: Floorplan Manager for Web Dynpro ABAP

Visual Business: SAP Visual Business

NetWeaver Business Client (NWBC): SAP NetWeaver Business Client

NetWeaver Hubs
Application Server ABAPSAP NetWeaver AS ABAP 7.4 - Overview and Product Highlights
PortalSAP Enterprise Portal
Business Warehouse (BW)

SAP BW Powered by SAP HANA

SAP Business Warehouse 7.4

Process Orchestration

SAP Process Orchestration

Process Integration (PI) & SOA Middleware

Introduction to SAP Process Orchestration

Identity Managment & Single-Sign-On (IdM & SSO)

SAP NetWeaver Identity Management (SAP IdM)

SAP NetWeaver Single Sign-On

Landscape Virtualization Management (LVM)Virtualization and Cloud Infrastructure
Cloud Appliance Library (CAL)

SAP Cloud Appliance Library (CAL)

Business ContinuityBusiness Continuity
Platform Matrix

http://service.sap.com/platforms

Help for NetWeaver 7.4http://help.sap.com/nw74


ABAP Development on SAP HANA

With SAP NetWeaver Business Warehouse and SAP Business Suite, two major standard SAP applications can run on SAP HANA as primary database.

This allows to benefit from the speed and innovations of the SAP In Memory technology in the context of the proven SAP NetWeaver infrastructure.

SAP NetWeaver AS ABAP 7.4 offers a set of tools, development options, and examples for customers and partners for accelerating and extending their ABAP based solutions on SAP HANA. This includes opportunities to push data intensive calculations to the database (e.g. using views and database procedures) and combining transactional and analytical aspects for the end-user in real-time.


The integrated development environment  in Eclipse based on the SAP HANA Studio and the ABAP Development Tools for SAP NetWeaver support ABAP developers in End-to-End application development from the database access to the user interface.

Combining these capabilities with innovations in ABAP 7.4 that are independent of SAP HANA (such as new capabilities in the development and server infrastructure) creates new opportunities for custom development with SAP NetWeaver AS ABAP.

Explore the ABAP Development on SAP HANA step by step using ABAP for SAP HANA Reference Scenario Open Items Analysis which is an integral part of the SAP NetWeaver AS ABAP 7.4 delivery.


To test-drive SAP NetWeaver Application Server ABAP 7.4 on SAP HANA, learn more about its new capabilities and the programming language enhancements you can get and run your owntrial instance provided as virtual applianceby the SAP Cloud Appliance Library.


More information: ABAP for SAP HANA


Summary

SAP responds to the needs of its customers to reduce the cost of development and operation and to bring innovation into existing landscapes without disrupting business processes and further minimizing business downtime. SAP has invested significantly in the cloud market, in in-memory technology, and in innovative mobile technology and applications. SAP NetWeaver 7.4 and SAP HANA Cloud form an application infrastructure and technology platform that provides powerful support for these investments. It enables customers to optimize applications for SAP HANA and, using tools based on the popular Eclipse development environment, quickly and easily build lightweight applications that not only run on the cloud, but integrate with SAP Business Suite back-end systems, bringing innovation across your landscape to your mobile users.

How to start a SAP training institute?

$
0
0

Hello every one,

Thanks for reading this email. I have a couple of questions. It would be great if you can help me out by answering these.

1. How to start a SAP training institute?

2. What would be the cost of the SAP software ,that one needs to buy for training ?

3. Should we contact SAP to get permisson to conduct SAP training ?

 

Thanks in advance.

Karan

Personalizing Portal link

$
0
0

Dear Friends,

 

We are using a lengthy technical portal link to access ESS/MSS.

 

We want it to be in format  " mycompanyname.companyname.com"   such as myvodafone.vodafone.com.

 

How to achieve this?

 

Regards,

Niladri

Upgrade Netweaver 7.3 to 7.31 (NW 7.3 EHP1) unicode system

$
0
0

We need to upgrade Netweaver 7.3 to 7.31  ABAP application server,  we used solution manager MOPZ to calculate stack xml file and downloaded stack files.

 

During extraction phase in SUM(software update manager), it asked to mount the kernel DVD. Below the message we see on the screen:

 

Enter mount points for the DVDs required for the procedure

 

Enter at least the mount point containing Kernel DVD for OS NTAMD64 and Unicode

 

The requested data carrier is not mounted on any of the mount points you entered.

 

Please find the attached screen shot of the error,  so Please help to resolve the problem.

 

 

a.PNG

 

 

 

even though i have calculated stack.xml files it is asking for Kernel files. Please let me know for which kernel file i need to downlod.

Is it for NW 7.3 or do in Need to download kernel master DVD for NW 7.3 EHP1 installation?

 

It would be very helpful if you could provide the exact  media number and path of the files.

 

Thanks for your help in advance.

 

Regards

Sai kiran

scenarios to migrate OS and DB versions

$
0
0

Hi all,

 

To migrate the perating system (redhat linux 4.5 to 6.x) and database (Oracle 10.2.0.2 to 11g), what are the possible scenarios  and  considerations  to be taken to achieve the migration?

 

knowing that:

 

 

1 - the version of SAP System Landscape SAP ECC is  6.0 NUC with the following levels of SP:

 

 

SAP_BASIS    700     0011 SAPKB70011

SAP_ABA       700     0011 SAPKA70011

ST-PI 0005      2005_1_700 SAPKITLQI5

PI_BASIS        2006_1_700 0001 SAPKIPYM01

SAP_BW         700    0012 SAPKW70012

SAP_AP          700    0008 SAPKNA7008

SAP_APPL     600     0009 SAPKH60009

SAP_HR         600     0018 SAPKE60018

SAP Kernel version is 150

 

 

2 - The second landscape used and connected to SAP ECC 6.0 is SAP NetWeaver BI 7.0 (ABAP / JAVA).

 

 

Thank you in advance.


How to implement correct snote

$
0
0

Dear Experts,

 

I would like to known, how found if is any note is included in support package or not...

 

For example: I found the note no: 359815  included in support package 46A - 46C

 

My system version is :

 

SAP_APPL6000019SAPKH60019

 

Is this note included in the system or not ?

 

Thank you for your answers.

 

Jan

SAP on Oracle Development Update

How to speed up client deletions

$
0
0

When deleting large clients, long runtimes are often a problem. Parallelism can help, but the real bottleneck are large tables. So maybe this guide can help. The SQL statements are for Oracle databases with SAPSR3 layout, for other databases or layouts you have to modify them.

 

Manual deletion of tables

First of all, you need to identify large, client specific tables. E. g. in IS-U systems candidates are DFKKOP or SWWCNTP0. These tables are client
specific, so you can easily find out if the table can be truncated without harming the other clients:

 

 

SELECT mandt, count( * ) FROM sapsr3.dfkkop GROUP BY mandt;  

or

 

SELECT client, count( * ) FROM sapsr3.swwcntp0 GROUP BY mandt;  

As result, you see the number of rows for each client. When only the client you want to delete has rows, you can truncate the tables beforehand. This will significantly speed up the client deletion.

Copy & deletion of "unbalanced" tables

When you identify tables, where only a few rows are contained in the clients which will remain in the system and a huge amount of rows in the client
you want to delete, you can first copy all remaining rows in a new table (assuming you want to delete client 100):

 

CREATE TABLE sapsr3."dfkkop_tmp" TABLESPACE psapsr3 NOLOGGING PARALLEL 8 AS
SELECT /*+ INDEX("dfkkop" "dfkkop~0") */ * FROM sapsr3."dfkkop" WHERE mandt NOT IN ('100'):  

After that, you just have to truncate the original table and insert all rows from the temp table:

 

TRUNCATE TABLE sapsr3."dfkkop";
INSERT INTO sapsr3."dfkkop" SELECT * FROM "dfkkop_tmp"; 
COMMIT;  
ALTER INDEX sapsr3."dfkkop~0" REBUILD ONLINE;  

Rebuilding the primary index is a good thing to speed up the client deletion afterwards.

Automation of finding tables / preparing statements

If  there are many huge tables and the time windows is very small, you may use a scripting language to prepare the SQL statements. I prefer Perl,
as I know this language and as Oracle comes with Perl and the DBI module. Connecting to your database is pretty simple:

 

use DBI;
my $sid = "<SID>";
my $hostname = "localhost";
my $port = "<listener port>";
my $sappw = "<password>";
my $sapuser = "SAPSR3";
my $connection = DBI->connect("DBI:Oracle:SID=$sid;host=$hostname;port=$port","$sapuser/$sappw")
|| die "Can't connect to $sid: $!";

You can start the script with $ORACLE_HOME/perl/bin/perl script.pl as oracle owner. Next step will be to determine all client specific tables - in most cases,
the first column is named client, mandt or mandant. Here is a code snippet which will give you number of rows in the remaining clients and overall rows, you just have to adjust to your needs:

 

my $mandt_exclude = '100';
my $sql_all_tables = "SELECT object_name FROM dba_objects
WHERE owner = 'SAPSR3' AND object_type = 'TABLE' ORDER BY object_name ASC";
my $all_cursor = $connection->prepare($sql_all_tables);
$all_cursor->execute();
while (my @table = $all_cursor->fetchrow_array) {
$sql_first_column = "SELECT table_name, column_name FROM dba_cons_columns
WHERE table_name = '$table[0]'
AND constraint_name = ( SELECT MIN( constraint_name ) FROM dba_cons_columns
WHERE table_name = '$table[0]' )";
my $first_col_cursor = $connection->prepare($sql_first_column);
$first_col_cursor->execute();
while (my @col = $first_col_cursor->fetchrow_array) {
if ($col[1] eq "CLIENT" or $col[1] eq "MANDANT" or $col[1] eq "MANDT") {  $sql_count_all = "SELECT count( * ) FROM \"$table[0]\"";  my $count_all_cursor = $connection->prepare($sql_count_all);  $count_all_cursor->execute();  while (my @exc = $count_all_cursor->fetchrow_array) {<Put your custom logic here>  }  $sql_count_exclude_mandt = "SELECT count( * ) FROM \"$table[0]\"
WHERE $col[1] NOT IN ($mandt_exclude)";  my $count_exclude_cursor = $connection->prepare($sql_count_exclude_mandt);  $count_exclude_cursor->execute();  while (my @exc = $count_exclude_cursor->fetchrow_array) {<Put your custom logic here>
}
}

You just have to add some output to build the SQL scripts.

Executing server-side processes

$
0
0

Be aware that you should only do things which won't harm system!

Maybe you know the problem - you have to execute something at OS level and don't have access. Basis team isn't accessible and it's urgent...

With a few tricks, you can help yourself.

Example 1: Manual import of transport requests

Starting situation: You have to import a transport request and don't have proper rights in target system, but are allowed to call transaction SM69.

First, you need to find out where the transport profile is located - usually in /usr/sap/trans/bin. AL11 or RZ10 might help.

Next step is to check if there is a command in SM69 defined, if not, create one:

SM69_1.jpg

SM69_2.jpg

After that, you may run it. First add your transport to buffer:

SM69_3jpg.jpg

The syntax is (write in field Additional parameters):


tp pf=<transport profile> addtobuffer <transport request> <SID> client=<target client>

After that, you can import it:

 

SM69_4.jpg

Just change "addtobuffer" to "import" - you may even add unconditional modes with the U flag, refer to tp Options - Software Logistics - SAP Library

Example 2: Exporting table contents

Starting situation: You need to export complete table contents with R3trans in order to import everything in a target system. First of all, you need to define your export file. Create a new file with thetext editor of your choice (mind to use proper line ending):

export
file = '/tmp/export.txt'
delete from <table>
select * from <table>

The delete statement is not executed when you export the table, only at import. Uploading this file can be done with transaction CG3Z:

 

r3trans_1.jpg

After upload, just call R3trans using SM69 with these parameters:

R3trans -w /tmp/output.txt /tmp/export/controlfile.txt

When the export is done, you can use CG3Y to download the file. Upload it and import it in the target system with:

R3trans -w /tmp/output2.txt -i /tmp/export.txt

Easing the pain in TMS - using transport of copies

$
0
0

Maybe you know the problem - QA queue is full of old requests, nobody knows which one is relevant (sometimes the programmer isn't even working for your company any more). The answer is transport of copies! This way, you can test your programs in qa system without filling the qa queue with requests - when your program is working, you release the original request and import it in production.

Educating programmers is the next step. But how about automation? SAP delivers BAdI CTS_REQUEST_CHECK with method CHECK_BEFORE_RELEASE - just implement it and you can do various checks before releasing requests. First you have to check the transport type - just use a case condition:

CASE type.       WHEN 'K' OR 'W'.

This way, only workbench and customizing requests are taken in account - the BAdI ignores everything else including tasks.

Creating transport of copies

First, you need a popup to decide whether changes are final:

 

CALL FUNCTION 'POPUP_TO_CONFIRM'            EXPORTING              titlebar       = 'Final?'              text_question  = 'Are your developments final?'              text_button_1  = 'Final'(001)              text_button_2  = 'ToC'(002)            IMPORTING              answer         = lv_answer            EXCEPTIONS              text_not_found = 1              OTHERS         = 2.

To create a new request, you can use FM TR_INSERT_REQUEST_WITH_TASKS:


CALL FUNCTION 'TR_INSERT_REQUEST_WITH_TASKS'                EXPORTING                  iv_type           = 'T'                  iv_text           = lv_new_text                  iv_owner          = owner                  iv_target         = tarsystem                IMPORTING                  es_request_header = lv_request_header                  et_task_headers   = lv_task_headers                EXCEPTIONS                  insert_failed     = 1                  enqueue_failed    = 2                  OTHERS            = 3.

T stands for transport of copies, I create a new description with "[TvK]<old text>" to see which transport was created by BAdI. owner andtarsystem is taken from original request. Next step is to copy all objects:


CALL FUNCTION 'TR_COPY_COMM'                  EXPORTING                    wi_dialog                = abap_false                    wi_trkorr_from           = request                    wi_trkorr_to             = lv_request_header-trkorr                    wi_without_documentation = abap_false                  EXCEPTIONS                    db_access_error          = 1                    trkorr_from_not_exist    = 2                    trkorr_to_is_repair      = 3                    trkorr_to_locked         = 4                    trkorr_to_not_exist      = 5                    trkorr_to_released       = 6                    user_not_owner           = 7                    no_authorization         = 8                    wrong_client             = 9                    wrong_category           = 10                    object_not_patchable     = 11                    OTHERS                   = 12.

TR_COPY_COMM copies all objects in background.


Releasing and importing the created transport


Next step is to release your request, ignoring object locks:


CALL FUNCTION 'TRINT_RELEASE_REQUEST'                    EXPORTING                      iv_trkorr                   = lv_request_header-trkorr                      iv_dialog                   = ' '                      iv_without_locking          = 'X'                    IMPORTING                      es_request                  = lv_request                      et_deleted_tasks            = lt_deleted_tasks                       et_messages                 = lt_messages                    EXCEPTIONS                      cts_initialization_failure  = 1                      enqueue_failed              = 2                      no_authorization            = 3                      invalid_request             = 4                      request_already_released    = 5                      repeat_too_early            = 6                      object_lock_error           = 7                      object_check_error          = 8                      docu_missing                = 9                      db_access_error             = 10                      action_aborted_by_user      = 11                      export_failed               = 12                      execute_objects_check       = 13                      release_in_bg_mode          = 14                      release_in_bg_mode_w_objchk = 15                      error_in_export_methods     = 16                      object_lang_error           = 17                      OTHERS                      = 18.

Other standard FMs don't ignore object locks, so you need TRINT_RELEASE_REQUEST with the option iv_without_locking. Since adding to the target buffer can take some time, I advise to do a loop:


DO 5 TIMES.                      CALL FUNCTION 'TRINT_GET_LOG_OVERVIEW'                        EXPORTING                          iv_request                = lv_request_header-trkorr                          iv_with_transport_targets = 'X'                        IMPORTING                          et_log_overview           = lt_log_overview.                      lv_check = 0.                      LOOP AT lt_log_overview INTO wa_log_overview WHERE sysnam = '<sys>' AND rc = 'W'.                      ENDLOOP.                      IF sy-subrc = 0.                        lv_check = 1.                      ENDIF.                      IF lv_check = 1.                        EXIT.                      ENDIF.                      WAIT UP TO 1 SECONDS.                    ENDDO.

When everything is fine, you can import the created request:


CALL FUNCTION 'TMS_MGR_IMPORT_TR_REQUEST'                        EXPORTING                          iv_system                  = '<target SYSID>'                          iv_request                 = lv_request_header-trkorr                          iv_ignore_cvers            = 'X'                          iv_monitor                 = ' '                          iv_verbose                 = ' '                        IMPORTING                          ev_tp_ret_code             = lv_trretcode                          es_exception               = wa_exception                        EXCEPTIONS                          read_config_failed         = 1                          table_of_requests_is_empty = 2                          OTHERS                     = 3.
Viewing all 1967 articles
Browse latest View live