Application Development 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: 

Using calling program data

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

hymavathi_oruganti
Active Contributor
0 Kudos

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.

0 Kudos

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