Automatic inter org transfer - sales ordering

Hello
we have the following issue : (we do not have MRP, ASCP)
we have one operating unit , with 3 inventory organizations
our items are being flagged as ATO
so for a normal customer item, so a normal customer order , standard bill and ship ; if we put in an order (make or buy) this will trigger the creation of a requisition or a work order; so thhis is working ok ...
now, sometimes,
if inventory org A cannot make it , they will source it from inventory org B -
example ; on my order I put in as inventory org A, but if there is no stock , then it would need to be sourced from inventory org B (B is not setup as a supplier),
My question is , can we automatically have an internal requisition and internal sales order triggered, or would this only be done if we would have MRP? or if we wld create manually an IR - ISO...
A, B, C are also physcically seperated from each other, so the goods move between the orgs with all the relevant shiipping papers...
hope you understand my question,
thanks
Els

In absence of MRP/ASCP, you will have to create the IR manually.
Once approved, that IR will get converted into a booked ISO automatically.
Hope this helps
Sandeep Gandhi
Independent Consultant

Similar Messages

  • What is the difference between Inter-org Transfer & ISO

    Can anybody please share the difference between Inter-org Transfer & ISO?
    e.g. Legal bounding, accounting entries, traceability, charging to demanding entity/organization...
    Also please help me to understand when shall we use which option, and where we can not use which option...
    e.g. Inter-org transfer can't be used when material in required in some different LE (Legal entity).

    Internal Sales Order (ISO) is the same as the PO and SO creation process which occurs within the Company. It is a process used to request and transfer material from one inventory to another with the Same or Different Operating Unit. This is usually initiated in Oracle Purchasing which creates a Requisition and upon running the Create Internal Sales Order Concurrent program, the order is loaded into the Order Import Tables. The Order Import program is run in the Order Management of the Operating Unit in which the Orders needs to be Created. The Order is then booked and shipped and received in the destination organization. The invoicing activity depends on the company rules.
    Inter Org Transfers are the material transfers within two Organizations that are under the same Operating Unit. There is no creation of the sales orders or anything but a regular material transfer from one org to another. The item needs to be defined in both the Organizations. This is usually done to maintain the inventory balances and there is no actual shipping process that is defined for this.

  • Transfer Sales  Order from client to client

    Hi All,
    I am trying to transfer sales order from one sap to other sap system.Here i am using ale idoc process.In the system there are some sales orders,i need to transfer that to other system.we configured message type and added out put types as ALE and it is sending idoc to other sap system and it is not creating automatically so in debug mode i can run that and creating sales order.Here i am facing some issues like
    1) Condition types like (ZJPR) manual condition type for base and insurance   is not transferring,and i can not see in this in outbound idoc.
    2) Will it create sales order automatically or do we need run manually.
    All valuable suggestions are welcome.if it not a right place then i can move this to ABAP Connectivity.
    Regards,
    Madhu.

    Thanks Madhu -
    Could you please Check that your Distribution Model is setup correctly.You should have Message type ORDERS in your sending and receiving System.
    Sender System
    Receiver System
    If Above setting is not reflected in your system then either create New Distribution model or delete message type from existing Model.-----Add New Message Type-----and distribute model from Sender system.
    Regards
    Amit

  • 11.5.10 ROI를 통해 INTRANSIT SHIPMENT(INTER-ORG TRANSFER)를 처리하는 방법

    제품: Applications
    작성날짜 : 2006-05-30
    11.5.10 ROI를 통해 INTRANSIT SHIPMENT(INTER-ORG TRANSFER)를 처리하는 방법
    ===============================================================
    PURPOSE
    11.5.10 Receiving Open Interface를 통해 Lot / Serial Controlled Items을 Intransit Shipment (Inter-org transfer) 처리하는 방법을 기술함.
    Explanation
    11.5.10에서는 ROI를 통해 Inter-Org Transfers를 지원합니다.
    . RECEIVE transaction
    . DELIVER to Inventory Transaction
    Solution
    ========
    - Receiving Open Interface (ROI)를 통해서 2 inventory organizations
    사이의 Inter-Organization Transfer를 수행한다.
    - Direct Receipt Routing으로 RECEIVE 와 DELIVER transaction을 동시에
    수행한다.
    <1> the sample script has been tested for a Lot and Serial
    Controlled Item.
    The script will load records into the tables
    RCV_HEADERS_INTERFACE,
    RCV_TRANSACTIONS_INTERFACE,
    MTL_TRANSACTIONS_LOTS_INTERFACE
    MTL_SERIAL_NUMBERS_INTERFACE
    * If the item is only a standard item, only the records into
    RCV_HEADERS_INTERFACE and RCV_TRANSACTIONS_INTERFACE tables
    have to be created.
    <2> Setup
    1) Inventory Setup/Organizations/Shipping Networks
    - From Sending Organization M1 to Destination Organization D2
    - Transfer Type=Intransit
    - Receipt Routing=Direct
    2) Item 'Lot-Serial-Controlled-1' is a lot and serial controlled
    Item in sending and Destination Organization
    <3> Create manual "Intransit Shipment"
    Inventory / Transactions/ Inter Organization transfer
    - From Org= M1, To Org= D2
    - Shipment: 'ROI-Lot-Serial-1'
    - Item= Lot-Serial-Controlled-1
    - Lot=S00226
    - From Subinventory=Stores
    - To Subinventory=Staging1
    - Quantity=10
    - Start Serial Number=SM1_00001
    - End Serial Number=SM1_00010
    <4> data collection for RCV_TRANSACTIONS_INTERFACE table
    - Select * from RCV_SHIPMENT_HEADERS
    where SHIPMENT_NUM like '&Shipment_Num';
    - Select * from RCV_SHIPMENT_LINES
    where SHIPMENT_HEADER_ID=&Shipment_Header_id;
    - Select * from RCV_LOTS_SUPPLY
    where SHIPMENT_LINE_ID=&Shipment_Line_id;
    - Select * from RCV_SERIAL_SUPPLY
    where SHIPMENT_LINE_ID=&Shipment_Line_id;
    <5> RECEIVE/ DELIVER to INVENTORY Transaction for INTER-ORG
    TRANSFER SHIPMENT
    - Direct DELIVER Receipt
    - LOT_NUM=S00226 and serial numbers SM1_00001 to SM1_00002
    Insert
    - RCV_HEADERS_INTERFACE with SHIPMENT_NUM='ROI-Lot-Serial-1',
    VALIDATION_FLAG='Y'
    - RCV_TRANSACTIONS_INTERFACE with TRANSACTION_TYPE='RECEIVE',
    AUTO_TRANSACT_CODE='DELIVER' , DESTINATION_TYPE_CODE='INVENTORY'
    RECEIPT_SOURCE_CODE='INVENTORY', SOURCE_DOCUMENT_CODE='INVENTORY'
    VALIDATION_FLAG='Y'
    - MTL_TRANSACTIONS_LOTS_INTERFACE with quantity=2, lot number S00226
    - MTL_TRANSACTIONS_SERIAL_INTERFACE with FM_SERIAL_NUMBER='SM1_00001'
    and TO_SERIAL_NUMBER='SM1_00002'
    INSERT INTO RCV_HEADERS_INTERFACE
    (HEADER_INTERFACE_ID,
    GROUP_ID,
    PROCESSING_STATUS_CODE,
    RECEIPT_SOURCE_CODE,
    TRANSACTION_TYPE,
    AUTO_TRANSACT_CODE,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    LAST_UPDATE_LOGIN,
    CREATION_DATE,
    CREATED_BY,
    SHIPMENT_NUM,
    SHIP_TO_ORGANIZATION_ID,
    EXPECTED_RECEIPT_DATE,
    VALIDATION_FLAG
    VALUES
    (rcv_headers_interface_s.nextval , --Header_Interface_Id
    rcv_interface_groups_s.nextval, --Group_Id
    'PENDING', --Processing_Status_Code
    'INVENTORY', --Receipt_Source_Code
    'NEW', --Transaction_Type
    'DELIVER', --Auto_Transact_Code
    SYSDATE, --Last_Update_Date
    0, --Last_Updated_By
    0, --Last_Update_Login
    SYSDATE, --Creation_Date
    0, --Created_By
    'ROI-Lot-Serial-1', --Shipment_Num
    210, --Ship_To_Organization_Id,
    SYSDATE, --Expected_Receipt_Date
    'Y' --Validation_Flag
    INSERT INTO RCV_TRANSACTIONS_INTERFACE
    (INTERFACE_TRANSACTION_ID,
    GROUP_ID,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_LOGIN,
    TRANSACTION_TYPE,
    TRANSACTION_DATE,
    PROCESSING_STATUS_CODE,
    PROCESSING_MODE_CODE,
    TRANSACTION_STATUS_CODE,
    QUANTITY,
    UNIT_OF_MEASURE,
    INTERFACE_SOURCE_CODE,
    ITEM_ID,
    EMPLOYEE_ID,
    AUTO_TRANSACT_CODE,
    SHIPMENT_HEADER_ID,
    SHIPMENT_LINE_ID,
    RECEIPT_SOURCE_CODE,
    TO_ORGANIZATION_ID,
    SOURCE_DOCUMENT_CODE,
    DESTINATION_TYPE_CODE,
    SUBINVENTORY,
    SHIPMENT_NUM,
    EXPECTED_RECEIPT_DATE,
    HEADER_INTERFACE_ID,
    VALIDATION_FLAG
    VALUES
    ( rcv_transactions_interface_s.nextval, --
    INTERFACE_TRANSACTION_ID
    rcv_interface_groups_s.currval, --GROUP_ID
    SYSDATE, --LAST_UPDATE_DATE
    0, --LAST_UPDATED_BY
    SYSDATE, --CREATION_DATE
    0, --CREATED_BY
    0, --LAST_UPDATE_LOGIN
    'RECEIVE', --TRANSACTION_TYPE
    SYSDATE, --TRANSACTION_DATE
    'PENDING', --PROCESSING_STATUS_CODE
    'BATCH', --PROCESSING_MODE_CODE
    'PENDING', --TRANSACTION_STATUS_CODE
    2, --QUANTITY
    'Each', --UNIT_OF_MEASURE
    'RCV', --INTERFACE_SOURCE_CODE
    169845, --ITEM_ID
    13706, --EMPLOYEE_ID
    'DELIVER', --AUTO_TRANSACT_CODE
    233534, --SHIPMENT_HEADER_ID
    246486, --SHIPMENT_LINE_ID
    'INVENTORY', --RECEIPT_SOURCE_CODE
    210, --TO_ORGANIZATION_ID
    'INVENTORY', --SOURCE_DOCUMENT_CODE
    'INVENTORY', --DESTINATION_TYPE_CODE
    'Staging1', --SUBINVENTORY
    'ROI-Lot-Serial-1', --SHIPMENT_NUM
    SYSDATE, --EXPECTED_RECEIPT_DATE,
    rcv_headers_interface_s.currval, --HEADER_INTERFACE_ID
    'Y' --VALIDATION_FLAG
    INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE
    ( TRANSACTION_INTERFACE_ID,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_LOGIN,
    LOT_NUMBER,
    TRANSACTION_QUANTITY,
    PRIMARY_QUANTITY,
    SERIAL_TRANSACTION_TEMP_ID,
    PRODUCT_CODE,
    PRODUCT_TRANSACTION_ID
    VALUES
    ( MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL,--
    TRANSACTION_INTERFACE_ID
    SYSDATE, --LAST_UPDATE_DATE
    0, --LAST_UPDATED_BY
    SYSDATE, --CREATION_DATE
    0, --CREATED_BY
    0, --LAST_UPDATE_LOGIN
    'S00226', --LOT_NUMBER
    2, --TRANSACTION_QUANTITY
    2, --PRIMARY_QUANTITY
    MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL, --
    SERIAL_TRANSACTION_TEMP_ID
    'RCV', --PRODUCT_CODE
    RCV_TRANSACTIONS_INTERFACE_S.CURRVAL --
    PRODUCT_TRANSACTION_ID
    INSERT INTO MTL_SERIAL_NUMBERS_INTERFACE
    ( TRANSACTION_INTERFACE_ID,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_LOGIN,
    FM_SERIAL_NUMBER,
    TO_SERIAL_NUMBER,
    PRODUCT_CODE,
    PRODUCT_TRANSACTION_ID)
    VALUES
    (MTL_MATERIAL_TRANSACTIONS_S.CURRVAL,--
    TRANSACTION_INTERFACE_ID
    SYSDATE, --LAST_UPDATE_DATE
    0, --LAST_UPDATED_BY
    SYSDATE, --CREATION_DATE
    0, --CREATED_BY
    0, --LAST_UPDATE_LOGIN
    'SM1_00001', --FM_SERIAL_NUMBER
    'SM1_00002', --TO_SERIAL_NUMBER
    'RCV', --PRODUCT_CODE
    RCV_TRANSACTIONS_INTERFACE_S.CURRVAL --
    PRODUCT_TRANSACTION_ID
    Commit;
    <6> In Purchasing Responsibility, Change to receiving organization
    - run the Receiving Transaction Processor for the given group_id
    used in RHI and RTI (GROUP_ID=25168)
    <7> check a data
    Navigate to Receiving / Receiving Transactions Summary form
    - For Shipment Number ROI-Lot-Serial-1, Receipt Number 5012
    has Receive and Deliver transactions.
    Reference Documents
    Note#336924.1
    글 수정:
    heeyeol2

    I Think Rajesh is Good inspite of Merlin.
    Can u send me your mail i'd.
    Actually I'm Facing Some Proble In Receipt Header.
    As the period in GL and Inventory is open till march-07 and i'm doing transaction today.
    After this also application is throughing a error.
    APP-PO-14230
    I Can't Send u the Screen Short hear.
    Please Help Me.
    Bachan

  • Automatic Billing Creation Through Sales Order Output Type

    I have requirement to create Automatic Billing document when Sales Order has been created.
    Any Suggestion.
    Regards
    Vijay Maurya

    Hi,
    it is not supported by standard SAP.in cash sales and rush orders, delivery will be created automatically because of the settings assigned in their respective sales document types.u please check VOV8 t-code.go to the details of BV(CS) and RO.there, Create Delivery field is there and shipping conditions should be 10.
    for ur requirement, u contact ur ABAPer and ask him to put one field like Create Billing Automatically in ur sales document..then it may be possible..
    hope it helps..
    regards..
    yogi..

  • How can we reverse an inter-org transfer?

    Hi
    We have a problem with an inter-org transfer. The intransit shipment has been created to an intransit receipt and the receipt didnt create "RECEIVE" and "DELIVER" transactions. It only created "RECEIVE" so we corrected the quantity and made the receipt to zero.
    The problem now is this item/receipt is shown in the expected receipts report.
    How can we reverse or cancel the shipment?
    Any ideas please?
    Thanks,
    Prathima

    Prathima,
    What metalink says is correct.
    Option 1: Deliver it in the destination and reverse the transaction by doing one more org transfer from B to A. Clean way.
    Option 2: If your FOB point in the shipping network is Receiving, then you can probably apply a data script. You need to delete the mtl_supply and then perform miscellaneous receipt crediting intransit account and debiting inventory account. If your FOB point is shipping, your accounting has touched more accounts (if transfer pricing is involved even one more) hence this method is not recommended.
    I am not sure how many more applications you have in your instance that are dependent like manufacturing and service applications.
    If they are installed, as you can see the first approach is clean.
    Thanks
    Nagamohan

  • Raising receipt for Inter-Org transfer

    Hi,
    Is there any API for inventory Receipt creation for Inter-Org transfer.
    I have gone through Receving Open Interface, Oracle Inventory Open Interface and API Volume II(manual), it specifically says "Receiving Open Interface does not support:Receiving against Inter-Organization transfers".
    If any one has worked on this kind of assignment before ,please provide information.Your help is appreciated.
    Thanks
    Ravi

    Thanks for your reply Kashif,but the link you provided doesn't explain what source_code should be for an Inter Org Transfer
    Edited by: sandy on Oct 13, 2011 12:19 PM

  • Inter org transfer accross OUs and LEs

    Can I make an inter org transfer across OUs?If yes, what is the advantage of an ISO vis-a-vis IO transfer? Can I do an inter org transfer across LEs as well?

    The situation is I change the receipt date at first time then doing the receipt transaction, the receipt date will the changed as sysdate,
    if I change the receipt date after doing the receipt transaction, the receipt date will be chagned as what I key-in.

  • Need API information for Inter Org Transfer

    We are currently developing a form to perform inter-org transfer, we could nt customize the standard to our needs.
    What are tables affected in this process? I believe MTL_MATERIAL_TRANSACTIONS_TEMP will be one of the tables to be populated. Is there any API for the same?.
    Any pointers would be of great help.
    Thanks
    Balaji

    For any sort of material transfer transactions you need to do.
    The best way is to populate your interface table.
    There are various tables for material transfer.
    1.)MTL_TRANSACTIONS_INTERFACE
    MTL_TRANSACTION_LOTS_INTERFACE --- only for lot control
    Provide the lot information for material transaction interface if inserted in 1.
    MTL_SERIAL_NUMBERS_INTERFACE----only if serial control is also there.
    Provide the serial information for material transaction interface if inserted in 1.
    No need to touch any temp tables. They are autopopulated as a result of your interface tables.
    By the process you are goin gto run thereafter.
    Baiscally after this you can run following concurrent program
    Process transaction interface

  • Doubt on Inter Org transfer

    Hi all,can someone explain me what are the mandatory columns in mtl_transactions_interface table for Inter Org transfer.
    Any help is appreciated.
    Thanks in advance!!

    Thanks Helios for the reply
    I need to insert data into mtl_transactions_interface table.I inserted all the mandatory columns,but now the requirement is inserting data into below columns
    TRANSFER_PRICE
    TRANSFER_PLANNING_TP_TYPE
    TRANSFER_PERCENTAGE
    TRANSFER_OWNING_TP_TYPE
    TRANSFER_ORGANIZATION_TYPE
    TRANSFER_LPN_ID
    TRANSFER_LOCATOR
    TRANSFER_COST_GROUP_ID
    TRANSFER_COSTSo,can u suggest what data i should populate in the above columns for an Inter Org transfer.Should i hard code some of them or should i get them form some table

  • Is it possible inter division transfer purchase order to convert Sale order

    Hi
    PLease help me,
    In my company, I want to define a new process for inter division purchase order to convert a inter division sale order. This process we call IDT process.
    Regards,
    Ratnesh

    Are the divisions in separate company codes?
    If so you should use Intercompany Purchase order. It is not SAP standard process to convert this to a sales order as the Interco PO creates demand directly in the supplying Plant.  If you want simply to report the Intercompany sales, then you can do that via the Intercompany Invoice, no need to have a sales order.
    If same company code, then it is not possible to make sales withing the same company, as sales are made at company code level (financially) and you logically can't sell to yourself.
    Rgds
    Richard

  • ATP DATE IS NOT CONSIDERING OTHER ORGS in sales order

    WE HAVE ENTRED THE ORDER IN AT organization AND ATP DATE IS TAKEN FOR AT ONLY,IT HAS NOT CONSIDERED OTHER ORG AVAILABLE DATE
    ### Steps to Reproduce ###:
    AT OM SHIPPING MANAGER->
    quick sale order->
    enter item -> shedule ship date showing 26-Jun-2011
    but when we click on global availability screen-> item is not avalable in AT, but item is avalable on other country FR but system is not take care of this date its shows the date is 26-jun-11 (which is the today date + lead time)
    expectation si if the item is avalable in FR so sysem would give the date today + lead time of AT To FR, eg FR to AT lead time is 2 days then system would be populate the date 29-Apr-11. (not 26-Jun-11)
    Please help. customer is having UAT going on.

    Hi Prasad ,
    This enables you to debug the ATP tree . If you have created an entry here with your user name then it will not let ATP tree get converted into PP/DS orders automatically .
    It's very surprising because all  seems fine . Just cross check all the settings once with below .
    The conversion time depends on the following horizons and dates:
    ·  PP/DS Horizon
    ·  Scheduling horizon for the conversion of ATP tree structures
    ·  Requirements dates in the ATP tree structure
    PP/DS immediately converts the ATP tree structure when the sales order is saved
    ·  If the earliest requirements date for components is within the scheduling horizon or
    ·  If the latest requirements date for finished products is within the PP/DS horizon
    If none of these conditions are fulfilled when saving the sales order, the system saves the ATP tree structure in SAP APO. In this case you can only convert the ATP tree structure online or in the background when one of the conditions given above is fulfilled. Here, there is an offset for the horizons with which you can achieve an earlier conversion.
    You maintain the scheduling horizon for the conversion of ATP tree structures in Customizing for Production Planning and Detailed Scheduling under Maintain Global Parameters and Defaults. You maintain a location product specific PP/DS horizon in the location product master. If no location product specific PP/DS horizon exists, the system uses the PP/DS horizon from the planning version. You maintain these in Model and Planning Version Management.
    Love Singh

  • Transfer sales orders from one compnay code to another

    Hi
    Is it possible to transfer pending sales order from one company code to another? if yes please let me know complete procedure.
    thanks
    Sanjay

    Hi,
    You cannot transfer the sales order like this.If your company is getting closed then you can keep a deadline date before which you can close all the open orders and after that you can start creating the orders in the new company code.
    If your delivery date is beyond the deadline date then you can reject the sales orders and create them with new G/L accounts from the new company code.
    For this,you have to assign your sales organisation to the new company code.
    Reward points if it helps.
    Regards
    Karan

  • Creating a Service Order automatically when saving a Sales Order

    Hello SDN,
    I'm trying to have SAP automatically create a Service Order when a Sales Order is created. To this end, I've tried implementing BADI workitem_template and have been using method before_update. I've been using BAPI BAPI_ALM_ORDER_MAINTAIN to create the service order.
    The problem is that in order for the BAPI to save the service order, the sales order needs to be fully saved and operational. Otherwise it just keeps saying 'sales order does not exist'. So the problem is that the BADI is intervening too soon in the saving process. The temporary sales order numbers have been replaced with actual ones, but the records do not show in the database just yet. I think there's a commit that still needs to be done or something.
    However, I cannot find a BADI or user exit that intervenes after the sales order is saved into the database, so this leaves me stranded.
    Any suggestions would be heartily apprechiated.
    Kind Regards,
    Niels.
    Edited by: Niels Ruelens on Feb 20, 2008 4:20 PM
    Edited by: Niels Ruelens on Feb 20, 2008 4:22 PM

    Following your suggestions, I've created an update function module and inserted it into the USEREXIT_SAVE_DOCUMENT. In this function module, I'm calling the BAPI.
    Problem with this approach is that I cannot debug, nor is he actually doing anything. Here's the code that is put in the function. Is there anything wrong with the way I call the BAPI perhaps?
      DATA:
        lt_srule     TYPE TABLE OF bapi_alm_order_srule,
        lt_bheader   TYPE TABLE OF bapi_alm_order_headers_i,
        lt_srule_up  TYPE TABLE OF bapi_alm_order_srule_up,
        lt_methods   TYPE TABLE OF bapi_alm_order_method,
        lt_return    TYPE TABLE OF bapiret2,
        ls_vbak      TYPE vbak,
        ls_vbap      TYPE vbap,
        ls_bheader   TYPE bapi_alm_order_headers_i,
    *    ls_header    TYPE cobai_s_header,
        ls_prps      TYPE prps,
        ls_srule     TYPE bapi_alm_order_srule,
        ls_srule_up  TYPE bapi_alm_order_srule_up,
        ls_methods   TYPE bapi_alm_order_method.
    *    ls_item      TYPE cobai_s_item.
      SELECT SINGLE * INTO ls_vbak
      FROM vbak
      WHERE vbeln = vbeln.
      SELECT SINGLE * INTO ls_vbap
      FROM vbap
      WHERE vbeln = vbeln.
      FREE: lt_methods, lt_bheader, lt_srule.
    * Fill methods
      CLEAR ls_methods.
      ls_methods-refnumber  = 1.
      ls_methods-objecttype = 'HEADER'.
      ls_methods-method     = 'CREATE'.
      ls_methods-objectkey  = '%00000000001'.
      APPEND ls_methods TO lt_methods.
    *  CLEAR ls_methods.
    *  ls_methods-refnumber  = 1.
    *  ls_methods-objecttype = 'SRULE'.
    *  ls_methods-method     = 'CREATE'.
    *  ls_methods-objectkey  = '%00000000001'.
    *  APPEND ls_methods TO lt_methods.
      CLEAR ls_methods.
      ls_methods-refnumber  = 1.
      ls_methods-objecttype = ''.
      ls_methods-method     = 'SAVE'.
      ls_methods-objectkey  = '%00000000001'.
      APPEND ls_methods TO lt_methods.
    * Fill header
      CLEAR ls_bheader.
      ls_bheader-orderid    = '%00000000001'.
      ls_bheader-order_type = 'ZM02'.
      ls_bheader-funct_loc  = 'FERBL_TD5C_DER'.
      ls_bheader-planplant  = 'B006'.
      ls_bheader-sales_ord  = vbeln.
      ls_bheader-s_ord_item = '00010'.
      APPEND ls_bheader TO lt_bheader.
    ** Convert the internal WBS to an external WBS element
    *  SELECT SINGLE * INTO ls_prps
    *  FROM prps
    *  WHERE pspnr = ls_vbap-ps_psp_pnr.
    **   Fill settlement rules
    *  ls_srule-objnr =   ls_item-aufnr.
    ****    ls_srule-sales_ord = caufvd_imp-kdauf_aufk.
    ****    ls_srule-s_ord_item = caufvd_imp-kdpos_aufk.
    *  ls_srule-wbs_element = ls_item-projn.
    *  ls_srule-settl_type = 'FUL'.
    *  ls_srule-percentage = 100.
    *  ls_srule-extnr = 1.
    *  APPEND ls_srule TO lt_srule.
    *  ls_srule_up-wbs_element = 'X'.
    *  ls_srule_up-sales_ord = 'X'.
    *  ls_srule_up-s_ord_item = 'X'.
    *  ls_srule_up-orderid = 'X'.
    *  ls_srule_up-settl_type = 'X'.
    *  ls_srule_up-percentage = 'X'.
    *  ls_srule_up-extnr = 'X'.
    *  APPEND ls_srule_up TO lt_srule_up.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          it_methods              = lt_methods
          it_header               = lt_bheader
    *          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_OBJECTLIST           =
    *          IT_OBJECTLIST_UP        =
    *          IT_OLIST_RELATION       =
    *          IT_TEXT                 =
    *          IT_TEXT_LINES           =
    *     it_srule                = lt_srule
    *     it_srule_up             = lt_srule_up
    *          IT_TASKLISTS            =
    *          EXTENSION_IN            =
             return                  = lt_return.
    *          ET_NUMBERS              =.
      IF sy-subrc = 0.
      ENDIF.
    Edited by: Niels Ruelens on Feb 20, 2008 4:58 PM

  • How to transfer Sales order data from R/3 to APO!!

    Hi Techies,
    I am in the process of moving some sales order data for a particular mat/loc combination in cfm1 after creating a integration model iam even activating even in R/3 but after doing this iam not able to view those sales orders in RRP3 t-code IN APO side.
    Kindly let me know what is the procedure to transfer transactional data from R/3 to APO and to do enhancement in CIF which carries Transactional data .
    Problem solving answers would be rewarded duly !!.
    +PKP.

    Hi PKP,
    The field SPEC_STOCK has the description "Key for Special Stock Section" and is linked to schedule line of the PO. This seems to be something linked to special stock, but I am not very sure about the relevance of this field.
    I do not see any related field when I check the order in RRP3 or in RRP2. In standard SAP, you would only be able to use the fields that are already visible in APO. Otherwise you need to add the field to the standard SAP t-code display (read the value from SOMEWHERE and then display it in RRP3. This is possible using Badi /SAPAPO/RRP_IO_COL). Then only you can see the values which you have populated.
    If this field SPEC_STOCK already has some functionality (which it should have, though I am not sure what it is), you might not be able to use it for other purposes (since system does some validations for certain fields).
    You are updating the value for this field in IT_OUTPUT internal table, you also need to add an X in the corresponding field in the internal table IT_OUTPUTX.
    You could try putting this X, so that your changes are considered in CIF, but I am not sure what the impact may be, and you could get a dump also possibly. Even otherwise, since this field doesn't seem to be visible against a PO in APO, I am not sure if this would be helpful for you.
    As far as I could see, I did not find any standard field which could be helpful for you.
    May be if you open a fresh thread and ask for advice on how to send any custom comments for PO to APO, someone could provide some inputs.
    Thanks - Pawan

Maybe you are looking for

  • Are total impressions Usage Page cumulative ongoing? HP LaserJet Pro 200 color MFP M276nw

    I have a HP LaserJet Pro 200 color MFP M276nw Are total impressions on the Usage Page report cumulative for the life of the machine? I want to print a "Usage Page" monthly, because I want to know how many total impressions (prints & copies) I print e

  • Error 2001 on iPhone5 running newest OS , how to solve issue

    All of a sudden my iphone5 went black when charging just shows blinking apple sign. With help form web forum i put phone in DFU mode and went to Itunes . Phone plugged in running dfu shows itunes connection.\ Itunes (latest version) asks to restore p

  • AD Migration from one domain to another domain between different Forest.

    Dear Team, We have a domain named "test.gov.in" .Now we want migrate all the users,computers,groups,GP ....etc in to our new domain "abc.net".Operating system of the source DC and destination Dc is same (Windows 2003 32 bit).. Pls provide me the step

  • How to change max in "for" statement

    Hi, I am trying to set up a snow scene using the code below but I'd like to alter it so that it looks more natural... ie: a few flakes begin to fall, increasing as time progresses. Is there a way to increment the number used in the "for" statement wh

  • Using mates Imac internet connection?

    HI Going to my mates tomorrow, he has an imac 20 etherneted into a router and no wireless set up as yet. Question, if i take my MBPro round there to do some holiday research, can my MBP connect to his Imac somehow, and use the internet through his Im