cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Follow on documents are not created in a SC

Former Member
0 Likes
1,002

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Likes

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.

Former Member
0 Likes

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

alejandro_jimenez2
Participant
0 Likes

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.

Former Member
0 Likes

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)?

Former Member
0 Likes

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

Former Member
0 Likes

Hello Prashanth. I checked SM58 transaction and I don´t have any entrie there. All is empty.

What can I do?

Thanks in advance

Rosa Rodríguez

laurent_burtaire
Active Contributor
0 Likes

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.

Former Member
0 Likes

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

Former Member
0 Likes

What is the status of the SC ? try to debug it from BBP_PD. Go to BBP_PD, open your SC. then in command type 'transfer' and enter. It will go in debugging mode and will try to transfer the SC.

Former Member
0 Likes

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

laurent_burtaire
Active Contributor
0 Likes

Hello Rosa,

you mean, using BBP_SC_AUTO_RETRANSFER report, your Shopping Cart is not created in SRM PO ?

Regards.

Laurent.

Former Member
0 Likes

Hi

Please try to retransfer the SC by FM BBP_REQREQ_TRANSFER

While transferring the cart you have skip the filter_items method .

With regards

Preeti Khurana

Former Member
0 Likes

Hello Laurent. No, with reports and function modules SC doesn´t change status. Appears in Approved.

Former Member
0 Likes

Hello Preety, no, it is not working.... Status is the same

Former Member
0 Likes

Hi,

Please check the job CLEAN_REQREQ_UP is running properly in your SRM system.

Also check the following link

[http://help.sap.com/saphelp_srm50/helpdata/en/24/64474ecfaf11d2b463006094b92d37/content.htm]

Regards,

Aravind.

Former Member
0 Likes

Hi Rosa,

I am also experiencing the same issue. Is your issue resolved? If yes, Please guide me how you resolved this issue.

Regards,

Ruchir.

ricardo_cavedini
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

Have you noticed if this cart is sourcing relevant? Check field SOURCE_REL_IND at item level. If it is marked, retransmit function modules will not have any effect.

regards,

ricardo

Former Member
0 Likes

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