ECATT Shopping Cart Creation

Hi Board,
I'm interested in the option to create shopping carts via eCATT  (Transaction secatt) and excel-based input file. Has anybody ever sucessfully recorded the Simplified Shopping Application (transcation bbpsc01) and used it for mass creation of shopping carts into the system.
As I haven't got any SRM system available, is anybody out there who could verify that it works?
Many regards,
Richard

Hi board,
an update to my post yesterday. Is there any possibility at all to feed shopping cart data from any file type into the SRM server system. I thought BADI BBP_PD_DOWNLOAD may be starting point for this but the documentation says something different.
Any idea?
Kind regards,
Richard
Message was edited by: Richard Hösl

Similar Messages

  • Shopping cart Creation Time is different from system time

    Hi ,
    Shopping Cart Creation Time is Different from System time.
    Could you tell me,        to which time it is refering to.
    How to change it.
    Create By is      webseruser
    Where can I find the required settings for the same
    Thanks In advance

    Hello,
    Are you checking this in BBP_PD?
    If you go to SU01 and check parameter "Personal Time Zone" -> "of the user", this time will appear to end user when creating document (document header in web).
                                                                                    If you do not have informed any value, it will be populated the pattern system timezone, defined in SU01 as well.
                                                                                    - I created a RFX in my test system with a user who's timezone (in tx SU01) is set as:
    Sys. Time Zone     CET                                                                 
    of the User        INDIA                                                                               
    - CET time  was 20:01:55                                                              
    - GMT time was 18:01:55                                                              
    - India time was 23:31:55                                                                               
    Looking at this RFX in BBP_PD I see the following:                                     
    Same user (India timezone and CET as "Sys. Time Zone"):                                
    Created_At: 20:01:55                                                                   
    Changed_at: 20:01:55                                                                   
    DETAILS (header):
    Created at: 18:01:55                                                                   
    Changed at: 18:01:55                                                                   
    RFX header (description): 23:31:55                                                     
    So, for end users, you should populate field "of the user" in SU01.
    In BBP_PD header details, you will have the GMT time (which is stored in internal tables).
    In BBP_PD created_at and changed_at you will have the system time zone, as defined in SU01.
    Regards,
    Ricardo

  • Accoung Assignment tab is disable during shopping cart creation

    Hi Gurus,
    Ned your expert advice on this issue.
    We are using SRM7.0 classic scenario. During configuration, under SPRO>Supplier Relationship Management>SRM Server>Cross Application Basic Settings>Account Asisgnment, we define Account assignment categories, define G/L account for Product Category and Account assignment Category and no entry under Maintain Local Accounting Data.
    However during shopping cart creation, Account Assignment tab is disable. We cannot even add line item and throwing an error. We assigned therequired entries under PPOSA_BBP but still unable to complete the shopping cart.
    Please advice how to resolve the issue.
    Thanks.

    Hi,
    Have you enabled the 'default' checkbox?
    Regards,
    Nikhil

  • Using Wforms (Adobe interactive forms) in lieu of shopping cart creation

    Our users complain of too much data entry during shopping cart creation and less frequent users complain about forgetting GL a/c and product ID. In talking to SAP their suggestion is to implement Wforms to avoid end users logging into SRM and rather enter relevant details on wform and then convert it to Shopping cart.
    Has anyone implemented and can share how the experience has been,how difficult it to to implement wforms and support thereafter.I undertsand that wforms had issues in the past but SAP now claims to have overcome all those limitations.Please share your experience.

    Hi Ruchi,
    Did you say SAP proposed that you use WFORMS in place of SRM Shopping Cart?? I am not entirely sure we are quite there yet! There is lots of details available [here |http://www.sdn.sap.com/irj/sdn/adobe]which describe SAP interactive forms. Maybe this will help you. But I am surprised your users find the SC creation difficult, especially the 4 step wizard, can you not assign default values to many of these areas where they are having trouble? (GL accounts etc)
    Regards,
    Jason

  • How to use Multiple Product Hierarchies in Shopping Cart creation

    Dear SRM Experts,
    We have an issue in using multiple Product Hierarchies while creating a shopping cart. Need your help to resolve this.
    Our SRM system is integrated with 2 ERP back-end systems. In material replication we have created 2 hierarchies for different ERPs and their product categories are stored in respective hierachies.
    Example:
    EBPMATCLAS is for ERP1
    EBPSERVCAT is for ERP2
    Now when I create shopping cart, it allows only those products which are part of EBPMATCLAS because of below configuration..
    We cant configure multiple hierarchies for purchasing so we are not able to use both Hierarchies simultaneously.
    Request you to help with the possible solution to use multiple hierarchies.
    Thanks
    Rajan

    Hi Rajan,
    You not need to create 2 hierarchy ID. Inside the R3MATCLASS you can see the reference with both banckends.
    Ex:
    R3MATCLASSECCCLNT001
    R3MATCLASSECCCLNT002
    Rgs,
    Pedro Marques

  • Error in shopping cart creation

    Hello,
    We are creating a shopping cart and following error message has been displayed on the portal.
    The url was not called due to an error.
    Following notes were describing the error:
    Inetrnal error cannot sync.
    The error was occured on application server eccps_srq_50 and work process 4
    termination type TH_RES_FREE.
    ABAP Call stack was
    system-exit of program SAPLBBP_SC_UI_ITS
    Regards,
    Ashish

    Hi
    On what event, this short dump is happening. Please elaboarte.
    Can you please paste the details dump here. ?
    Hope this will help.
    Regards
    - Atul

  • Object: Error on Shopping Cart creation (BBPSC02)

    Hi all,
    While adding an item to a Shopping Cart, the following error is occurring:
    Error when processing your request
    What has happened?
    The URL https://srm.test.corp:8005/sap/bc/gui/sap/its/bbpsc02/~flNUQVRFPTIwMzA1LjAwNC4wMy4wMQ== was not called due to an error.
    Note
    <b>The following error text was processed in the system EST : Template interpretation failed. Template does not exist.
    The error occurred on the application server sapsrmt_EST_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: B40B_ACCSERV_CHECKACCASSIGNMT of program SAPLBBP_BD_DRIVER_40B
    Function: META_ACCSERV_CHECKACCASSIG_BUF of program SAPLBBP_BD_META_BAPIS
    Function: META_ACCSERV_CHECKACCASSIGNMT of program SAPLBBP_BD_META_BAPIS
    Form: COBL_CHECK of program SAPLBBP_PDACC
    Form: ACCOUNT_CHECK_SINGLE of program SAPLBBP_PDACC
    Form: ACCOUNT_MAINTAIN_SINGLE of program SAPLBBP_PDACC
    Form: ACCOUNT_F_CREATE of program SAPLBBP_PDACC
    Function: BBP_ACCOUNT_CREATE of program SAPLBBP_PDACC
    Form: ITEM_F_CREATE_FROM_WTAB of program SAPLBBP_PDIAD
    Form: ITEMLIST_F_UPDATE of program SAPLBBP_PDIAD</b>
    Going into the ST22, as Error Analysis it is suggested:
    “As a test, you can set the service parameter ~generateDynpro = 1. The system then generates the HTML page for this service without a template. You can then at least see which screen was sent by the WebAs. Make sure to reset the parameter to its original value.”
    Adding this parameter, the transaction is working properly, but is asking User ID and password to connect to the back-end (that seems strange to me!).
    A similar error (with different functions involved) is occurring while clicking on “Settings”: user settings are not visualized, but also changing the service parameter ~generateDynpro = 1, the transaction is working.
    Any idea on where is the problem?
    Thanks in Advance,
    #Bill J.

    Hi Luciano,
    these are the information coming from ST22 about the dump:
    <b>Information on where terminated</b>
    <i>Termination occurred in the ABAP program "SAPLBBP_BD_DRIVER_40B" - in "B40B_ACCSERV_CHECKACCASSIGNMT".
    The main program was "SAPLBBP_SC_UI_ITS ".
    In the source code you have the termination point in line 181 of the (Include) program "LBBP_BD_DRIVER_40BU34".</i>
    <b>Source code extract</b>
    164             IMPORTING
    165               expcobl        = e_backend_cobl[]
    166               messages       = return40b[].
    167           IF e_backend_cobl[] IS NOT INITIAL.
    168             REFRESH lt_backend_cobl.
    169             lt_backend_cobl[] = e_backend_cobl[].
    170             lv_change_in_badi = gc_yes.
    171           ELSE.
    172             IF lv_change_in_badi = gc_yes.
    173               e_backend_cobl[] = lt_backend_cobl[].
    174             ENDIF.
    175           ENDIF.
    176         ENDIF.
    177       ENDDO.
    178     ENDIF.
    179     IF lv_change_in_badi = gc_no.
    180
    >>>>       CALL FUNCTION 'BBP4X_CODINGBLOCK_CHECK'
    182         DESTINATION destination
    183         TABLES
    184           bbpcobl               = i_backend_cobl
    185           expcobl               = e_backend_cobl          "note 202684
    186           return                = return40b
    187         EXCEPTIONS
    188           communication_failure = 1  MESSAGE msg_text
    189           system_failure        = 2  MESSAGE msg_text
    190           OTHERS                = 3.
    191
    192       IF NOT sy-subrc IS INITIAL.
    193         CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE'
    Any suggestion on how to debug are welcome.
    Thanks
    #Bill J.

  • Info record mandatory for shopping cart creation in SRM classic scneario

    Hi Gurus,
    We are creating shopping cart in our SRM 7.01 system in classic mode. We have not created any info record for the product category and vendor in the backend ECC system.
    Do we need create an info record for the particular combination of material group/material and supplier in the ECC backend system so that the shopping cart in SRM classic scenario creates a PO directly in the system?
    Thanks and regards,
    Ranjan

    Hi Sam,
    Thanks for your update. So, what you mean that the SRM shopping cart  with a direct vendor or contract can create a PO directly in the backend  system even if the backend system does not have nay info record for the particular combination of the material and vendor.
    Thanks and regards,
    Ranjan
    Ranjan Sutradhar

  • Shopping Cart creation with reference to Backend Contract

    Dear Experts,
    We are working in SRM 7.0 Classic Scenario.
    We have Backend Contract with document type PCTR which is available as Source of Suppliy when creating Shopping cart.
    I can use this contracts as source of supply but the issue is when the Shopping cart total quantity crosses the target value of the Contract quantity there was no error message as the quantity has exceeded the target quantity.
    The system is allowing me to create the Shopping cart but after approval the Shopping cart is showing the status as Approved and not creating PO or PR.
    Is there any configuration available to get the update if the quantity in SC crosses the Target quantity of the backend contract.
    It is also OK if the SC goes to Purchasers work list if the target quantity is crossed.
    Kindly reply to this thread immedeately.
    Regards,
    B.N.Karthikeyan.

    Hi
    target quantity or Target value ?
    what about your Contract value contract - target value or target quantity
    i aware value contract is throwing message if the sc exceeds the contract value.
    share your contract details.
    is it created in ECC or CCTR or GCTR . target quantity for materials or taget value for that material
    br
    Muthu

  • Is there anyone who can help me out in shopping cart creation by FM?????

    Hi Guys,
    I am trying to create a Shopping cart in SRM system executing the RFC from External system.I am trying hard to solve this issue since last 1 months and still i am not able to do that.plz help me out its very urgent now.
    I am trying to use BBP_PD_SC_CREATE in combination with BBP_PD_SC_SAVE and Commit.
    Here Below i am mentioning what all fields i using to pass the data, and what all errors i am getting after executing the function Module.
    Please check it and tell me where exactly i am doing mistake.
    FM ---> BBP_PD_SC_CREATE
    I_REF_GUID 00000000000000000000000000000000
    I_PARK X
    I_SAVE X
    I_HEADER
    GUID 00000000000000
    DESCRIPTION TEST
    CURRENCY USD
    PROCESS_TYPE SHC
    I_ITEM
    GUID 00000000000000000000000000000000
    PARENT 00000000000000000000000000000000
    NUMBER_INT 0000000001
    NUMBER_EXT 0000000000
    PRODUCT 00000000000000000000000000000000
    DESCRIPTION MONITOR
    CATEGORY 00000000000000000000000000000000
    CATEGORY_ID 65.10
    QUANTITY 1.000
    UNIT EA
    PRICE 1.00
    PRICE_UNIT 1
    GROSS_PRICE 1.00
    CATALOG_PRICE 0.00
    CURRENCY USD
    PRODUCT_TYPE 01
    LOGSYS_FI CFG300
    BE_LOG_SYSTEM CFG300
    BE_PLANT BUS1
    BE_MOVE_REAS 0000
    BE_PUR_GROUP W01
    BE_PUR_ORG IBRD
    BE_CO_CODE IBRD
    BE_DOC_TYPE ECPO
    BE_PACKNO 00000000
    BE_INTROW 00000000
    BE_PO_PRICE 1
    I_ACCOUNT
    GUID 00000000000000000000000000000000
    P_GUID 00000000000000000000000000000000
    DISTR_PERC 100.00
    ACC_NO 0001
    ACC_CAT CC
    SRC_GUID 00000000000000000000000000000000
    G_L_ACCT 500411060
    BUS_AREA VTRS
    COST_CTR 6589
    SDOC_ITEM 000000
    SCHED_LINE 0000
    CO_AREA WBG1
    PROF_SEGM 0000000000
    CMMT_ITEM 500411060
    FUNDS_CTR 6589
    FUND BB
    I_PARTNER
    PARTNER_GUID 000000000000000000000000
    P_GUID 000000000000000000000000
    PARTNER_FCT 00000039
    PARTNER_NO
    ADDR_TYPE 1
    ADDR_ORIGIN A
    ADDR_NO 10735
    PARTNER_ID 1058
    same like i have passed 3 more partner details.
    I_ORGDATA
    GUID 0000000000000000000000000
    P_GUID 0000000000000000000000000
    PROC_ORG_RESP_ID 50000641
    PROC_ORG_ID 50000640
    PROC_GROUP_ID 50000641
    When i execute it, i am getting error like
    "Interface Data Contains error"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDDYN"
    "Incorrect Interface Data for set PDFRT"
    "Incorrect Interface Data for set PDHCF"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDORG"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDTAX"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDTOL"
    "Incorrect Interface Data for set PDWGT"
    "Enter Atleast one item for one limit"
    Thanks alot.
    GRTZ.
    Regards,
    Manoj Tiwari

    Hi,
    before I would try to save a SC to the database, I would check how I have to fill the interface. Therefore I would suggest to read at first a SC from the database with FM BBP_PD_SC_getdetail. With this example of an existing SC you should be able to will the interface correctly.
    E.g. when you check an existing SC with FM BBP_PD_SC_getdetail you see that some parameters are missing in your I_ORGDATA part. The I_ORGDATA part of my SC example looks like the following:
    PROC_ORG_RESP_OT               O       
    PROC_ORG_RESP_ID               92001699
    PROC_ORG_OT                    O       
    PROC_ORG_ID                    92000053
    PROC_GROUP_OT                  O       
    PROC_GROUP_ID                  92001699
    Here you can see that you forgot the whole *OT parts! In your case the system doesn't know that you mean an orgunit.
    As I mentioned above, when you know how a SC looks like on the database, it should be easy to fill the FM interface.
    Best regards
    Dennis

  • Error while shopping cart creation

    Hi All,
    We are on SRM 7.0 and ECC 6.0.
    We have just recently set up our SRM 7.0 system along with the portal. SSO, UWL etc have been configured in the Portal.
    Now when the user logs in to create a shopping cart and clicks on the
    1. Employee Self Service link, he gets the following error :
    The URL http://sapsrmdev:8003/sap/bc/webdynpro/sap/powl/ was not called due to an error.
    Note
    The following error text was processed in the system ASR : Die URL enthält keine vollständige Domainangabe (sapsrmdev statt sapsrmdev.<domain>.<ext>).
    The error occurred on the application server SAPSRMDEV_ASR_03 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CHECK of program CX_FQDN=======================CP
    Method: STARTUP_CHECKS of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    PS : The user has the standard employee self service role in the portal and employee role in the backend.
    Also the service sap/bc/webdynpro/sap/powl/ is active.
    Please provide inputs.
    Regards
    Edited by: sivakumar lakshminarayanan on May 12, 2011 11:56 AM

    Hi Jay,
    I maintained the FQDN as you mentioned.
    Now I am getting a different error when I click on Employee Self Service link.
    The URL http://sapsrmdev.patni.com:8003/sap/bc/webdynpro/sap/powl/ was not called due to an error.
    Note
    The following error text was processed in the system ASR : An exception occurred that was not caught.
    The error occurred on the application server SAPSRMDEV_ASR_03 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: GET_LAYOUT of program CL_POWL_PERS_ACCESSOR=========CP
    Method: INITIALIZE of program CL_POWL_MODEL=================CP
    Method: HANDLEDEFAULT of program /1BCWDY/AFSW3OIPJU90DEGN2AMU==CP
    Method: HANDLEDEFAULT of program /1BCWDY/AFSW3OIPJU90DEGN2AMU==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/AFSW3OIPJU90DEGN2AMU==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_IF_VIEW=====CP
    Method: DISPLAY_TOPLEVEL_COMPONENT of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Regards

  • Shopping Cart Creation - SAPLBBP_PD program error

    Hi Folks,
    I have one query. Need your help on this.
    We are using Product category. In extended attributes, for company code i deactivated the product category. Now, how is the possibility that i can use these product categories again back in my SRM system.
    I'm also observing the error in SRM shopping cart processing as below:
    Error application is coming up.
    20110315
    168996
    085921
    ISVSAPSRMDEV
    http://isvsapsrmdev.ad.infosys.com:8001/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
    SYNTAX_ERROR
    Syntax error in program SAPLBBP_PD .
    Method: CREATE_SC_INT of program /SAPSRM/CL_PDO_FACTORY_SC_ADV=CP
    Method: CREATE_SC_INT of program /SAPSRM/CL_PDO_FACTORY_SC_ADV=CP
    Method: CREATE_NEW_INSTANCE of program /SAPSRM/CL_PDO_FACTORY_SC_ADV=CP
    Method: CONSTRUCTOR of program /SAPSRM/CL_CH_WD_BOM_SC=======CP
    Method: /SAPSRM/IF_CH_WD_MAP_FACTORY~CREATE_SC_MAPPER of program /SAPSRM/CL_CH_WD_MAP_FACTORY==CP
    And short dump while processing BBP_PD
    Kindly guide.
    thanking you all.
    Sangmesh Hiremath

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Shopping Cart creation error

    I am using SRM 4.0 and ECC 5.0 with Ex Classic scenario.
    While I am trying to create Shopping cart following error is coming :-
    "No organizational data exists on item level" 
    I have checked up all Org. plan data i.e. users are consistent all attribute in org nodes in function tab like company code Pur Org or Pur Grp maintained.
    Secondly I have checked in R/3 that Material is also having Organization data like is extended to a Plant and Storage and Pur and Storage views are maintained. Still problem not resolved.
    I am not able to understand this error message.
    Could somebody help me ?
    Thanks
    Sanjay

    Hi Vadim,
    I found out the reason of problem. When we deflag check box for activate Extended Classic. This problem goes away.
    Further as suggested by you we have analyzed Xn BBPSC01 in SAP gui and found in Extended details every data is populated like Prod Cat.,Company,Plant and S Loc etc. except Pur Org and Pur Grp. When we deflag Extended classic check box than Pur Org and Pur Grp are also populated.
    What could be done as I have to use Extended classic scenerio.
    Problem of in ITS service page of basic data not being displayed remains.
    Thanks
    Sanjay

  • Shopping Cart Creation for Stock Material

    Hi,
       I'm implementing a project that i must create SC from an external ECC system. When I try to create the SC the system sends me the message below. There's a way to create the SC from this external system for Stock Material?
    "Purchase of product 0000000000000000000000000000000030238225 is not permitted in the backend"
    We're using the Classic Scenario.
    Thanks and best regards,
    Alexandre.

    Hi Muthuraman,
    Thanks for your answer, I've look for the nots that you've sent me but it's a quite different what I need. I've been searching on the forum for something that can hep me and actually there's a older question that you help a person with something similar.
    Here is the question and your answer. I've tried to follow the instructions but those Functions didn't stop when I execute the 'BBP_PD_SC_CREATE_EXTERNAL' function.
    There's a way to clear the account assignment while creating the document on the  backend when  I'm using the function to create the SC?
    Thanks and Best Regards,
    Alexandre.
    Question:
    'In a SRM classic scenario it's possible to create a shoping cart for material stock or it's only possible to create for indirect material (center cost, order, etc).'
    Answer:
    'yes. Indeed you need enhancement
    http://wiki.sdn.sap.com/wiki/display/SRM/BBP_CREATE_BE_PO_NEW-CreatePOin+backend
    you need to clear the account assignment while creating a PO in the backend.
    so PO will be created in the backend rather than in SRM .
    but see impacts - how inventory gl accounts are posted while doing good receipt. Is it taking GL account from valuation class .
    Hide the Order as direct too in SRM .
    create one custome field in shopping cart to determine to order a PO in the backend (for stock materials) so when you check this field, this sc item PO will be created without account assignment.
    Muthu'

  • Shopping Cart Creation

    Hi,
    I am trying to call the below classes from a function module to use the below methods to create the shopping cart.
    Classes:
    /SAPSRM/CL_PDO_FACTORY_SC_ADV
    /SAPSRM/CL_PDO_BO_SC
    Methods:
    GET_ITEM_DETAIL
    UPDATE_ITEMS
    SUBMIT_UPDATE
    SAVE
    Could you please guide me, how to pass the input parameters and get the results.A sample code will be very helpful.
    Thanks & Regards,
    Naresh

    Hi,
    I did this report for copy a SC without that classes... , hope help you;
    Part 1/2:
    REPORT  zpruebas_richal3.
    TYPE-POOLS: icon.
    DATA: lv_cont         TYPE i VALUE 1,
          lv_num_int      TYPE i,
          ls_sc_header_u  LIKE  bbp_pds_sc_header_ic,
          ls_sc_header    TYPE bbp_pds_sc_header_d,
          lt_sc_item      TYPE  bbp_pds_sc_item_d OCCURS 0 WITH HEADER LINE,
          lt_sc_item_u    TYPE  bbp_pds_sc_item_icu OCCURS 0 WITH HEADER LINE,
          lt_sc_account   TYPE  bbp_pds_acc OCCURS 0 WITH HEADER LINE,
          lt_sc_partner   TYPE  bbp_pds_partner OCCURS 0 WITH HEADER LINE,
          lt_sc_confirm   TYPE  bbp_pds_con OCCURS 0 WITH HEADER LINE,
          lt_sc_longtext  TYPE  bbp_pds_longtext OCCURS 0 WITH HEADER LINE,
          lt_sc_sdln      TYPE  bbp_pds_sdln OCCURS 0 WITH HEADER LINE,
          lt_sc_limit     TYPE  bbp_pds_limit OCCURS 0 WITH HEADER LINE,
          lt_sc_orgdata   TYPE  bbp_pds_org OCCURS 0 WITH HEADER LINE,
          lt_sc_tax       TYPE  bbp_pds_tax OCCURS 0 WITH HEADER LINE,
          lt_sc_pridoc    TYPE  bbp_pds_prc OCCURS 0 WITH HEADER LINE,
          lt_sc_messages  TYPE  bbp_pds_messages OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF lt_items OCCURS 0,
            guid_old TYPE crmt_object_guid,
            guid_new TYPE crmt_object_guid,
          END OF lt_items.
    PARAMETERS: p_sc TYPE crmt_object_id_db OBLIGATORY.
    START-OF-SELECTION.
      CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
        EXPORTING
          i_object_id = p_sc
        IMPORTING
          e_header    = ls_sc_header
        TABLES
          e_item      = lt_sc_item
          e_account   = lt_sc_account
          e_partner   = lt_sc_partner
          e_orgdata   = lt_sc_orgdata
          e_tax       = lt_sc_tax
          e_pridoc    = lt_sc_pridoc.
      IF ls_sc_header IS INITIAL.
        MESSAGE 'SC dont exits' TYPE 'I'.
        STOP.
      ENDIF.
    * Header;
      MOVE-CORRESPONDING ls_sc_header TO ls_sc_header_u.
      ls_sc_header_u-guid = lv_cont.
      CLEAR: ls_sc_header_u-object_id.
    * Items:
      LOOP AT lt_sc_item.
        MOVE-CORRESPONDING lt_sc_item TO lt_sc_item_u.
        ADD 1 TO: lv_cont, lv_num_int.
        lt_sc_item_u-guid = lv_cont.
        lt_sc_item_u-number_int = lv_num_int.
        lt_sc_item_u-parent = ls_sc_header_u-guid.
        lt_sc_item_u-ps_handle_itm = 1.
        APPEND lt_sc_item_u.
        lt_items-guid_old = lt_sc_item-guid.
        lt_items-guid_new = lt_sc_item_u-guid.
        APPEND lt_items.
      ENDLOOP.
      DATA: lv_tabix LIKE sy-tabix.
      LOOP AT lt_sc_account.
        lv_tabix = sy-tabix.
        ADD 1 TO lv_cont.
        lt_sc_account-guid = lv_cont.
        IF lt_sc_account-p_guid EQ ls_sc_header-guid.
          lt_sc_account-p_guid = ls_sc_header_u-guid.
        ELSE.
          READ TABLE lt_items WITH KEY guid_old = lt_sc_account-p_guid.
          lt_sc_account-p_guid = lt_items-guid_new.
        ENDIF.
        MODIFY lt_sc_account INDEX lv_tabix.
      ENDLOOP.
      LOOP AT lt_sc_partner.
        lv_tabix = sy-tabix.
        ADD 1 TO lv_cont.
        lt_sc_partner-partner_guid = lv_cont.
        IF lt_sc_partner-p_guid EQ ls_sc_header-guid.
          lt_sc_partner-p_guid = ls_sc_header_u-guid.
        ELSE.
          READ TABLE lt_items WITH KEY guid_old = lt_sc_partner-p_guid.
          lt_sc_partner-p_guid = lt_items-guid_new.
        ENDIF.
        MODIFY lt_sc_partner INDEX lv_tabix.
      ENDLOOP.

Maybe you are looking for

  • Saving a pdf without a "save" icon in the toolbar.

    I'm using Adobe Reader and Windows XP.  Most times I locate a pdf document on the web, I can save it by clicking the save icon (the one that looks like a floppy disc).  But, sometimes, I'm presented with a version of a pdf that allows me to print it,

  • Camera Raw plug-in -- where is it?

    Hi All, I tried to open a photo in Photoshop from Lightroom2, and got the alert "This version of Lightroom may require the Photoshop Camera Raw plug-in version 5.3 for full compatability. Please update the camera raw plug-in using update tool availab

  • Help required in depolying EAR file. web.xml file not recognised.

    Hi All, I have created EAR project using WAR. While I'm trying to deploy the EAR file using SDM tool of J2EE engine. I'm getting the following error: bold com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Web application

  • How to do Validations on Incomming Idoc-XML In XI

    Hi all, I have Scenario Idoc--File, in this if my Idoc generated with 5 line items say 5 Materials. Say If the 3rd Material data is wrong , then the whole Idoc wil be failing in MONI. We implemented in mapping on how to through exceptions if there is

  • System crashes, even after clean install. How to diagnose?

    Hi all, Have been experiencing weird errors with my 2010 MBP, among which infrequent system crashes. I've seen my MBP swallow keypresses of the external Logitech keyboard I use. Replacing it with another (similar) model didn't help. It was getting qu