on 07-17-2007 8:55 AM
Dear All,
I've a requirement wehere i've to process the LSMW in background, the recording is not possible through SHDB as it gives error & exit out.
Please let me know the method where i can execute the LSMW with all internal step in background.
Let me know the steop & procedure to execute the above
Thanxs in advance
Dear Sanjeev,
If you are choosing SESSION method for migrating data using LSMW, in the 13 step you create SESSION, for precessing session you execute 14 th step then it will automatically place cursor in SM35( SESSION) here you follow these steps.
1) select the SESSION which was you created.
2) here you find option for processing SESSION, from that you choose BACKGROUND.
3) it willl display screen with required field, like date, time.
or
The LSMW usually has 3 or 4 steps of execution:
1) Read Data
2) Convert Data
3) Generate a Session / Process the converted file or session (These two are separate steps for a LSMW with BDC session).
If you want to schedule a job:
A) The first two steps need the Files on Application Server. You must use App Server files in the Specify Files and Assign Files steps.
B) The LSMW should preferably not be BDC session based. You will lose the benefit of scheduled processing, as the LSMW and Session will be two separate schedules. Sychronizing these and tracking the Sessions may be difficult.
C) You need to note down the ABAP program names for the three steps and create the relevant variants.
D) Then, schedule the three programs in a single job in that sequence.
or
You can run/schedule program /SAPDMC/SAP_LSMW_INTERFACE for scheduling any LSMW object as a job.
Regards,
Naveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Naveen,
I am going through the 3rd option.I found it fine and perfect for my application.Can you help me how to schedule program /SAPDMC/SAP_LSMW_INTERFACE for scheduling any LSMW object as a job.
To run the entire job in background I thought of making BDC program by making ZLSMW as Tcode for it.But the Batch input folder creation and session process in not being carried out.
Can u please help.Your reply awaited.
Regards
Puja
Hi,
To create a batch input session.
1. Create a variant for program '/SAPDMC/SAP_LSMW_INTERFACE'. Make sure that you check the checkbox 'Create Batch Input Session' under parameters for some Batch Input/Direct Input Programs and provide values for all other relevant fields. Scedule the program '/SAPDMC/SAP_LSMW_INTERFACE' with variant.
or
Create variant for report 'RFBIDE00' and schedule the same with variant for creating Batch Input Session
You will have to process the session from SM35.
Regards,
Naveen.
HI Sanjeev give your mail id.
regards
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.