2013 Jul 12 5:02 PM
Hello.
i need to call a prompt for customizing request dynamically
from an ABAP program and not directly from SM30.
does anyone know what the f.m. for using this action?
Ronen
2013 Jul 12 7:28 PM
Look at these two functions:
CALL FUNCTION 'TR_REQUEST_MODIFY' - creates the transport request
CALL FUNCTION 'TR_APPEND_TO_COMM_OBJS_KEYS' - appends objects to the transport request
2013 Jul 13 3:43 PM
The FM TR_OBJECTS_INSERT gets called when customizing request prompt is shown.
Put a breakpoint in this FM and use SM30 to see what parameters are required.
2013 Jul 13 7:36 PM
Use FM TR_OBJECTS_INSERT to add the objects from the program. Before passing values to this FM, you need to invoke TR_OBJECTS_CHECK function module with table name.
You can also try TRINT_OBJECTS_CHECK_AND_INSERT
Another option is 'TR_REQUEST_CHOICE'.
Check this sample code.
http://wiki.sdn.sap.com/wiki/display/ABAP/Transporting+Table+Entries+in+ABAP+programmatically