Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

LSMW - Error Capturing

Former Member
0 Likes
573

Hi

1.Using the LSMW interface i want to upload my Purchase order data from the flat file .

And i want to Capture the Error Records which is to be displayed in ALV format ,

Success Records in SAP Script.

Provide me the sample code or links which will guide me to proceed further .

2. Kindly tell in detail with code how to link LSMW with Report Program (SE38).

Regards

Vel.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
476

Hi,

In the 5th step (Maintain field mapping and conversion routines) we can write the code, in this step we will get normal abap editor.

here you can declared the fileds, internal tables and you can call function modules.

You can capture the records into the internaltable then you can populate the same

Thanks

Ramakrishna Pathi

2 REPLIES 2
Read only

Former Member
0 Likes
477

Hi,

In the 5th step (Maintain field mapping and conversion routines) we can write the code, in this step we will get normal abap editor.

here you can declared the fileds, internal tables and you can call function modules.

You can capture the records into the internaltable then you can populate the same

Thanks

Ramakrishna Pathi

Read only

Former Member
0 Likes
476

In this case, some how you will need to capture the SESSION LOG produced by running LSMW BDC seesion.

then display this session in alv or script by separting them in different internal tables .

try debugging in SM35-> display log and try to find if some Function Modules are there which can give you session log against the session name.