Our requirement: Generally we don’t get the option to put the rejection reason in vf11.

Solution: Enhancement in Report LV60AU01  in ( ENHANCEMENT-POINT rv_invoice_create_04 SPOTS es_saplv60a )

Create Z implementation for the above Enhancement

Now for getting a pop up in VF11 use a FM UR_CF_POPUP_TEXT_INPUT

For updating values in the VF11 Header text use FM SAVE_TEXT

Values for header will be

HEADERTDOBJECT = ‘VBBK’.
 
HEADERTDNAME   = ‘NRLEVEL’ ” Value for the current canceled document num,
 
HEADERTDID     = ‘0002’. ” Value for TDID,
 
HEADERTDSPRAS  = ‘E’.

To get the current document number use below code.


If you do not have Header text for canceled document you need to maintain it from VOXTN t-code.

After all the changes run VF11.

It will give you pop up like below


And after saving the document we can check the value in VF03 Header text.

It will show like this



Regards,

Bhupesh Chandola

New NetWeaver Information at SAP.com

Very Helpfull

User Rating: Be the first one !