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

Former Member
0 Likes
613

I am creating Business partners using LSMW (BAPI), For one of the field depending upon the source field data i want to search in transaction table(table in SAP) and depending upup the search i want to put the value in target field, so can i get the transaction table data in internal table which will be global ... i mean the internal table will be filled initially, how to do this?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
584

In LSMW, double click on "Maintain Field Mapping and Conversion Rules" radiobutton. Once inside, in the menu "Extras-->Layout", select the checkboxes for "Global Data Definitions" and "Processing Time Periods", if they are not already selected.

Double click on "__GLOBAL_DATA__" and define your internal table there.

Double click on " __BEGIN_OF_PROCESSING__" and load your internal table there.

In the field mapping, double click on the target field and write the code for reading the internal table and moving the value.

I am creating Business partners using LSMW (BAPI), For one of the field depending upon the source field data i want to search in transaction table(table in SAP) and depending upup the search i want to put the value in target field, so can i get the transaction table data in internal table which will be global ... i mean the internal table will be filled initially, how to do this?

Thanks

4 REPLIES 4
Read only

Former Member
0 Likes
584

Hi,

You can write code in the step

"Maintain field mapping and conversion rules"

Thanks,

Naren

Read only

Former Member
0 Likes
585

In LSMW, double click on "Maintain Field Mapping and Conversion Rules" radiobutton. Once inside, in the menu "Extras-->Layout", select the checkboxes for "Global Data Definitions" and "Processing Time Periods", if they are not already selected.

Double click on "__GLOBAL_DATA__" and define your internal table there.

Double click on " __BEGIN_OF_PROCESSING__" and load your internal table there.

In the field mapping, double click on the target field and write the code for reading the internal table and moving the value.

Read only

Former Member
0 Likes
584

Hi,

Check the following link:

http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html

Regards,

Bhaskar

Read only

Former Member
0 Likes
584

HI,

You can code in Mapping and conversions. Same question was posted yesterday you can check it.