Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
bhupeshchandola
Explorer
2,534

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

HEADER-TDOBJECT = 'VBBK'.
 
HEADER-TDNAME   = 'NRLEVEL' " Value for the current canceled document num,
 
HEADER-TDID     = '0002'. " Value for TDID,
 
HEADER-TDSPRAS  = '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

Labels in this area