‎2010 May 17 11:04 PM
Hi Gurus,
I have used the TR_REQUEST_CHOICE function module in a custom program to add custom table entries that need to be transported. The only issue is that the transportable objects are being added to the transport instead of the task. I would like to add to the task.
Thanks,
‎2010 May 18 12:27 AM
Hi,
Provide the code to resolve the issue.
Or
otherwise check the Program RSTRANSPROJECT.
Edited by: subas Bose on May 18, 2010 1:27 AM
‎2010 May 18 12:27 AM
Hi,
Provide the code to resolve the issue.
Or
otherwise check the Program RSTRANSPROJECT.
Edited by: subas Bose on May 18, 2010 1:27 AM
‎2010 May 18 4:06 AM
Hi Subas,
Thanks for the reply , here is my code:
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
Edited by: Rob Burbank on May 18, 2010 5:00 PM
‎2010 May 18 4:35 AM
You have to use the FM
TR_INSERT_REQUEST_WITH_TASKSto insert entries under task
Edited by: Naresh Nelapatla on May 18, 2010 5:50 AM
Edited by: Naresh Nelapatla on May 18, 2010 5:51 AM
‎2010 May 18 5:47 AM
Hi Krish ,
You can use the same FM 'TR_REQUEST_CHOICE' for this purpose.
If you have text table for your Z table you have to maintain them in ITAB IT_E071K. But actual table entries has to be passed through Export table parameter IT_E071.
Guess the request type you are passing for parameter iv_request_types is also wrong. It should be 'T'.
you can refer the FM 'KCD_SENDERSTRUCTURE_TRANSPORT' which is used to add the Currency translation type and its text to Trasport requests task.
Please refer the below links as well.
Link: [http://www.saptechies.com/copying-table-entries-from-client-000/]
Edited by: Prasath Arivazhagan on May 18, 2010 7:02 AM
‎2010 May 18 2:49 PM
Hi gurus,
i have been playing around with these function modules: TR_INSERT_REQUEST_WITH_TASKS, TR_OBJECTS_INSERT,KCD_SENDERSTRUCTURE_TRANSPORT, TRINT_MODIFY_COMM and ofcourse TR_REQUEST_CHOICE to get my objects into a task rather than just into the transport but with no luck.
Some how if the object gets inserted with the TR_REQUEST_CHOICE, it never seems to get to the task. I have tried with passing 'T' also as suggested in the last reply to the iv_request_types parameter but that too is not working. I also get a out of sequence message sometimes when using a combination of these FMs. I would like to know if I am missing anything or if there is a specific sequence that I must follow.
Thanks,
‎2010 May 18 9:46 PM
For this FM
TR_APPEND_TO_COMM_OBJS_KEYS,Pass the WI_TRKORR value as ur Task number
And rest you have to give exact key field values to that WT_E071K table.
Then it def works
‎2010 May 18 10:55 PM
Hi Naresh,
thank you for providing this FM, this works, I have tested it and also thanks to all who took interest.
‎2011 Mar 08 2:31 PM
Hi Krish,
I have same requirement. I have a Z table and using a custom program records are getting updated in this.
I need to add these entries to a request->task using the program. Please share the code.