on 07-25-2014 2:58 PM
Dear Gurus,
Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
Thanks in advance...
Regards,
Sathish
You use Extensions and Field Control (Personalization) spro setting to create field and then dynamically control the field using dynamic class assigning to that customer field.
Thanks
Ankit Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
use WD_BADI enhancement spot.
Implement WD_BADI_DOMODIFY BAdI definition (with correct filter).
Then, inside your BAdI implementation, check context to know if you are in display or change mode.
When being in change, set your check-box CUF using CL_WD_CHECKBOX class interface as a reference.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Laurent,
Thanks for your response,
But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
Kinly guide me how to get the particular node of field in the Purchase order screen.
Thanks you in advance,
Sorry for the inconvenience if any
Regards,
sathish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.