‎2018 Aug 23 11:00 PM
HI, Is posible any sample code for use the call function in Include for User-Exit.
1) INCLUDE ZXRSAU01.
2) CASE I_DATASOURCE.
WHEN '2LIS_13_VDITM'.
CALL FUNCTION 'Z2LIS_13_VDITM' ?
Sample code please how define parameters.
3) FUNCTION Z2LIS_13_VDITM
CODE SAMPLE PLEASE FOR RETURN TO POINT 2.
‎2018 Aug 24 7:02 AM
‎2018 Aug 24 10:29 PM
Rather confused by this question... "Code sample" to define FM parameters? This is done on a screen in SE37, not by coding.
"Code sample... for return" Um... There is no "GOTO" command in ABAP. You'd have to call this is in a loop or a cycle, I guess. Although it's not clear what this algorithm is trying to achieve.
There are plenty of samples in ABAP Help. F1 key or ABAPDOCU transaction. Or just Google "ABAP keyword documentation".
‎2018 Aug 28 2:21 PM
I can only assume that those parameters are a subset of those received by the exit FM (EXIT_SAPLRSAP_001, did you perform a where-used search, are there already some called FM) at least changed table parameter C_T_DATA should be used, before of after maping to actual datasource structure.
It looks like some 'local' rule to modularize this exit development, one FM per datasource, alas not a class/method?