on 02-15-2007 10:28 PM
Hi,
I need update notes for approval(long text) on some conditions i get from approval badi.
I have used BBP_PD_SC_UPDATE and BBP_PD_SC_SAVE it is giving uncaught exception.If any body knows the solution please let me know.
regards,
sobhan
Hi Sobhan,
Please call FM BBP_PD_SC_GETDETAIL in the BADI which you are using.
Internal Table E_LONGTEXT contains the value for note for approval.
TDLINE -> Note for Approval.
TDID -> NOTM
You will get Object ID field in Approval BADI.
I hope you are using BADI BBP_WFL_APPROV_BADI for approval.
regards,nishant
please reward if this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the commitment update (BBP_PD_COMMITMENT_POST) is made when PO is saved & changed in BBP_PROCDOC_SAVE.
The same logic could apply for your SC.
regards,nishant
Try this,I hope this will work.Just Add FM 'BBP_PD_SC_RESET_BUFFER' after code .
<b>Pseudo Code</b>
CALL FUNCTION 'BBP_PD_SC_SAVE'
EXPORTING
iv_header_guid = <wa_sc_items>-header
iv_keep_old_changer = gc_yes.
<b>CALL FUNCTION 'BBP_PD_SC_RESET_BUFFER'.</b>
This should solve issue.
Incase you are not clear ,SEE CODING in FM BBP_PD_SC_STATUS_CHANGE_WF,It will solve your issues.
regards,Nishant
<b>Please reward points if this helps</b>
null
Whenever you are using some SAP given FM ,do use and where used list and see how they have implemented that as it always helps.
I did that for above FM & found that content mentioned above.
BBP_PD_SC_UPDATE
and BBP_PD_SC_SAVE
If you do it for above mentioned FM,it will give you very good leads.
regards,nishant
please reward if this helps
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.