on 09-29-2009 5:35 AM
Hi,
Is there any way to check in badi BBP_DOC_CHECK whether the approver selects the approve or reject radio button in the shopping cart? If this badi could not be used, is there any way to identify the approver selection?
regards,
Wilson
Hi Wilson,
You can determine if the user select the reject or approve radio button using the method ONACTIONBUTTON_PRESSED in webdynpro FPM_OIF_COMPONENT.
Regards,
saixis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In which version of SRM you are? In case of SRM 7.0 you can get from class methods, but if it is 5.0 or less you might have to get from dynpro screen fields.
Rgds,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
BBP_DOC_CHECK badi is to check the SC while creating it.
For checking the approver approved/rejected SC, you can check it in workflow. Kindly check with your workflow consultant.
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I need to check the status of the shopping cart whether its approved or rejected. There will be some validations to be built before allowing further processing. Therefore, i need to check that before allowing the shopping cart to be submitted. If i have to check it at the workflow stage, it will be too late. Is there any local/global variable that is assigned to the approve/reject status.
Thanks
Hello Wilson,
You might have to test/play around a bit.
One way to find out, if an item is rejected you could check in table BBP_PDIGP the value for REJECT_WI is filled. If yes, the item was rejected.
Depending on your setup you could check, if there is a follow-on document created (entry in table BBP_PDBEI). In our case (extended classic) once a SC is approved a follow-on document exists.
You also could check the status in the header part of the SC. If table CRM_JEST contains record with status I1129 then the SC is approved.
Hope above helps a little bit.
Franz
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.