on 10-30-2006 3:06 PM
i AM TRYING TO USE THE fm IN MY CODE BUT AND ALL THE EXAMPLES SHOW IT LIKE BELOW BUT WHEN i LOOK AT THE FM IN SE37 THE EXPORT AND INPORT SEEM FLIPPED. cAN SOMEBODY EXPALING
CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
EXPORTING
date = p_paydate "Starting date
factory_calendar_id = 'GB'
IMPORTING
factorydate = gd_factorydat. "Factory calender date
Hi LMM,
Quite simple actually...
When looking into your calling code (with code CALL FUCNTION ...)
the exporting params are passed from the calling program from to the function module. The calling program then imports the result from the function module.
Now when you go look into SE37 FM maintenance, the receiving code (with code FUNCTION ...)
the importing params are the ones it receives from the calling program and it subsequently exports the result back to this calling program.
Importing and exporting are switched because of switched viewpoints, one from calling end , one from receiving end.
Hope I was clear.
Please assign points if usefull.
Best regards,
Olav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.