‎2007 Mar 23 8:52 AM
Hi All,
we have have a requirment wherein we need to to insert data in a Z table.when the user tries to enter the data the system should check whether any Transport request is already present for the table entry.If it is present it should assign the entry to this Transport req.We are using the FMs TR_OBJECTS_CHECK and TR_OBJECTS_INSERT.we are not able to execute these FMs proerly.what should be the object type that should be given in these FMs?
Thanks,
Rakesh..
‎2007 Mar 23 9:42 AM
Hi,
You can check the same in the Tables E070,E071 and in TADIR.
also try the fun modules:
TMS_MGR_READ_TRANSPORT_REQUEST
TMS_UI_SHOW_TRANSPORT_REQUEST
reward if useful,
regards,
Anji
Message was edited by:
Anji Reddy Vangala
‎2007 Mar 23 10:00 AM
1. Say there is 1 key field in your ztable and ur client is 100
2. Say the value for one entry will be 100ABC , here 100 is client and ABC is the value of ur key field
3. Select * from E071K into wa_e071k where PGMID eq 'R3TR' and OBJECT eq 'TABU' and OBJNAME eq 'ZTABLE' and MASTERTYPE eq 'TABU' and MASTERNAME eq 'ZTABLE' and TABKEY eq '100ABC'.
if wa_e071k-TRKORR is initial.
*NO TRANSPORT IS ASSIGNED
else.
v_TRKORR = wa_e071k-TRKORR-TRKORR.
endif.