on 06-19-2012 4:29 AM
Hi All,
We are getting dump "Raise Exception" in program "SAPLBBP_attr_pdorg" when user trying to approve the SC in SRM7. I cross checked the user details all is set fine only .
In the program LBBP_ATTR_PDORGF01 code we are getting the dump as "object_id_not_found" , Do any one have idea on this.
* User-ID
IF NOT lv_user IS INITIAL.
IF cl_bbp_es_enterprise=>is_professional_by_username( lv_user ) NE 'X'.
RAISE object_id_not_found.
ENDIF.
IF NOT cl_bbp_es_enterprise=>is_contact_person_by_username( lv_user ) EQ 'X'.
ev_object-otype = user_object_type.
ev_object-objid = lv_user.
ELSE.
TRY.
lo_contact_person = cl_bbp_es_enterprise=>get_contact_person_by_username( lv_user ).
lv_vendor_guid = lo_contact_person->get_represented_company_id( ).
CALL FUNCTION 'BUPA_NUMBERS_GET'
EXPORTING
iv_partner_guid = lv_vendor_guid
IMPORTING
ev_partner = lv_vendor_id.
IF NOT lv_vendor_id IS INITIAL.
ev_object-otype = partner_object_type.
ev_object-objid = lv_vendor_id.
ENDIF.
CATCH cx_bbp_es_internal_error cx_bbp_es_not_found cx_bbp_es_not_a_contact_person. "Getting exception here
RAISE object_id_not_found.
ENDTRY.
ENDIF.
Hi Channa,
Have you check consistency of the approver using BBP_BP_OM_INTEGRATE.Was it fine?
Thanks and Regards,
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Channu,
As Shiva Mentioned please check Approver User Consistency is accurate or not. If that shows all green then please verify the Shopping cart which approver is trying to approve have all the partners (i.e. Requester, Goods Recipient, Location, Ship-to-Address etc have proper Business Partner. You can check this by going into BBP_PD and then selecting the cart. Once you click on any of the partner lets say Requester then get the PARTNER NO from there and execute the Function module BUPA_NUMBERS_GET after which you are getting dump with each one and see if the results are returning with BP Number.
I assume you may have Preferred Vendor or Vendor as Partner function for this Cart. That may not be properly integrated as the FM BUPA_NUMBERS_GET also checks that as well.
Hope this helps.
Thank you
Ritesh
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.