11-28-2005 3:45 PM
Hi experts,
I am doing BDC for IW31 tcode.
now i want to set the user status to each Operation.
i know that we can use status_change_extern.
Please tell me what is the object number to pass.
how can i find the object number in this case.
Please help me.
11-28-2005 5:24 PM
If you are using BDC to create a maintenance Order,then you can simulate the user input on the screen to put an user status on order. In that case you don't need to know object number and also the object number will not be available at that time because order is not created yet.
You can use the function module status_change_extern only after the BDC is complete and order is posted. In this case, you have to determine the order number of newly created order ( from message table of call transaction) and then read table AUFK to get the AUFK-OBJNR.
11-28-2005 3:47 PM
11-28-2005 3:48 PM
11-28-2005 5:24 PM
If you are using BDC to create a maintenance Order,then you can simulate the user input on the screen to put an user status on order. In that case you don't need to know object number and also the object number will not be available at that time because order is not created yet.
You can use the function module status_change_extern only after the BDC is complete and order is posted. In this case, you have to determine the order number of newly created order ( from message table of call transaction) and then read table AUFK to get the AUFK-OBJNR.