Skip to Content
0
Former Member
Mar 26, 2009 at 05:50 AM

BADI to set the billing block in sales order

249 Views

Hi Friends,

I am trying to set the billing block at the item level while creating or changing the sales order if the selling price of the item is below the cost price. I have implemented the following code in the BADI BADI_SD_SALES. Even I tried the same code in the user exit include MV45AFZZ. It is not working in both the cases. what could be the issue. please advice.

FIELD-SYMBOLS : <fs_vbap> TYPE vbapvb.

LOOP AT xvbap ASSIGNING <fs_vbap>.

<fs_vbap>-faksp = '01'.

ENDIF.