on 03-26-2007 8:50 PM
Hi Friends,
I have requirement to create auto GR.
I have PO no with me and I am using
BBP_PD_CONF_CREATE
BBP_PD_CONF_UPDATE
BBP_PD_CONF_SAVE
Function modules to confirm PO. But while debugging BBP_PD_CONF_UPDATE
I am getting error messages
1. <b>Workflow approval not found, contact system administrator</b>
2. <b>Confirmation for PO not allowed</b>.
Can you please tell me solution and is there any specific parameters to pass function modules.
My code is
CREATE PO CONFIRMATION *********
CALL FUNCTION 'BBP_PD_CONF_CREATE'
EXPORTING
i_ref_guid = vf_doc_guid
i_save = 'X'
IMPORTING
e_header = wf_header
TABLES
i_item = if_item
i_partner = if_partner
i_orgdata = if_orgdata
I_TAX =
I_PRIDOC =
e_item = ef_item
E_ACCOUNT =
E_PARTNER =
E_LONGTEXT =
E_ORGDATA =
e_messages = if_messages.
MOVE-CORRESPONDING wf_header TO wf_header1.
CHECK NOT wf_header1 IS INITIAL.
CALL FUNCTION 'BBP_PD_CONF_UPDATE'
EXPORTING
I_PARK =
i_save = 'X'
IV_REJECT =
i_header = wf_header1
IT_ATTACH =
IV_MSG_SCENARIO =
IMPORTING
e_changed = v_change
TABLES
i_item = if_item1
I_ACCOUNT =
I_PARTNER =
I_LONGTEXT =
I_TAX =
I_PRIDOC =
e_messages = if_messages1
I_HCF =
I_ICF =
.
CALL FUNCTION 'BBP_PD_CONF_SAVE'
EXPORTING
IV_WORKITEM_ID =
IV_USERTYPE =
iv_header_guid = wf_header1-guid.
IV_KEEP_OLD_CHANGER =
IV_NEW_CHANGED_BY =
Thanks,
Ramana.
Message was edited by:
VenkataRamanaRao Gorrepati
Hi Venkata,
What is technical scenario in which you are in.
I feel that you are in Classic scenario and that is the reason you are getting this error.Let me know your technical implementation,i should be in position to help you then.
For Technical scenario,you can see
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/technical+scenarios&;
If you have auto creation of GR required in backend system only (R/3) ,you can use available BAPI which is fairly simple to implement.
regards,Nishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishant,
I am working on standalone SRM 5.0. even we have not implemented SUS.
and we don't have R/3 also.
Here Advance shipment notification (ASN) coming from external system.
there is one function module which can collect ASN data form Business Connector and it will store ASN in SRM.once it is stored in SRM, My enhancement should collect that PO and should check ASN qty and PO qty, if it is valid qty then it should confirm PO. this is requirement.
If you need any details let me know.
if somebody gives me solution, that will be helpful for me
Thanks,
Ramana.
Hi Venkata,
I feel that you should look at FM BBP_CF_AUTOMATIC
where it's implementation is given using all the three mentioned FM's.
you should have commit work after BBP_PD_CONF_SAVE FM.
CALL FUNCTION 'BBP_PD_CONF_SAVE'
EXPORTING
iv_usertype = lv_usertype
iv_workitem_id = lv_workitem_id
iv_header_guid = gs_header-guid.
<b>
COMMIT WORK.</b>
Also see if there is any workflow customzing missing in this case.
http://help.sap.com/saphelp_srm30/helpdata/en/8b/ac05387ce5fd3ce10000009b38f8cf/content.htm
http://help.sap.com/saphelp_srm30/helpdata/en/8b/4fa9585db211d2b404006094b92d37/content.htm
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.
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.