‎2010 Nov 03 12:51 PM
Hi,
I am using L_TO_CREATE_POSTING_CHANGE to create TO for one batch.
I want to create one more TO in same program execution for another batch.
So When I try with executing program, first TO has been creating successfully and while in 2nd TO creation the internal table ILQUAU(common data part) is taking data from first batch. so I want to reload the function group during 2nd TO creation
How can I make it?
Thanks,
Basha
‎2010 Nov 03 1:05 PM
the fm internally does the init statements
CALL FUNCTION 'L_SAPLL03A_INIT_INT'.
PERFORM SAPML03T_INIT(SAPML03T).
CALL FUNCTION 'HU_PACKING_REFRESH'.
Sp i think you have not cleared the internal table T_LUBQU for the second run.
Like,
loop
clear i_lubqu[].
call L_TO_CREATE_POSTING_CHANGE
endloop.
‎2010 Nov 03 1:27 PM
Thanks for reply.
As you said, internal table is refreshing but main program table is not populating with new data.
Ie: the main program(SAPML03B) table ILQUAU is inital( not populating with new data) where as subprogram (ML03TF80) internal table ILQUAU is populating with new data.
So I want to populate main programs table also. How can I do?
Thanks,
basha