cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Add custom fields in VA05 output

Mahesh1
Explorer
0 Likes
2,556

Hi all,

I need to add field 'OPEN_QTY' in VA05 output.

To do this I will add this field in 'VBMTVZ' structure  and will update 'V05TZZMO' include.

Could you please let me know where to add below processing logic to fetch data for 'OPEN_QTY'. 

Take sales document number from standard report(VA05) and pass in VBFA - VBELV table, and take VBFA – VBELN/ VBFA-POSNV. Pass that Document number/line item in table LIPS- VBELN and get delivery Qty  LIPS – ORMNG. Now  ( open qty equals ( Order qty – delivery qty.))  check this for all line item.

How to select sales document number from VA05 output to pass it to VBFA-VBELV.

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes

Hello @Mahesh1 

You need to use the BADI_SDOC_WRAPPER enhancement to add custom fields to SD optimized reports, e.g. VA05.

See the following notes on the BAdI details and how to implement it:

Best regards

Dominik Tylczynski