Hi Ankit,
please check, if WBS_ELEM isn't empty after line
wa_billingdatain-wbs_elem = wa_vbap-ps_psp_pnr.
Sometimes wbs element can be found in header (VBAK) and sometimes in item (VBAP) depending on customizing settings.
Regards,
Klaus
Hi Ankit,
please check, if WBS_ELEM isn't empty after line
wa_billingdatain-wbs_elem = wa_vbap-ps_psp_pnr.
Sometimes wbs element can be found in header (VBAK) and sometimes in item (VBAP) depending on customizing settings.
Regards,
Klaus