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

Custom program in LSMW as Standard Batch/Direct input program

Former Member
0 Likes
859

Hi All,

I am working to develop a custom program which i can use in my LSMW as Batch input program (as i think and upto my research there are no Standard BAPI's or Programs for cj92n transaction and recording wont work in our input file structure).In developing custom program i have some concerns like how to make my program to use the file name and file separator which will we provide in LSMW during specify files. Is there any way or material where i can get to create a custome program. I am trying to use BDC batch input in developing the custom program. Or are there any std programs or BAPI's for this issue.

Thanks

3 REPLIES 3
Read only

former_member194669
Active Contributor
0 Likes
597

Ben,

May be try with BAPI

BAPI_PROJECT_MAINTAIN

or make bdc on transaction CJ92 instead of CJ92N.

a®

Read only

0 Likes
597

Thts a gud idea which i had. But my team wants to develop a program(Mostly a BDC one) which will be used in LSMW. The problem is how to capture the file path and separator which we will specify in 'Assign file' step in LSMW to my custom program .

Read only

0 Likes
597

Hi Ben,

I am not clear about your question......

Ok for assigning the file you can prepare the data in notepad file with tab delemitor between the fields.... and you can directly go with the f4 option in the specify file step.... u can browse the file assign it....

But one important thing ben... if it is an enjoy trasaction... most of the enjoy trasactions will not work in background.. that means though u create the session at the last step those will not get process in background mode... so before you start working on that please make sure it will work in the background.