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 RECORDING PROBLEM

Former Member
0 Likes
613

Hi,

For the VELOS transaction there are 2 screens.

300 and 350.

when iam executing first time it shows 300 and 350 screen.

In the second time only 350 screen it will show .

How i can handle in recording for both sutiation.

rgrds,

vijay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
567

using VELOS tcode just your updating the table, you can directly update this table VLCFINDCNTRL using LOCK the table and do it.

2 REPLIES 2
Read only

MarcinPciak
Active Contributor
0 Likes
567

Hi Vijay,

You have to create two separate recordings. One would be the case where you have both screens, the other one would be only for 300 screen processed.

Then for your LSMW in Maintain Object Attributes and put these two recordings.

In Maintain Structure Relations as a result you will have one source strucutre but two relation sources (reference to two recordings which you have to map from your source strucutre).

Now in Maintain Field Mapping and Conversion Rules from standard menu choose Extras>Layout and select all checkboxes. Map all tthe fields between these structures.

Now you have to distinguish these recordings. i.e. when some parameters are set to specific values in VELOS you process first recording (with both screen) and if other parameters are set (up to you which ones) - second recording is to be used.

Put in End_of_record event (which will be shown now at the bottom of each strucutre) this condition i.e


check SRC_STRUCT1-awart = '3310'.   "SRC_STRUCT is your source structure and AWART is a parameter you use to distingish recordings
transfer_record.  "if above condition is meet process this recoding

Do same thing for second recording but put there different condition.

This will work.

Regards

Marcin

Read only

Former Member
0 Likes
568

using VELOS tcode just your updating the table, you can directly update this table VLCFINDCNTRL using LOCK the table and do it.