Skip to Content
Author's profile photo Bhupesh Chandola

To Add Rejection Reason in VF11

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 )

/wp-content/uploads/2016/05/1_943549.png

Create Z implementation for the above Enhancement

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

/wp-content/uploads/2016/05/2_943580.png

For updating values in the VF11 Header text use FM SAVE_TEXT

/wp-content/uploads/2016/05/3_943581.png

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.

/wp-content/uploads/2016/05/4_943587.png

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

/wp-content/uploads/2016/05/5_943586.png
And after saving the document we can check the value in VF03 Header text.

/wp-content/uploads/2016/05/6_943585.png

It will show like this

/wp-content/uploads/2016/05/7_943582.png


Regards,

Bhupesh Chandola

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.