Customization for create 2 Work orders for different vendors against 1 PR

Hi,
What are the customization settings  to create 2 work orders for 2 different vendors against 1 PR with half-half quantity?

thank you Mario.
Actuly its infrastructure cmpany & user wants create Purchase order(service work order) for two different vendors with reference to single PR with alocating 60% quantity to 1st vendor & remaining 40% to another vendor.
user allready created Po for 1st vendor (60% Quantity).
Now system showing error " Quantity is allready full for reference PR"
I want to know what is the procedue to solve this issue & customization.

Similar Messages

  • Create a work order using the BAPI for IW31

    Hi,
          I want to create a work order using the BAPI for IW31 tr. can any one help me with the program description.
    Full points will be awarded for the useful answers.
    Thanks and regards,
    Sunil

    hi,
      first use fm "bapi_po_create".
      then use fm "BAPI_ACC_GL_POSTING_POST"
    The demo environment was made with real business scenario in mind, but following subjects need to be addressed in a live implementation:
    •     No exceptions and error handling is implemented, except the order rejection (e.g. partly delivery);
    •     In Navision both XML Ports and the XML DOM has been used to integrate with SAP XI, because XML ports has some drawbacks regarding to Namespaces in XML Documents (mandatory in SAP XI);
    •     A minimum of SAP and Navision customization is required to implement this solution. (e.g. user exit in SAP, Navision XML DOM).

  • BAPI for transaction IW31 (creating a work order)

    Hi all,
    I need to be able to create a work order ( IW31) using ABAP code and was wondering if any knew if there was a BAPI that should be used for this functionality.
    Thanks in advance
    Mart

    hi,
    You can use
    BAPI_ALM_ORDER_MAINTAIN.
    Have a look at the following documentation.
    FU BAPI_ALM_ORDER_MAINTAIN
    Text
    Process Maintenance-/Service Order
    Functionality
    This Business Application Programming Interface (BAPI) is used for changing maintenance- or service orders and their lower-level objects. The following objects of an order can be processed (for restrictions, see the note at the end of the documentation):
    Order header
    Partner
    User status
    Order operations
    Relationships
    Components
    Long texts for order header, operations, and components
    Function
    Calling up this BAPI once allows you to perform all the operations. For this the system supplies the function module with a method table containing the methods to be performed. The entries in the method table refer to data records in the optionally filled-out data tables. All the methods from the method table are performed. Alternatively, just lower- level objects from existing orders can be changed.
    You can process the transferred data with the Business Add-In (BAdI) IBAPI_ALM_ORD_MODIFY to, for example, merge data from the external system with data from the R/3 system. The BAdI is called up as soon as the transferred data is converted into the internal format. The tests then take place after this.
    Construction of Method Table
    REFNUMBER Reference number for linking object methods - attributes
    The reference number is the line of the database which contains the corresponding data. The data table is determined by the object type.
    OBJECTTYPE Object category
    The object category specifies which object from the order should be processed. The key words listed here are not language-dependent and must be transferred exactly as they are. The following objects exist:
    HEADER Order header
    PARTNER Partner data
    USERSTATUS User status
    OPERATION Operation data
    RELATION Relationships
    COMPONENT Components
    TEXT Long texts
    (empty) ,General BAPI functions (save)
    METHOD Methods
    The methods with which the data should be processed. The following functions exist:
    CREATE Create objects
    CHANGE Change objects
    DELETE Delete objects
    RELEASE Release
    TECHNICALCOMPLETE Technically complete
    ATPCHECK Availability check
    CALCULATE Calculate
    SCHEDULE Schedule
    DELELTEDSEX Delete the status for external scheduling at operation level
    SAVE Save all data
    DIALOG Call-up dialog. See explanation below.
    TRACE Write trace file in the specified file to the frontend
    OBJECTKEY SAP external object key
    This key is for assigning the lower-level objects correctly to the corresponding objects, as there is always just one key in the data table. The key must have the following structure:
    1-12 Order number
    When creating orders with internal number assignment, a reference number beginning with % must be entered here. The BAPI then returns this number and the number actually assigned.
    13-16 Operation number
    17-20 Sub-operation number
    For relationships, the key is structured as follows:
    1-12 ,Order number from
    13-16 Operation number from
    17-28 Order number to
    29-32 Operation number to
    The following methods are permissible for the individual objects:
    HEADER:
    CREATE, CHANGE, RELEASE, TECHNICALCOMPLETE, ATPCHECK, CALCUALTE, SCHEDULE
    OPERATION
    CREATE, CHANGE, DELETE, DELETEDSEX
    PARTNER, RELATION, COMPONENT, USERSTATUS, TEXT:
    CREATE, CHANGE, DELETE
    (empty):
    SAVE, DIALOG, TRACE
    Data tables and update tables
    The objects have one or more data tables. For some objects you can specify which of the fields specified in the structure should be changed. For this you must set the field in the corresponding table to X as in the data table. If no update-table is transferred, then only those fields are set that have a value that is not initial. This simplifies the transfer data. However, this means it is not possible to delete fields. If an update structure should only be specified for some data records, the table with the update fields must nonetheless have the same amount of lines as the data table. The empty lines are then treated as if no update structure was transferred. The objects "Partner", "User Status", and "Text" have no update tables. The whole data record is always copied here.
    References
    The objects use the field REFNUMBER from the method table to refer to the lines in the data table. Counting always begins with 1. In doing this, REFNUMBER also refers to the update table. However, in the method table there is a second reference to higher-level objects for lower-levels objects. The field OBJECTKEY must be filled with order number, operation number, and sub-operation number, as specified above. If lower-level objects of a newly-created order should be changed, then you must enter a temporary order number that must begin with %. Several orders can be numbered serially, for example, with %00000000001, %00000000002 ... .
    The following objects have special treatment for REFNUMBER:
    Partner
    Texts
    Partners have an order number in the data table. During processing of the method table, all those entries in the data table are processed which have an order number that is the same as that in the line to which the method refers. Thus, through just one entry in the method table, several partners can be changed.
    Texts are composed of two tables. The first table (IT_TEXT) is made up of the header data of the text. Here you must specify the object and the first and last line of the text table (respectively inclusive, counting from 1). Through this, a line segment is specified in the text line table (IT_TEXT_LINES).
    Peculiarities in processing
    The BAPI processes the transferred methods in a particular sequence, which must not correspond to the sequence in the methods table.
    Write trace file
    Change user status time period 1
    Delete objects (dependent first)
    Create new objects
    Change existing or newly-created objects
    Change user status time period 2
    Status change of order
    Save data
    The methods are performed such that lower-level objects can also be assigned to newly-created objects. For example, first the operations are created, and then the components. Long texts can also be created for the objects.
    Components have an exceptional position. Components are created through the assignment to an operation, that is, using the "key" order/ operation (item number). However, as this is not the unique component key, you can only access the components to change them, delete them, or add long texts by using the reservation number/-item, which is only given after saving. This means that, for example, you cannot create a long text when you create the component.
    User status changes can take place at two different time points. Time point 1 is before the object changes, time point 2 is after the object changes and before the status change of the system. These time points should be defined in the transfer table in the field CHANGE_EVENT. The field documentation contains the possible values.
    The external scheduling is offered by the BAPI as a special function. THe BAPI can set the date field directly at the operation level, and select the operation with the status DSEX "Date set by external system". This status prevents any further scheduling of the operation, it keeps the transferred dates. For this, set the category 'X' in the restriction categories. When reading the operation, this category is also returned, independent of the category of restriction set in the dialog. To delete the status, you can call up the method DELETEDSEX for the object operation. The external scheduling cannot be influenced in the dialog. All changes to the scheduling restrictions in the dialog are saved as normal, but are not relevant for the scheduling as long as the status DSEX is active.
    Every time the BAPI is called up, a SAVE or DIALOG method must be transferred. Normally, calling up a BAPI is seen as a transaction. All data that is changed in the BAPI should be saved to the database immediately. The BAPI checks whether a SAVE method exists, otherwise it terminates processing. A test run of the BAPI is composed of a normal call-up using the SAVE method and a subsequent BAPI_TRANSACTION_ROLLBACK. To call up the BAPI without the SAVE method, for example, to realize dialog transactions, the BAPI can be called up with the DIALOG method. This switches off the check for the SAVE method. The processor must then ensure that later either a SAVE method or a BAPI_TRANSACTION_ROLLBACK is called up.
    A BAPI_TRANSACTION_COMMIT without SAVE method terminates processing in the update to ensure that no inconsistent data is written to the database. The processor who called up the BAPI does not receive any confirmation for the termination of the update in the target system. This logic is necessary as the order data was flagged for updating with BAPI_TRANSACTION_COMMIT through the SAVE method. However, the status information was already flagged for updating when the BAPI was called up. A BAPI_TRANSACTION_COMMIT without SAVE method then just saves the status information and would generate inconsistent orders, if the updating was not terminated.
    Customer Enhancement
    The BAdI IBAPI_ALM_ORD_MODIFY can be used to change the transferred data. The BAdI is called up after the conversion of the transfer structure into the structures used internally. Additional data can be transferred using the table EXTENSION_IN. Only then is the data checked.
    Example
    The following examples should clarify the use.
    Creating an order
    OBJECTKEY should be filled with a temporary key. The BAPI returns this key together with the assigned order number in the return table ET_NUMBERS . The order number in the HEADER table should also be filled with the number. For external number assignment, the external number should be specified. The update structure can be transferred if necessary.
    Methods table
    REFNUMBER OBJECTTYPE METHOD OBJECTKEY
    1 HEADER CREATE %00000000001
    IT_HEADER
    ORDERID ORDER_TYPE PLANPLANT ...
    %00000000001 PM01 1000 ...
    Creating an order with operation and long text
    Methods table
    REFNUMBER OBJECTTYPE METHOD OBJECTKEY
    1 HEADER CREATE %00000000001
    1 OPERATION CREATE %00000000001
    1 TEXT CREATE %000000000010010
    IT_HEADER
    ORDERID ORDER_TYPE PLANPLANT ...
    %00000000001 PM01 1000 ...
    IT_OPERATION
    ACTIVITY SUB_ACTIVITY CONTROL_KEY WRK_CNTR ...
    10 PM01 MECHANIC ...
    IT_TEXT
    ACTIVITY ... TEXTSTART TEXTEND
    10 ... 1 2
    IT_TEXT_LINES
    TDFORMAT TDLINE
    Longtext for operation 10, line 1
    Line 2 of the long text
    Notes
    Using the BAPI to process the order data cannot support all the functions of the transaction. This applies in particular for the following functions:
    Order header data
    The object list cannot be processed.
    Refurbishment orders are not supported.
    The estimated costs cannot be processed - only the estimated overall costs of the order.
    Notification data cannot be processed with the order BAPI. Even if the settings in Customizing are such that the orders and notifications can be maintained on one screen, no notification is created for the order.
    Permits cannot be processed.
    The order addresses cannot be processed.
    Individual partner addresses cannot be maintained.
    The settlement rule cannot be maintained.
    Order functions
    Printing the papers is not possible.
    Locking and unlocking the order is not possible.
    Accepting and rejecting quotations is not possible.
    Business completion is not possible.
    Flagging for deletion is not possible.
    The log cannot be displayed.
    User default values are not used.
    The field selection is not checked.
    The Customer Exits/BAdIs are not executed completely.
    Joint ventures are not supported.
    Funds Management is not supported.
    Investment orders are not supported.
    No integration of service products with task lists possible.
    No integration of configurable service products possible.
    Assignment of sales document items with service products in accordance with the aforementioned conditions.
    Operation data
    A change of the control key in the operation is not possible, if this leads to a change of the processing type (internal-/external processing)
    User status change not possible.
    Production resources and tools cannot be processed.
    Service lines cannot be processed.
    Task list integration is not supported.
    Linking operations with object list is not supported.
    Component data
    User status change not possible.
    BOM data cannot be processed.
    The delivery address cannot be processed.
    Further Information
    See also the documentation for the individual transfer tables.
    Parameters
    IT_METHODS
    IT_HEADER
    IT_HEADER_UP
    IT_HEADER_SRV
    IT_HEADER_SRV_UP
    IT_USERSTATUS
    IT_PARTNER
    IT_PARTNER_UP
    IT_OPERATION
    IT_OPERATION_UP
    IT_RELATION
    IT_RELATION_UP
    IT_COMPONENT
    IT_COMPONENT_UP
    IT_TEXT
    IT_TEXT_LINES
    EXTENSION_IN
    RETURN
    ET_NUMBERS
    Exceptions
    Function Group
    IBAPI_ALM_ORDER
    ~~Guduri

  • How to track cost for different Vendors through SAP PM

    Hi
    Maintenance needs to discuss with SAP PM Consultant for tracking the different vendor for civil, painting and external services jobs from asset locations and class. It means that total expenses of Civil, Painting and external services jobs for different locations should be easily gathered.
    Also ,As temporary solution of identifying posting for different vendors, how maintenance will be able to find actual amount posted for different vendors
    Regards
    chand

    Hi
    can you tell me where we can make control
    When RFQ is created the PR is not allowed to change when the PR is manually created & it is working perfectly.
    but when PR is created thorugh work order then even if RFQ is created/released  it is allowing to change PR when created throogh work order
    Please tell me where is control
    Regards
    chand

  • When Creating a Work Order Import Standard Operations

    A client is requesting the following functionality when creating a Work Order: Create the first nine operations with different work centers and number operations 0001 u2013 0009.  For operation ten continue numbering with 0010 and increase by 10, ie, 0020, 0030, etcu2026 .   And operation 0010 would default header data.
    Can this be accomplished through standards configuration or would this entail a user exit?
    Thanks in advance!!
    JAM

    It can be possible, depending on how you create the Work Order.   If these operations are used often and are in a task list, you can create a work order and import the task list operations by using the menu "extras -> task List selections" inside the work order.    If it is part of a preventative maintenance plan, you can configure that your task list is automatically copied to the notification/work order when generated by your maintenance plan.  Of course in the task list you could save all the increments and work centers as you want.   But this would never be a dynamic check to your header data, it would only be as accurate as your task list.

  • Unplanned Delivery costs in MIRO for different Vendor

    I have an annual PO and I invoice it with normal MIRO transaction.
    At the same time I have one service which I want to be a unplanned delivery cost for this PO. This service will be assigned to the material account and it is for a different vendor.
    Can I do it in MIRO creating only the value in the unplanned delivery cost and insert a different vendor? In OBYC this is assigned to UPF category.
    Can you please help me?

    Hello,
    You can use transaction MIRO to do unplanned delivery costs.
    You use "Subsequent Debit" and insert the PO number (equal to invoice). The system will show the lines of the PO that were already invoiced and in the tab "Details" you should change the Invoice Party and inser the value of the unplanned delivery costs in the field "Unpl. Del. Csts".
    If you don't have the costs in the PO for different vendor you must create like this...with Subsequent Debit. Only if you have planned costs in the PO it is possible to do it invoice and costs in the same document for different vendors otherwise you must have 2 documents (invoice for the material vendor and subsequent debit for the other unplanned costs vendor).

  • Invoice for different vendor

    Hi,
    I have created PO for XYZ vendor and when I create Invoice it goes on different vendor as ABC. and it is not regular its happening some time.
    please suggest me why it is happening.
    Thanks
    Shital

    Hi
    check your vendor account group for  both vendor number for which its  happening  and vendor for which its not happening
    it might be you have took different  account,than regular ,for which vendor partner function active
    If its active for all account group the, check in vendor master record you have assign any invoicing party vendor in partner function
    if its correct
    then check you Po header partner tab,user might  change it in PO
    Regards
    Kailas  ugale

  • Settlenent of Work Order on different WBS

    Dear expert,
    In PM Order (IW31) , operation tab i have a list of operation for that different activity types are mintained
    against the work center , i want to settle the different operation against the different WBS elements
    for ex. 0010 to 0050 operation on one WBS element
    and     0060 to 0100 operation on another WBS .
    at the same time the no. of operation is more than say 100
    In settlement rule it not practical to give % for every WBS as no of WBS are also more.
    My problem is how to settle the every operations  against different WBS as n... number of operations are there.
    Rahul

    Hi,
    Its not possible to settle different orders on different WBS as WBS is defined at teh header level.
    But two other options you can try:
    Define activities types in work centre and these activities types will work as a linkage between work centre and cost centre. So for perticular activities used in work centre and then usd in work order the cost can directly be moved to cost centre operation wise.
    More you will get if you go to teh costing tab of the work centre. In that case your cost will be directly settled to a cost cenre not on WBS.
    Or you can create a sub orders for different operations. there you can deifne WBS based on same operations.Means WBS 1 for main order and itz corresponding operations , then create a sub orders for seconf group of operations with other WBS.

  • Movement type 262 when creating a work order (tx IW31)

    Hi experts!!!!!
    I need to cover the following scenario:
    *sometimes, when the client carries out a work, they recover one item. Ideally they want to take into consideration this item as well from a point of view of costs, which means that in order to carry our the work some items and labour will be used and it will be considered as a cost but the item recovered will be considered as less cost (profit). In customizing (plant maitenance -->Maitenance and service orders --> General data -->define movement types for material reservations) that it is possible to customize the movement type to be used in case of reservations (goods issues and cancellation of goods issues). I have checked that if I change the customizing and I put 262 instead of 261, the system behaves as desired. The thing is that this affects to all the components and this is not correct. Therefore, from the work order (IW32 or IW31) I have tried to change the movement type manually, but I found that the field movement type (at component level for items L, field RESBD-BWART) is grey and it can not be changed.
    Therefore, my question is:
    *how to customize field RESBD-BWART so that I can change whenever I create or change a work order
    *which is the meaning of having cancellation of goods issue in the customizing if then I only can use movement 261.
    On the other hand, I have checked the functionality "refurbishment" but I doesn't fit because we have to use valuation type and this is not desired....
    Best regards

    Hi,
      The materials that you are entering in the component tab are "Planned" materials that you may use during the execution of the order. In your case i don't see the necessity to enter it here, You could directly do a Return goods issue against the order using movement type 262, for that specific material.This should solve your needs.
    Regards
    Narasimhan

  • Creating new work order - error on %001

    Hi all,
    Creating a new work order from the SAP Work Manager 6.0 application should be a standard functionality,
    However, on the system of our client, this goes wrong.
    Upon creating a new work order, we get the error 'Enter a numerical operation number'.
    New objects get an ID that starts with 'LOCAL_xx:xx:xx', which is converted to %001.
    SAP should recognize this and convert this automatically to 0010, 0020, ...
    how come this does not happen?
    it works fine on our SAP system, our customer's system gives an error.
    Kind regards,
    Judith

    Have you done any enhancement to  standard  product "specifically create method of  Work  Order Class handler" . or the standard product functionality itself is not working ?
    I don't see any reason why it works in your system but not in customer system. Try to put break point in create method of Work order class handler and check what  values are passed  for operation  number before invoking Work  Order create BAPI. 
    Infact Work Manager product converts local numbers to incremental  sequential  numbers before invoking create BAPI for Work Order.
    BR,
    Manju - SAP CEG UX/Mobile

  • Creating a Work Order List with a BLS Transaction

    I'm trying to create a list of work orders at a specific plant with a BLS transaction.  I'm running 4.6c.  I'm having trouble finding a BAPI that I can use for this.  The BAPI list in BAPI Explorer seems rather abbreviated when it comes to plant maintenance functions.  Any ideas?

    I did find one BAPI that looked promising 'BBP_PMORDER_GET_LIST' but unlike other BAPI's that had an INPUT section and an OUTPUT section, this one just had a TABLES section (and I couldn't find any documentation with it)
    What is involved in creating a custom BAPI?
    (We'll be on ERP2005 next spring so these 4.6c issues are temporary.)
    I appreciate your help with this.

  • Change PR item short text when created from Work Order

    Hello,
    Is there a way to edit the PR item short text when the PR is generated from a Work Order. When we open the PR, the item short text is grayed out.
    We have created Material Master Number for Contract/ BPA items. When we input that particular material number under the components tab on the WO then release it ,it creates a PR. The Material Master description gets transfered to the PR.
    Our issue is that the Material Master is to generic and we would like to change the description on the PR level.
    Is this possible?
    Thanks,

    Hi
    I think neither there is any way to change the Material Description in PR nor its a good SAP Practise as it is having lot of implecations of stocking , physical inventory , reconciliation etc .
    If Item codes are generic suggest if u can use the PR or PO long text to enable the buyer for the procurement & supplier for supply the material as per long text specifications .
    Regards
    Sameer

  • Different MIC,s for different vendor.

    Hi,
    My client has a business sceenario like this...
    they procure same material from 2 different vendors.for one vendor they want simple MIC's to be inspected and for other they want some more characteristics to be checked. I can use two IP but they dont want it.
    Plz give some solution for this.
    Thanks

    create a inspection plan for the material.
    Create 2 group counter and assign different MIC's.
    Goto header and select material assignment tab. in that you will see the group counters and also a field for vendor. you can fill the vendor no there.
    in this way you can create  combination of material, group counter and vendor.
    during GR, system will select MIC based on the above combination

  • SLED for different vendors

    All,
    I m doing project for a food industry and we are using batch management here.
    They have some materials which are having different vendors and differnet vendors have different Shelf life expiration days .
    So in that case normally what we used to do ?
    How to enter SLED in material master ?
    rfegards

    Hello Sandeep,
    I got your problem.
    - Pl. maintain the min/max shelf life period in mat mater, it does not matter.
    - Create batch record where you maintain actual self life period
    - Use this batch in PO or GR so all the SL expiration data will be copied to GR.
    Again, I suggest you to carry out this scenario in testiing environment becuase when you will carry out this transaction you will have better understanding
    Regards
    Arif Mansuri
    still you need more info, pl. give me call to my cell +1 630 935 2372.

  • Regarding BP tcode and MK03 for updating payment terms for different vendor

    My requirement was to update the payment terms in to MK03.
    Our business useseres will give the payment terms for FI Vendores in BP tcode and save payment terms for FI Vendores in BP TCODE and this payment terms shoule updated ditrectly in to MK03 for every FI Vendor .
    How we will update the payment frome BP to MK03 directly. In BP the technical name for payment terms was LFB1-ZTERM and in MK03 the technical name was LFM1-ZTERM .
    I want to update payment for single company code only. In mk01, we creating vendors for purchase org level how we will update payment to mk01 from BP TCODE pls give how i have to update this payment terms from BP to MK01.

    My requirement  was to update the payment terms in to MK03.
    Our business useseres will give the payment terms for FI Vendores in BP tcode and save payment terms for FI Vendores in BP TCODE  and this payment terms shoule updated ditrectly in to MK03 for every FI Vendor .
    How we will update the payment frome BP to MK03 directly. In BP  the technical name for payment terms was LFB1-ZTERM and in MK03 the technical name was LFM1-ZTERM .
    I want to update payment for single company code only.  In mk01, we  creating vendors for purchase org level how we will update payment to mk01 from BP TCODE pls give how i have to update this payment terms from BP to MK01.

Maybe you are looking for

  • Using web services in Approval Work flow in OIM 11g

    Hi All, I am a new bie to OIM 11g. I have created an approval work flow and it is working fine. Now my requirement is to use a web service in the approval work flow instead of directly embeding the java code in Java Embeding Activity. Can some body s

  • Pointer to a function (C .dll files)

    Hi, We have a .c dll file that we are trying to use in Labview to talk to a USB transceiver. What happens is that when we try to configure the device we call c functions using the "call library function node" utility in Labview i.e. void open_channel

  • How to formulate where clause in select query at runtime..??

    I am facing a problem.. I have to generate a select query during runtime..For Ex: when user selects a row in an alv report, particular date field is to be read and another report is to be opened for that data.. I know how to make drill down report bu

  • Doubt on Purchase Orders

    Hi gurus, I have one query with me, our client create some Purchase Orders in Development Server. Now we are planning to move Production server.Is it possible to move the Purchase orders in development server to Production server. If yes please sugge

  • Iplanet

    Hello friends, i setup iPlanet 6.0SP9 and get the following error message when i enter: # ./start ./uxwdog: relocation error: ../lib/libnsres30.so: symbol errno, version GLIBC_2. 0 not defined in file libc.so.6 with link time reference any ideas? tha