on 2012 Feb 13 4:48 PM
Hello all I am working with SRM 7.0 and when I create a shopping cart, apperas as approval but doesn´t create follow on documents. I checked RZ20 and ST22 transactions and don´t appear any error.
I tried to retransmit SC using several functions and nothing occurs.
When I run BBP_PD_PO_CREATE function, system throws error message: Buffer table not up to date.
I am in a extended classic scenary. Can you help me please?
Thanks in advance
Rosa Rodríguez
Request clarification before answering.
Hi Rosa,
Do you use a customzing program including FM BBP_PD_PO_CREATE?
You must pay attendtion to the header's guid and items' guid.
The error of buffer table often raise when guid conflict!
Please refer to the follow sample code.
Good luck!
Header Guid:
**Header
lv_guid = '1'.
lv_header-guid = lv_guid .
Item Guid:
*--->Item Data
IF item_guid = ''.
item_guid = lv_guid.
ENDIF.
item_guid = item_guid + 1.
lv_e_item-guid = item_guid.
lv_e_item-parent = lv_guid.
lv_e_item-number_int = lv_item_num .
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = lv_e_item-number_int
IMPORTING
output = lv_e_item-number_int.
lv_e_item-z000ser_des = ls_item_show-ser_des.
lv_e_item-category_id = ls_item_show-category_id.
lv_e_item-quantity = ls_item_show-quantity.
lv_e_item-price = ls_item_show-price.
lv_e_item-price_unit = ls_item_show-price_unit.
lv_e_item-gross_price = ls_item_show-price.
lv_e_item-deliv_date = ls_item_show-deliv_date.
lv_e_item-vper_start = ls_item_show-deliv_date.
lv_e_item-vper_end = '99991231'.
* lv_e_item-be_plant = ls_sc_item-be_plant.
* lv_e_item-be_stge_loc = ls_sc_item-be_stge_loc.
lv_e_item-be_log_system = l_destination.
IF NOT ls_item_show-guid IS INITIAL.
lv_e_item-src_guid = ls_item_show-guid.
lv_e_item-src_object_type = 'BUS2121001'.
ENDIF.
****---->Modify By Lorry for different werks 20110115
READ TABLE lt_partner INTO ls_partner WITH KEY partner_fct = '00000075'.
IF sy-subrc = 0 AND ls_partner-del_ind = '' AND ls_partner-partner_id IS NOT INITIAL.
lv_e_partner-partner_guid = lv_guid + 2.
lv_e_partner-p_guid = lv_e_item-guid.
lv_e_partner-partner_fct = '00000075'.
lv_e_partner-partner_id = ls_partner-partner_id .
APPEND lv_e_partner TO lt_e_partner.
ENDIF.
****<----Modify By Lorry for different werks 20110115
APPEND lv_e_item TO lt_e_item.
CLEAR: lv_e_item,lv_pro_guid.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Rosa,
If I understand clearly, you are running Extended Classic scenario, so your SC should create a PO locally in SRM first, and once completed and issued, the PO should be replicated in your ECC system.
As mentioned in a previous reply, you should debug BBP_REQREQ_TRANSFER FM to see what happens.
Your message "Buffer table not up to date" is quite general and it can be caused either by a Database issue (ask you admin to check tablespaces), or from a mistake in the customizing.
Some questions can help:
-Were you able to get a PO created locally in SRM before ?
-Do you get the error for all SC or only for some of them ?
-How did you configure the Ext. Classic scenario (checkbox, BADI,...) ?
-Did you check the Document type and numbering is the same in ECC and SRM ?
Regards.
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Rosa Rodriguez
if i understand you, you have a SC into a workflow. when you check in BBP_PD in status to workflow, you have WORKFLOW, Waiting for aprobal, this mean that you SC need to be aproved. after to resolved this issue, you will have a follow on document.
regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rosa,
Since you are on extended classic scenario,there are two ways a local PO cna be created:
1.Manually from sourcing cockpit
2.Automatically if the fixed vendor is assigned
Do you have sourcing configured in your system?
Also what is tehe item status for the shopping cart in Portal transaction CHECK STATUS(Shopping cart POWL)?
Please check your tRFC queue using transaction SM58 and manually push them so that tables are cleared. Also if not needed delete the entries.
Please let us know if it works.
Prashanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rosa,
depending on SC status, check OSS notes below:
[755769 - Status I1113, no item or header relations->analysis report|https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=755769&_NLANG=E]
[1480994 - How to process a shopping cart with status I1111?|https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1480994&_NLANG=E]
[1498793 - Monitor SC: shopping cart stuck in 'item in transfer'|https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1498793&_NLANG=E]
[729967 - Shoppng cart:Status I1111,no follow-on docs->analysis report|https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=729967&_NLANG=E]
[1585992 - Shopping carts in status I1111 'Item in Transfer Process'|https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1585992&_NLANG=E]
[1530332 - BBP_SC_AUTO_RETRANSFER: Support for Local Scenario|https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1530332&_NLANG=E]
Regards.
Laurent.
Hello Laurent, I implemented notes that correspond with my system but nothing occurs. The problem is the same
I have this in the status:
Status Description Inactiv
HEADER I1015 Awaiting Approval X
HEADER I1021 Created
HEADER I1038 Complete
HEADER I1106 Shopping cart ordered
HEADER I1129 Approved
I don´t know why doesn´t appear in transfer or something similar? Some error!!! I can´t see nothing. I checked SMQ1, SMQ2, ST22 and RZ20 transactions and nothing appears there.
Thanks in advance
Rosa Rodríguez
Hello Surender, I did debug and try to transfer SC and status is the same. I have this in the status table:
Status Description Inactiv
HEADER I1015 Awaiting Approval X
HEADER I1021 Created
HEADER I1038 Complete
HEADER I1106 Shopping cart ordered
HEADER I1129 Approved
How can I do to change the status? I don´t understand why the SC doesn´t show errors.
Thanks in advance
Rosa Rodríguez
Hi Rosa,
Please ask your Basis guys to check the TRfc tables. It might be the case there are many entries in these tables.
Also, check the organization structure from your side.
Thanks,
Anshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.