Hi All,
I am creating T-lane using the BAPi 'BAPI_TRLSRVAPS_SAVEMULTI' using this able to create the T-lane.
My problem i need to add resource name and resource id for the T-lane.
I took the existing Resource name and passed the value to table RES_HEAD to get RESUID and same is passed the value to BAPI. Also converted using 32 char guid for resuid its creating T-lane but resouce name is not updated.
wa_meantrns-RESUID = wa_reshead-RESUID. ( Even convert to 32 Char still not working).
WA_MEANTRNS-ReSOURCE = wa_reshead-Name.
wa_meantrnsX-RESUID = 'X'.
WA_MEANTRNSX-ReSOURCE = 'X'.
Will you know any other things or changes need to be added.
I am using the exisitng resource name and when manually added to T-lane the resource name is getting added.
Your answers really appreciated.