2007 Feb 16 1:13 PM
Hi,
another problem appeared while generating my Production Order IDOCs.
If I start the programm RCCLORD with my selection parameters or a variant, it generates exactly the IDOCs I want.
But I wanna use the report within an other. so I decided to call it via :
SUBMIT rcclord WITH SELECTION-TABLE rspar AND RETURN.
The parameter table rspar is filled like I fill the Selection screen.
But, in this case no IDOCs were generated.
Does anybody know a solution ?
Thank you in Advance
2007 Feb 16 1:18 PM
Hi Michael,
It might be a try but can you execute an explicit COMMIT WORK after you return from thr program.
Regards,
aditya
2007 Feb 16 1:44 PM
Hi,
i found out, that in RCCLORD the table ioheader isn't filled, if i call the Report from my own programm...
Has somebody an idea ?
Thanks
2007 Feb 16 2:04 PM
Hi Michael,
The report RCCLORD, has the LDB IOC attached to it...
so i am thinking when you are doing a submit report, some kind of initialization might be missed out....(i am guessing)...
anyways...put breakpoints in the program 'SAPDBIOC' ...in form init and form pbo and see if it gets executed in both cases...when calling report directly from SE38 and when submitting from your program...
Thanks.
2007 Feb 16 2:06 PM
Also i did a where used list for the report RCCLORD and saw that it submitted from FM - CLOI_DOWNLOAD_TRIGGER_TRANS.
please check the usage there..
Thanks.