04-25-2006 5:58 AM
Hi,
There s a std transaction F.27(RFKORK00) which we need to run to get Customer Statement. in this program, it uses a SUBMIT ( SAP140 ) which in turn uses a submit ( RFKORD11 ). i m using a customised program in place of RFKORD11. in this program i want to use a variable from program RFKORK00(first program)....
didnt find any syntax wherein i can pass any parameter from calling program to called program.
i think Export/Import to/from ABAP memory will work...
need ur inputs..wat r the diff ways we can do this n wat s the optimal method...
all inputs appreciated.
Thanks & Regards,
Bikash
04-25-2006 6:07 AM
HI
GOOD
I CAN GIVE YOU ONE SUGGESTION THAT YOU CAN DO THE CHANGES USING THE USER EXITS.
HERE I AM GIVING THE USER EXITS OF BOTH THE PROGRAMS YOU CHECK OUT WITH THEM.
RFKORK00=>
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
THANKS
MRUTYUN
04-25-2006 6:07 AM
HI
GOOD
I CAN GIVE YOU ONE SUGGESTION THAT YOU CAN DO THE CHANGES USING THE USER EXITS.
HERE I AM GIVING THE USER EXITS OF BOTH THE PROGRAMS YOU CHECK OUT WITH THEM.
RFKORK00=>
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
THANKS
MRUTYUN
04-25-2006 6:14 AM
there should be an export statement followed by submit statemnt in the first program and an import statement in the second program RFKORD11.
1. NOW U R USING A CUSTOMISED PROGRAM IN PLACE OF RFKORD11.
2. u need a variable from rfkork00 , means there should be an export variable , followed by submit ( ur customised program) in the first program, and an import variable statement in ur customised program.
3. but as u cant change rfkorkoo, copy that program into a z program and change submit RFKORD11 to ur customised program.
04-25-2006 8:22 AM
Hi,
Thanks for the answer guys.. But Hymavanthi, in that case i ll have to clone all the 3 std programs that i dont want.. wen i use submit with return, i guess the details for that calling program gets stored somewher in memory.. if we cud retrieve that somehow..it wud be the best option i feel...
any more inputs???
Thanks & Regards,
Bikash