Dear All,
I am trying record HUP1 transaction but not able to get HU number in recording.
Even I tried BAPI_HU_CREATE for creating HU number and this BAPI creates HU number but when I saved HUP1
the system genrate one more HU number (new HU number).
Please Suggest me the any solution for HUP1 recording.
Hu Number creation is done in background .
Help will be appriciated.
Thanks and Regards
Steve
Hi Steve,
BAPI_HU_CREATE itself creates HU. You can refer the HU number genrated by this BAPI itself. I hope you are calling bapi as below:
CALL FUNCTION 'BAPI_HU_CREATE' EXPORTING HEADERPROPOSAL = L_WA_HU_HEAD IMPORTING HUHEADER = L_WA_HU_HEADER HUKEY = L_V_HU_NUMBER TABLES ITEMSPROPOSAL = L_I_HU_ITEM RETURN = I_HU_RETURN HUITEM = L_I_CREATE_HU.
Here, L_V_HU_NUMBER is the HU generated.
Thanks,
Archana
Edited by: Archana Pawar on Sep 29, 2010 7:47 AM
Add a comment