Skip to Content
0
Former Member
Jan 03, 2012 at 08:06 AM

Need to change DXVBAK and DXVBAP in EXIT_SAPLVEDA_009

551 Views

Hello Experts,

I want to change the DXVBAK-XBLNR using DXVBAP-PS_PSP_PNR using some data from the DEDIDD (Idoc data).

I am using the below code

move DXVBAK to XVBAK.

loop at dedidd.

case dedidd-segnam.

when 'E1EDK02'.

move dedidd-sdata to wa_E1EDK02.

if wa_E1EDK02-qualf = '011'.

XVBAK-xblnr = wa_E1EDK02-belnr.

endif.

endcase.

endloop.

move XVBAK to DXVBAK.

I am using XVBAK-XBLNR becoz if i use DXVBAK-XBLNR then, I am getting an syntax error.

But after posting the Idoc that VBAK-XBLNR field is still blank even though it was populated in the userexit.

Could anyone help on this. How do we make update to the DXVBAK (optional) structure.

Thanks...in advance..any help would be appreciated.

Gaurav