on 2018 Jan 04 10:08 PM
Hello,
I have a requirement that the moment user hits the SAVE button on ME51N/ME52N screen (Purchase requisition - Doc type is my_PR) process, I need to throw a popup, wherein 2 input enabled fields will be there for user input.
Once user enters the data on popup & click OK then, I need to save it to a custom table
Pl. let us know how can achieve this? Where I need to put my code for to call a custom popup (I guess, I need to create a new screen for popup in SE51 and call it on SAVE hitting) thank you
Request clarification before answering.
You can of course define a popup-type dynpro (modal dialog box) but the classic BAdI ME_PROCESS_REQ_CUST might (will) disallow such call in POST method during the commit processing (as dynpro interaction will trigger some implicit dB commit) so you should execute the pop-up in the overall CHECK method (always executed before SAVE) and save the data in the POST method or perform on commit (using a call function in update task)
But is not this pop-up a solution and not a requirement? Could you consider to add those fields in the transaction customer subscreen (e.g. with Enhancement MEREQ001) and save those in POST method
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
12 | |
10 | |
5 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.