Routing Creation with multiple Wok Center -  BAPI_ROUTING_CREATE

Hi Guru,
I'm creating a Routing using a bapi BAPI_ROUTING_CREATE, currently i can only create routing with one work but it requires to have different work center for each operation. I've checked the my table for operation and sub operation and it contains the data for the two work centers, unfortunately when it gone through the bapi it only creates one work center for a given operation.
Do I need to populate the table WORKCENTERREFERENCE?
Please advise.
Thanks and regards,
jay

Hi Jitendra,
Instead of making the scenario complex, I suggest you to go for separate routing and BOM for the semi-finished and finished product.
How do you differentiate the routing of both the finished and semi-finished in only one ?
regards
Ram Kumar

Similar Messages

  • Create ecatt script for one sales order creation with multiple line items

    Hi ,
    I want to create a ecatt script for one sales order creation with multiple line items. Preferably SAP GUI.
    This selection of data will be from an external file/ variants which will have only one row of data in it.
    Firstly: I have to sort the external file having same PO Numbers in an order.Group them together.
    Second: I have to create sales order for those many line items having same PO Number.
    Best Regard
    Taranum

    Hi Micky
    Firstl you should upload the Line items for a particular sales Order in an Internal table
    and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order
    In case of any issues pls revert back
    Reward points if helpful
    Regards
    Hitesh

  • DSD route settlement with multiple sales are

    Hi folks,
    I have looked in this forum for an answer for my problem but haven't found any, so i am creating this new thread.
    Well i am trying to settle a shipment in /DSD/DE_ENTRY transaction with multiple sales area in it, example:
    Visit 1 - Sales Org(D002) Distribution channel(GN) Division(GA)
    Visit 2 - Sales Org(D002) Distribution channel(GN) Division(GB)
    Visit 3 - Sales Org(D017) Distribution channel(17) Division(D1)
    The problem i get is that when i settle the shipment he mixes up the sales area in the visits, so far, allways in visit 3 where he puts up D002, 17, D1, giving the error of non existent sales area when trying to create the order(he doesn't mix up for all orders, only for some ones in the visit).
    Another strange fact is that i made 3 shipments with same data, and in all 3, he mixed up for different documents, in 1 he created 2 documents fine, in other one only 1, making me believe that he "randomly" atributes the sales area.
    What i need is to "manipulate" or have a solution for standard doesn't mix up the sales area, and atribute the correct sales area to the orders to create based on the sales are in the visit.
    Best Regards.

    Thanks for the link, it's more or less the functionality that I'm looking for but the issue with BW is that I need to do the Settlement at the moment that routes are arriving "on line" and with BW I need wait the load to BW system. A lot of routes are arriving frequently.
    ¿Do you know a R3 functionality for this? or ¿do you know a "Shipments settlement" who has all Shipments of the route? in order to use same transaction that is by transport.
    Thank's a lot

  • Creation of multiple cost center for one emplyee

    HI All,
    I have requirement . one emplyee is working two projects so need create two cost centers for one employee.
    please tell me how create multiple cost center for one employee.
    Thanks&Regards
    ramesh

    hai.
    if he works half the time... u can give 50%.. or just get it confirmed from core team member..
    manu

  • WRT610n Router lag with multiple devices?

    Hi, I had a WRT54G (best router I've used!!) but ugraded to WRT610n after a wrt310n upgrade didn't work well with XBox. The WRT610n v2 has been great but I''ve noticed some lag issues when running multiple devices. While I understand this can be expected I don't expect it to this extent when not using that much and never had the issue before with the 54g. Are there settings that can be changed to improve this?
        My setup is Mediacom 20/1.5 with a Motorola SB6120 modem. WRT610n router with a hard wired desktop (usually off and not used), a wireless n notebook wireless (also usually off) as my main use is for XBox 360. 1 wireless n with the new n adapter from microsoft and 1 wireless g with the old white adapter from microsoft. Usually only one is connected at once but sometimes my son will be on the other at the same time. I usually have no isse even still with the 2 (and never did before) but if any other pc is turned on or my Zune HD which connects also if I go on the marketplace seems to slow my setup down. As said before this was never an issue on the old setup but seems to be a problem now. Can I change any settings to stop this problem?

    You might be facing the problem because the wireless settings set on your Router to its default settings, So you need to change certain settings on your Router, and that would improve the signal and speed quality on your wireless computers..
    Open an Internet Explorer browser page on a computer hard wired to the router...In the address bar type - 192.168.1.1...Leave the Username blank & in Password use admin in lower case...
    On the set-up tab change the MTU Size to 1365 and click Save Settings...
    For Wireless Settings, please do the following : -
    Click on the Wireless tab
    - Here select manual configuration...Wireless Network mode should be mixed...
    - Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbors network...
    - Set the Radio Band to Standard-20MHz and change the Standard channel to 11-2.462GHz...Wireless SSID broadcast should be Enabled and then click on Save Settings...
    Please make a note of Wireless Network Name (SSID) as this is the Network Identifier...
    For Wireless Security : -
    Click on the Sub tab under Wireless > Wireless Security...
    Change the Wireless security mode to WPA, For Encryption, select TKIP...For Passphrase input your desired WPA Key. For example , MySecretKey , This will serve as your network key whenever you connect to your wireless network. Do NOT give this key to anyone and remember the key.
    NOTE : Passphrase should be more that 8 characters...
    Click on Advanced Wireless Settings
    Change the Beacon Interval to 75,Change the Fragmentation Threshold to 2304,Change the RTS Threshold to 2304 and Click on Save Settings...
    Now see if you can locate your Wireless Network and attempt to connect...

  • Return Order Creation with Multiple Lines not possible - EHP3

    Hi Experts,
    We are facing an issue while creating Return Orders with external reference billing document post upgrade from CRM 7.0 to EHP3.
    While we select multiple line items from the external reference billing document and Create a return order(BT120H_CPL/NewComplEF ), the very first line item gets repeated instead of all the line items getting copied to the subsequent view(BT120H_CPL/ItemList ).
    Please help.
    Thanks,
    Rohit

    I hope you have tried.If not can you  please try with  below qualifier
    '015' Billing Document Number of Invoicing Party
    Provide the billing document EEDK02-BELNR.
    Also give qualifier at item level
    E1EDP02 : use Qualifier =15
    Provide the Billing document number at E1EDP02_BELNR and item at ZEILE.
    I am not sure what is error you are getting when you are referencing billing document.If something STD Idoc  is not working as you expected use your custom logic to bring the data when you are posting the Idoc.
    I have not worked on sales order process,But I have worked on Purchase Order creation process.
    Please let me know the error ,If i know the error i will defiantly help you.

  • Return Order Creation with Multiple Lines not possible - 7.0 to EHP3

    Hi Experts,
    We are facing an issue while creating Return Orders with external reference billing document post upgrade from CRM 7.0 to EHP3.
    While we select multiple line items from the external reference billing document and Create a return order, the very first line item gets repeated instead of all the line items getting copied to the subsequent view(BT120H_CPL/ItemList ).
    Please help.
    Thanks,
    Rohit

    >>. But is it possible in PI 7.0?
    Just few cents..
    Test using SOAPUI or  XMLSPY and use that same WSDL URL in the target URL of Communication channel. Just to make sure you use the right endpoint.
    or
    You can specify the method name as  soap action dynamically using udf in mapping and see how it behaves.

  • URGENT - Query to get employes with multiple cost center

    Hello,
    The sample data for my requirement is:
    create table a
    (year     number(4),
    month      number(2),
    empno number(5),
    cost_center number(3)
    insert into a values(2003, 10, 1034, 102);
    insert into a values(2003, 10, 1034, 102);
    insert into a values(2003, 10, 1034, 102);
    insert into a values(2003, 10, 1034, 103);
    insert into a values(2003, 10, 1034, 103);
    insert into a values(2003, 10, 1039, 102);
    insert into a values(2003, 10, 1039, 102);
    insert into a values(2003, 10, 1070, 102);
    insert into a values(2003, 10, 1070, 103);
    commit;
    In the above sample data, empno 1034 & 1070 has two different cost centers (102 & 103) whereas empno 1039 has one only cost center i.e. (102).
    Now I want a query that returns empno, cost_center with employees having more than one cost center. Considering the above sample data, the query should return empno 1034 & 1070. Empno 1039 should not appear in the query output as it has only cost center.
    The output should be something like...
    Empno cost_center
    1034 102
    1034 103
    1070 102
    1070 103
    I'll b grateful for an urgent reply.
    HASAN.

    select distinct empno, cost_center
    from a a1
    where exists (select 1 from a a2
    where a2.empno = a1.empno
    having count(distinct cost_center) > 1)
    /

  • Routing creation with material assignment

    Hello sap gurus,
        I have created routing for semifinished product.Now i want to create routing for finished material but i want to use the same routing as we created for semifinished product by material assignment function in routing.when i go to do like that i am facing one problem.when i go to component assignment for finished material to operation,it shows the component over there which are in Bom of semifinished product,not the component which are in Bom of finished material.so how to do the component assignment if i create the routing by materail assignment function?
            Hope u have understood my problem.

    Hi Jitendra,
    Instead of making the scenario complex, I suggest you to go for separate routing and BOM for the semi-finished and finished product.
    How do you differentiate the routing of both the finished and semi-finished in only one ?
    regards
    Ram Kumar

  • Does WRT54GP2 work with multiple ViOP providers ?

    My question is, Does WRT54GP2 router work with multiple ViOP providers ? Can I use it with a ViOP provider other then Vonage ?
    Thanks, John

    Yes you definately can , all you need is a VOIP adapter that supports SIP . It's a standard protocol and is supported by all routers and VOIP providers

  • Can I have multiple Game Center accounts with one Apple ID?

    My wife and I use the same Apple ID but want to have individual game enter accounts. Is this possible? Or does my wife need to set up her own Apple ID? Any one got any ideas?

    After 2 hours worth of searching with no answer, I decided to run a test and it worked. This is what I did to have multiple Game Center IDs on iOS7. (People responding may have over looked this detail because they assumed it was obvious, but it wasn't)
    Answer: you MUST have multiple Apple ID accounts, however, you use the main one to log in to SETTINGS > ITUNES & APP STORE.
    1. I deleted the Alternate Email Address associated with my account
    2. I created an entire new Apple ID with this email address
    3. I login in to SETTINGS > ITUNES & APP STORE with my original Apple ID (credit card on file)
    4. I login to Game Center, iCloud, etc... with my kid's NEW Apple ID
    So purchasing still goes under our shared account and game center, iCloud, etc... go under my kid's Apple ID.
    ^ ^ ^ ^ This is the simple straight forward answer I was looking for ^ ^ ^ ^

  • How do I add multiple Game Center accounts with one Apple ID and one device(I phone 4s)

    I Need help  adding more then one Game Center account to my iphone and I don't want to make a new Apple ID please help and thanks to all who answer.

    After 2 hours worth of searching with no answer, I decided to run a test and it worked. This is what I did to have multiple Game Center IDs on iOS7. (People responding may have over looked this detail because they assumed it was obvious, but it wasn't)
    Answer: you MUST have multiple Apple ID accounts, however, you use the main one to log in to SETTINGS > ITUNES & APP STORE.
    1. I deleted the Alternate Email Address associated with my account
    2. I created an entire new Apple ID with this email address
    3. I login in to SETTINGS > ITUNES & APP STORE with my original Apple ID (credit card on file)
    4. I login to Game Center, iCloud, etc... with my kid's NEW Apple ID
    So purchasing still goes under our shared account and game center, iCloud, etc... go under my kid's Apple ID.
    ^ ^ ^ ^ This is the simple straight forward answer I was looking for ^ ^ ^ ^

  • HT201304 How do you set up multiple game center profiles on a single itunes account? Example, my daughter is too young for her own account but wants games on her ipod touch with her own profile. Any help would be great.

    How does one set up more than one game center profile on a single itunes account? For example, my daughter is too young for her own itunes account but would like her own Game Center profile to except invites and play games with her friends. Any help would be greatly appreciated.

    Maybe:
    Multiple game center accounts for...: Apple Support Communities

  • Problem with Multiple record creation using BAPI BAPI_PRICES_CONDITION

    Hi,
    I am working on IS Media Sales And Distribution wherein i am using BAPI BAPI_PRICES_CONDITION for condition record creation in TCODE JC9B. I am able to create one record using this BAPI for one sales promotion but having problem while creation of multiple records for the same sales promotion wherein my internal table have multiple records. It gives me error that data in BAPICONDIT is missing.
    I am aatching followig code for reference
    BAPI have field of varkey which i am filling as combination of sales org. + distn channel + sales promotion + delivery type
    In this varkey  delivery type is changing for sales promotion Can be said that one sales promotion can have multiple delivery type .
    Am i giving the correct varkey for each itration of internal table ?
    I am attaching code for reference.
    Here loop it_cond contain one promotion and multiple delivery type.
    sales org   distn ch  promotion     delivery
    0100             01        zsalesprom   03
    0100             01        zsalesprom   z3
      LOOP AT it_cond INTO wa_cond.
    Get next condition number
          CALL FUNCTION 'NUMBER_GET_NEXT'
            EXPORTING
              nr_range_nr                   = '01'
              object                        = 'KONH'
      QUANTITY                      = '1'
      SUBOBJECT                     = ' '
      TOYEAR                        = '0000'
      IGNORE_BUFFER                 = ' '
           IMPORTING
              number                        = number
      QUANTITY                      =
      RETURNCODE                    =
    EXCEPTIONS
      INTERVAL_NOT_FOUND            = 1
      NUMBER_RANGE_NOT_INTERN       = 2
      OBJECT_NOT_FOUND              = 3
      QUANTITY_IS_0                 = 4
      QUANTITY_IS_NOT_1             = 5
      INTERVAL_OVERFLOW             = 6
      BUFFER_OVERFLOW               = 7
      OTHERS                        = 8
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Here i am concacating varkey for each new delivery
    CLEAR : l_min,l_length,l_var.
    CONCATENATE wa_cond-vkorg wa_cond-vtweg wa_cond-wrbakt INTO l_var.
    l_length = STRLEN( l_var ).
    IF l_var+14(2) IS INITIAL.
    WRITE wa_cond-lifart TO L_VAR+14.
    l_length = STRLEN( l_var ).
    ENDIF.
    W_LINE = W_LINE + 1.
    *First table in BAPI
            wa_bapicondct-operation = '009'.
            wa_bapicondct-cond_usage = 'A'.
            wa_bapicondct-table_no = '506'.
            wa_bapicondct-applicatio = 'J0'.
            wa_bapicondct-cond_type = 'RATE'.
            wa_bapicondct-varkey = l_var.
            wa_bapicondct-valid_to = wa_cond-datbi.
            wa_bapicondct-valid_from = wa_cond-datab.
            wa_bapicondct-cond_no = number. "
            APPEND wa_bapicondct TO it_bapicondct.
    *Second table in BAPI
            wa_bapicondhd-operation = '009'.
            wa_bapicondhd-cond_no = number.
            wa_bapicondhd-cond_usage = 'A'.
            wa_bapicondhd-table_no = '506'.
           wa_bapicondhd-created_by = sy-uname.
           wa_bapicondhd-creat_date = sy-datum.
            wa_bapicondhd-applicatio = 'J0'.
            wa_bapicondhd-cond_type = 'RATE'.
            wa_bapicondhd-varkey = l_var.
            wa_bapicondhd-valid_from = wa_cond-datab.
            wa_bapicondhd-valid_to = wa_cond-datbi.
            APPEND wa_bapicondhd TO it_bapicondhd.
    *Third table in BAPI
            wa_bapicondit-operation = '009'.
            wa_bapicondit-cond_no = number.
            wa_bapicondit-cond_count = wa_cond-cond_count.
            wa_bapicondit-applicatio = 'J0'.
            wa_bapicondit-cond_type = 'RATE'.
            wa_bapicondit-calctypcon = 'C'.
           wa_bapicondit-scaletype  = 'A'.
            wa_bapicondit-cond_value = wa_cond-kbetr.
            wa_bapicondit-condcurr = wa_cond-konwa.
            wa_bapicondit-promotion = wa_cond-wrbakt.
            APPEND wa_bapicondit TO it_bapicondit.
    *Fourth table in BAPI
            wa_bapicondqs-operation = '009'.
            wa_bapicondqs-cond_no = number.
            wa_bapicondqs-cond_count = wa_cond-cond_count.
            wa_bapicondqs-currency = wa_cond-kbetr.
            wa_bapicondqs-condcurr = wa_cond-konwa.
           wa_bapicondqs-cond_unit = 'EA'.
            wa_bapicondqs-LINE_NO = W_LINE."'0001'.
            APPEND wa_bapicondqs TO it_bapicondqs.
    *Fifth table in BAPI
            wa_bapicondvs-operation = '009'.
            wa_bapicondvs-cond_no = number.
            wa_bapicondvs-cond_count = wa_cond-cond_count.
            wa_bapicondvs-currenckey = wa_cond-konwa.
            wa_bapicondvs-currenciso = wa_cond-konwa.
           wa_bapicondvs-currency = wa_cond-kbetr.
           wa_bapicondvs-condcurr = wa_cond-konwa.
           wa_bapicondvs-curren_iso = wa_cond-konwa.
           wa_bapicondvs-LINE_NO = W_LINE."'0001'.
            APPEND wa_bapicondvs TO it_bapicondvs.
            CALL FUNCTION 'BAPI_PRICES_CONDITIONS'
    EXPORTING
      PI_INITIALMODE       = ' '
      PI_BLOCKNUMBER       =
              TABLES
                ti_bapicondct        = it_bapicondct
                ti_bapicondhd        = it_bapicondhd
                ti_bapicondit        = it_bapicondit
                ti_bapicondqs        = it_bapicondqs
                ti_bapicondvs        = it_bapicondvs
                to_bapiret2          = it_bapiret2
                to_bapiknumhs        = it_bapiknumhs
                to_mem_initial       = it_cnd_mem_initial
             EXCEPTIONS
               update_error         = 1
               OTHERS               = 2
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
             EXPORTING
               wait          = 'X'
    IMPORTING
      RETURN        =
            CLEAR : wa_bapicondct,wa_bapicondhd,wa_bapicondvs,wa_bapicondqs.
            CLEAR : wa_bapicondit.
          ENDLOOP.
        ENDIF.
      ENDIF.
    Kindly Suggest.
    Thanks
    Parag

    Solved By myself
    There is problem while passing data to internal table for item level

  • Creation of Multiple Shipments with respect to Single inbound.

    Hi,
    This is regarding creation of Multiple Shipments with respect to Single inbound.
    In standard SAP, you can create Shipment cost based on Inbound number.Requirement is here for single inbound can we create multiple Shipment document.
    Can we do shipment costing for Multiple shipment in single document through VI01.
    Yours Help in this will be highly appreciated.
    Regards
    Sunami.

    dear friend,
    to process shipment cost documents you can either call up a shipment cost document in change mode or you can create lists of the shipment cost documents
    you can create the following lists:
    -Shipment cost documents for calculation
    -Shipment cost documents for settlement
    to process a single document use t-code VI01
    to create lists of shipment cost documents to be changed use t-code  VI11
    so, if you need something very special you would think about the new enhancement...
    good luck!

Maybe you are looking for

  • Personal file sharing via a cable modem and AEBS

    At home, my Internet access is provided by a Comcast cable modem. It used DHCP; however, the address I get assigned rarely changes. What I want to do is use my G5 and an external disk to back up files from my MBP while I travel. I have a new AirPort

  • Trying to write to a windows drive

    A client asked me to edit nearly 100 gb of audio data, and so he loaded it all on an external USB iomega hard drive and dropped in the mail. Except his computer was a windows system, which means the hd is a windows Windows NTFS disk. I can read the f

  • JFace + ANT

    Has anyone able to configure a build.xml that works with jface? Which jars do I need to include? Along with the swt.jar I've included org.eclipse.core.runtime_3.3.100.v20070530.jar org.eclipse.ui.workbench_3.3.2.M20080207-0800.jar org.eclipse.jface_3

  • Kerberos and SPNEGO

    I wan trying to do sso for Oracle UCM 11g which uses weblogic 10.3.4 using Kerberos and SPNEGO as stated in Oracle documentation I followed all steps on the following links http://download.oracle.com/docs/cd/E17904_01/web.1111/e13707/sso.htm#i1102021

  • Flashing lines of dots

    I opened my macbook a1181 and to the left side i have a vertical strip about 2 inches wide with lines of dots that flash.  When starting up the computer it is just a small area in the middle of the screen but once te computer is running its from top