Developed custom program to create dynamic code generation for tables maintained via SM30. Program which is tagged to XPRA object has 2 selections ( defaullt to pick up the transport number with XPRA object its attached and run the dynamic logic written inside the program).
The transport is imported successfully into target system and also shows the XPRA program executed, but the logic inside the program was not generated.
Whereas when the program is executed manually in the target system, it pickups the transport and generates the code written with dynamic logic.
I couldn't find any proper answer in SDN, it would be really helpful if someone able to answer the query.
Thanks for your reply.
I tried without selection and also developed sample program just with instert statement in program and imported, that also not working and included XPRA objects with my transport.
It looks XPRA itself not working in my case while importing.Is there is any special statement required in logic to call XPRA objects while importing.
Program associated with XPRA gets executed by the the FM TRINT_CALL_XPRA. If you wish to debug, it would be a good starting point.
When XPRA gets executed it also writes in the log entry on the TR.
Go to your TR's transport Log
Within your system subtree, you would find the node with Method Execution. Check the log for this step
Expand all steps.
You should here see your program name execution log:
Report RV80HGEN started: 2011111111111
All routines have been successfully activated
Report RV80HGEN ended: 2011111111112
Edited by: Naimesh Patel on Jan 3, 2012 11:00 AM
I tried simple below insert statement inside program logic and added as XPRA object. It doesn't work.
Table1-Field1 = value1.
Table1-Field2 = value2.
IF sy-subrc EQ 0.
R3TR XPRA Test1.