Internal Sales order not using Price List, Price Showing '0'

Dear All,
In the Internal Sales Order, why the list price is not used from the price list, why do we need to set the cost to get the price?
Plz Clarify
Thanks
RSM

Hi,
Internal Sales order is nothing but selling the goods between 2 inventory organizations under same operating unit.
This inventory Org is always within the operating Unit/Business group.
Hence Item Cost defaults in the Item Cost and not the item Price.
If Items are sold to external Customers then Item Prcie will be seen in the sales orders.
iBut yes,upon customization we can still see Item Price in Sales Orders.
Thanks
-Arif.

Similar Messages

  • Import order not creating internal sales orders for some orgs

    Hi,
    We are getting one issue in UAT instance. The details are as below -
    1. Created Sales Orders in all 7 orgs.
    2. Ran ASCP plan
    3. planned orders got auto released in all orgs.
    4. Corresponding Internal requisitions got created in all orgs.
    5. Ran 'Create Internal Orders' from each org.
    6. Ran 'Order Import' from BE org as all the IR's were sourced from BE as per sourcing rules.
    7. Issue is that out of 7 orgs, in 2 orgs, DK and SE, the internal sales orders didn't get created and order import gave error. I am attaching the error log below.
    For other 5 orgs, ISO got created successfully and we performed picking/shipping and receiving as well for these 5 orgs.
    Any help will be most welcome.
    error log is -
    Order Import Concurrent Program
    Concurrent Program Parameters
    Validate Only: N
    Order Source: 10
    Order Ref:
    Sold To Org Id:
    Sold To Org:
    Change Sequence:
    Performance Parameter: Y
    Trim Blanks: N
    Operation:
    Number of Instances: 0
    Debug Level: 0
    Request Id: 6891
    Org Id: 2453
    Failed to perform Action Request BOOK_ORDER
    Failed to perform Action Request BOOK_ORDER
    Failed to perform Action Request BOOK_ORDER
    No. of orders found: 2
    No. of orders imported: 0
    No. of orders failed: 2
    Source/Order/Seq/Line Message
    10/1046001536//2 User-Defined Exception in Package OE_SCHEDULE_UTIL Procedure Load_Results_from_rec
    10/1046001536//2 ATP Process resulted in no data
    10/1046001536//2 User-Defined Exception in Package OE_SCHEDULE_UTIL Procedure Load_Results_from_tbl
    10/1046001538//2 User-Defined Exception in Package OE_SCHEDULE_UTIL Procedure Load_Results_from_rec
    10/1046001538//2 ATP Process resulted in no data
    10/1046001538//2 User-Defined Exception in Package OE_SCHEDULE_UTIL Procedure Load_Results_from_tbl
    End of Order Import Concurrent Program

    Try running the Order import from a responsibility where the profile "OM: Override ATP flag" is set to YES at that responsibility level..

  • What is the Purpose of Internal Sales Order in OM

    Hello All,
    Compared to normal Inter-Organization Transfer (Direct&In transit) in which business scenario, Internal Sales Order(ISO) Cycle would fit ? (In Manufacturing , Distribution etc.,)
    what is the (main) purpose of going for Internal Requisition (IR) - ISO ? & usage of Transfer Credit account in Inter-Org Transfer?
    Please share your implementation experience ?
    (if any)
    Thanks, Jay

    The most important 1st thought is ::
    Ques 1. Why ISO over Direct-Org transfer ?
    Ans ---- Direct-Org transfer is immediate 2-way txns where ... there is no concept of In-transit Inventory & its tracking(s).
    Source-Org Sub-inventory ~ issues out
    Dest'n-Org Sub-inventory ~ receives in
    which is very much like Sub-inventory transfers with the difference that its Inter-Org
    Ques 2. What is this concept of In-transit Inventory ~ Inter-Org transfer v/s ISO ?
    Ans ---- Yes both ( Inter-Org transfer or ISO ) have this concept of In-transit inventory & its tracking(s).
    Ques 3. Now the question is -- Why then ISO over Inter-Org transfer ? How ISO rules above Inter-Org transfer ?
    Ans ---- ISO is requisition based. Now using which we can have booked Sales-Order.
    Using their desirable shipping dates Planning, Replenishment & Reservations can be done. You just cannot do this Inter-Org transfer.
    Also the cost-price of Source-Org goes into the Dest'n-Org. Whereas in ISO you have both provision same cost price our using price-lists / modifiers ?
    No doubt !! ISO is very scalable route.
    Other technical reasons :: feel free to communicate ::
    Ajay Kuma
    c510-456-5322

  • Internal Sales Order vs. Stock Transport Order

    Our company (SAP ECC 6.0) currently uses STO's to transfer finished product from Mills to Distribution centers in various regions.  However, much of these Stock Transfer Orders are done for the purpose of Sales and thus our Sales assoiciates are entering these orders in the purchasing module.   These associates spend all thier time in a custom sales screens created for them and really don't like to go do the STO's in another place and try and manage them when they are not used to seeing things differently.
    The Sales business has equested that we look into using Internal Sales Orders (& some sort of automated PO's on the other side) to transfer this material and for those plants to get Sales credit back for this material. They really would like to see Invoices for these sales as well (which they don't with STO's).
    I would like to know everyone's opinion on using a Internal Sales Order/PO vs using a STO to transfer this product?   What Pros & Cons do you see and is it even possible to replace the STO's with Internal Sales Orders/PO's?  Thanks for your input!

    The people entring the STO currently are all Sales associates who only want to deal with the sales module and not the purchasing module.   From a Sales perspective, they would also like to see invoices - they don't see invoices today with STO's.  They would like to do internal Sales Orders as opposed to STO's.  They've ask us to do analysis on what this would take.   We have been looking at creating the Internal Sales (ISO) and then doing some sort of subsequent "NB" Purchase Order.  
    They're are several missing parts/questions that have come up with this research on doing ISO's / PO's vs STO's;
    (1) Stock in Transit - how is it tracked?
    (2) Auto generation of the PO from the ISO - system thinks the PO should come first if doing internal orders - however in our case demand comes in from many different sources and business would like to enter ISO first and then generate subsequent PO to receive against?
    (3) ATP - not "double-dipping" ATP from both Sales Order and PO?
    (4) Issues with invoicing (Intercompany invoicing causing a great deal of work for AP / Accounting to work through).  also if no invoice is expected for PO (depending on setting up vendor as external or internal) then we'll have open accrual on the GR?
    (5) Transit times in routes - when using external SO today, the date included represents the ship date with no transit times in the routesu2026STOu2019s have transit times included in their routes and its necessary for pipeline data to be complete?
    Note: We have a system change request going in our system that will allow for sites to modify the price for STO's...and sites can transfer product at a negotiated rate.  Our system is also set up so each individual site records these STO's as a sale...thus one of the reasons for the request above for better tracking, etc.
    Thanks again for any further input you may be able to offer.  Thanks!

  • Customize Internal Sales Order workflow to interface to AR

    Hi,
    I would like to generate AR transactions for our internal sales orders created from internal requisitions. I tried by adding a ship-bill-workflow, but the interface-to-AR activity does not get started. This gives me the impression that the internal order ignores the workflow that I have defined for this transaction type, and uses something else instead.
    I am wondering now how could I customize the internal order workflow? Has anyone ever done that? Which workflow shall we customize to get what we need? Or has anyone any other ideas?
    Thanks in advance,
    David.

    Hi David,
    Assuming you are using Order Organizer did you check which work is being invoked at the Order Line Level from Tools -> Workflow Status at Line level.
    Thanks.

  • How to know the sales order closed using right click menu -Close ???

    I have an sales order with ten item, I have copied the same to delivery and before adding the Delivery I have deleted some items. After adding the Delivery, I manually closed the sales order by using the "right click menu close".
    The Open Quantity of those lines are already closed while i Close it manually.
    Now i need  a report regarding the sales orders which i  have closed manually. Any Options??

    Check the below result
    DocNum     DocDate     CardCode     CardName     Row#     ItemCode     Dscription     Price     Quantity     LineTotal
    2     2012-02-04 00:00:00.000     ED-C-102     AI HUDHA BOOK STALL     2     1010          150.000000     10.000000     1500.000000
    3     2012-02-04 00:00:00.000     ED-C-103     AL AMEEN ENGLISH SCHOOL-MANKADA     2     1011     ZINC ROD HIGH GRADE PURE ZINC 140 X 9 MM     59.790000     10.000000     597.900000
    this is the result i get while i execute your query
    but look at the db result
    DocEntry     LineNum     TargetType     TrgetEntry     LineStatus     ItemCode     Quantity     OpenQty
    1     0     15     2     C     1010     10.000000     0.000000
    2     0     15     3     C     1010     10.000000     0.000000
    2     1     -1     NULL     C     1010     10.000000     0.000000
    3     0     15     4     C     1010     1.000000     0.000000
    3     1     -1     NULL     C     1011     10.000000     0.000000
    3     2     15     4     C     1012     15.000000     0.000000
    3     3     15     4     C     1013     20.000000     0.000000
    4     0     15     5     O     1010     10.000000     5.000000
    See the last line data...it have open quantity of 5 and it also have the target type 15, If I close the sales order with docentry 4 manually using right click, the open quantity will be Zero..
    I need that last line result also as my output..
    Hope you understand my problem.
    Thank You

  • Unconstrained Plan looking for Internal Sales Order Number in Workbench

    There is a column under the Order tab in the Supply/Demand form in ASCP that is titled INTERNAL SALES ORDER. The assumption is that this would in fact be the internal sales order number from the supplying inventory organization. However it comes in null. For all internal orders. Is there a profile or a checkbox that enables this field?
    Thanks in advance!

    Hello,
    In 11.5.10, this field is not used at all. In R12 it is used in distribution planning.
    best regards
    Geert

  • Internal sales orders commission

    Hi
    Any one tell me what is the use of Internal sales orders commission because i have seen so many Links all are talking about Sales order s which belong to Out side .. But i want to know what is exact business process where we can implement..
    Any one tell me any separate configuration process For Internal sales order commission

    Dear Raghu,
    Thanks for the Link We are also facing the same scenerio to be configured. I want to understand that  in the Cross System Inter company code stock transfer...
    APO comes into picture, I do not have knoledge of APO so how will I be able to configure the same in existing R/3 system?
    We are using the ECC 6.0
    regards,
    Amlan Sarkar

  • Unable to cancel a splitted internal sales order line

    Hi,
    I have created a internal sales order using internal requisition. at the time of shipping i recognized only partail amount to be shipped and rest is not required.
    so i shipped the partial qty and then tried to cancel the splitted line which is not required for me. iam getting the belwo error message.
    1. Ordered Quantity, Supply picture has been updated. A discrepancy exists between the Sales Order and its corresponding Internal Requisition.
    2. Schedule Ship Date, Supply picture has been updated. A discrepancy exists between the Sales Order and its corresponding Internal Requisition.
    3. Error: Shipping tolerances cannot be changed now because the source lines have at least one delivery line that is staged or has been shipped.
    iam getting the above 3 message and coz of that iam not able to proceed for cancellation.
    can anyone suggest what would be the workaround
    Thanks,
    Vinod

    Hi,
    Is this 11i or R12?
    Thx
    Raghavendra

  • Error in creation of sales order bu using BAPI_SALESORDER_CREATEFROMDAT2

    Hi ,
    I am trying to create sales order by using bapi.
    after passing all the parameters to bapi iam getting message as shown below.
    SALES_HEADER_IN has been processed successfully             
    SALES_ITEM_IN has been processed successfully               
    <b>Order receipt/delivery not possible, credit customer blocked</b>
    I had passed scedule line data ,and  BAPI_TRANSACTION_COMMIT
    also still iam getting this message.
    please help me out of this problem.
    Thanks,
    Shuja.

    Hi Shuja
    I guess the message is just a warning eventhough the order is created. The warning message states that Auto-Delivery can not be created.
    Please check below to understand how the customer is blocked:
    1. Manual Block -> Transaction XD03
    -->Menupath: Extras->Blocking Data
    2. Credit Block -> Transaction FD33
    --> In the overview screen check the difference of value between Credit Limit & Credit Exposure
      I guess in the case whereby Credit Limit value is less than Credit Exposure also this can happen.
    Please try using a different Customer. Also simulate via transaction VA01.
    Hope this helps.
    Kind Regards
    Eswar

  • Regarding sales order not created in xml file format

    Hi Friends,
                       I have the xml file,I sort the xml file alphabetically on material master codes, WHen program try to create the sales order by using this xml file through call transaction method, the line item numbers does not matches with the line items of xml file.
    I want same sequence.Please suggest me..
    Best Regards,
    SHialpa.

    HI Divya,
    Have u uninstalled Acrobt Reader from your system???
    Regards
    Manoj S

  • Change only material qunatity in sales order by using BAPI

    Hi All,
    How to change only the material quantity in existing sales order by using BAPI.
    Please help me in this regards.
    Regards
    Deekshitha.

    Hi
    See the sample code and do accordingly
    REPORT Z_SALES_ORDER_CHANGE
    NO STANDARD PAGE HEADING
    LINE-SIZE 132
    LINE-COUNT 65(0)
    MESSAGE-ID ZZ.
    TABLES: VBAP.
    DATA:
    V_FILEIN(90) TYPE C,
    V_RECIN TYPE I,
    V_RECVBAP TYPE I,
    V_RECORDER TYPE I,
    V_VBELN LIKE VBAP-VBELN,
    ORDERHEADERINX LIKE BAPISDH1X.
    DATA: BEGIN OF I_ORDERS OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    POSNR LIKE VBAP-POSNR,
    BRGEW(18) TYPE C,
    VOLUM(18) TYPE C,
    END OF I_ORDERS.
    DATA: BEGIN OF I_OUTPUT OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    POSNR LIKE VBAP-POSNR,
    GEWEI LIKE VBAP-GEWEI,
    BRGEW LIKE VBAP-BRGEW,
    VOLUM LIKE VBAP-VOLUM,
    CKWGT TYPE C,
    CKVOL TYPE C,
    END OF I_OUTPUT.
    DATA: BEGIN OF ORDERITEMIN OCCURS 0.
    INCLUDE STRUCTURE BAPISDITM.
    DATA: END OF ORDERITEMIN.
    DATA: BEGIN OF ORDERITEMINX OCCURS 0.
    INCLUDE STRUCTURE BAPISDITMX.
    DATA: END OF ORDERITEMINX.
    DATA: BEGIN OF RETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF RETURN.
    DATA: BEGIN OF BAPIRETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF BAPIRETURN.
    PARAMETERS:
    P_PATH(45) TYPE C DEFAULT '/usr/users/ftpsapom/' LOWER CASE,
    P_FNAME(32) TYPE C DEFAULT '/sweetjo.txt' LOWER CASE.
    START-OF-SELECTION.
    CONCATENATE PATH AND FILE NAME INTO ONE VARIABLE
    CONCATENATE P_PATH P_FNAME INTO V_FILEIN.
    OPEN DATASET
    IF V_FILEIN IS INITIAL.
    MESSAGE E002 WITH 'FILE' V_FILEIN 'DOES NOT CONTAIN ANY DATA!'.
    ELSE.
    OPEN DATASET V_FILEIN
    FOR INPUT
    IN TEXT MODE.
    IF SY-SUBRC = 0.
    READ DATASET
    DO.
    READ DATASET V_FILEIN INTO I_ORDERS.
    IF SY-SUBRC = 0.
    APPEND I_ORDERS.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    CLOSE DATASET
    CLOSE DATASET V_FILEIN.
    IF SY-SUBRC <> 0.
    MESSAGE E002 WITH 'ERROR - CLOSING' V_FILEIN.
    ENDIF.
    ELSE.
    MESSAGE E002 WITH 'ERROR - COULD NOT OPEN' V_FILEIN.
    ENDIF.
    ENDIF.
    SORT AND REMOVE DUPLICATES FROM I_ORDERS
    SORT I_ORDERS BY VBELN POSNR.
    DELETE ADJACENT DUPLICATES FROM I_ORDERS.
    POPULATE I_OUTPUT
    LOOP AT I_ORDERS.
    SHIFT I_ORDERS-POSNR LEFT DELETING LEADING SPACE.
    CONCATENATE '0' I_ORDERS-POSNR INTO I_ORDERS-POSNR.
    SELECT SINGLE BRGEW VOLUM
    FROM VBAP
    INTO (VBAP-BRGEW, VBAP-VOLUM)
    WHERE VBELN = I_ORDERS-VBELN
    AND POSNR = I_ORDERS-POSNR.
    IF SY-SUBRC = 0.
    IF VBAP-BRGEW = 0.
    I_OUTPUT-CKWGT = 'X'.
    ENDIF.
    IF VBAP-VOLUM = 0.
    I_OUTPUT-CKVOL = 'X'.
    ENDIF.
    I_OUTPUT-VBELN = I_ORDERS-VBELN.
    I_OUTPUT-POSNR = I_ORDERS-POSNR.
    I_OUTPUT-GEWEI = 'ST'.
    I_OUTPUT-BRGEW = I_ORDERS-BRGEW.
    I_OUTPUT-VOLUM = I_ORDERS-VOLUM.
    APPEND I_OUTPUT.
    CLEAR: I_OUTPUT.
    ENDIF.
    V_RECIN = V_RECIN + 1.
    ENDLOOP.
    POPULATE BAPI DATA AND RUN BAPI
    CLEAR: ORDERHEADERINX, ORDERITEMIN, ORDERITEMINX,
    RETURN, BAPIRETURN.
    REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
    ORDERHEADERINX-UPDATEFLAG = 'U'.
    LOOP AT I_OUTPUT WHERE CKWGT = 'X' OR CKVOL = 'X'.
    V_RECVBAP = V_RECVBAP + 1.
    IF I_OUTPUT-VBELN <> V_VBELN AND SY-TABIX <> 1.
    V_RECORDER = V_RECORDER + 1.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = V_VBELN
    ORDER_HEADER_INX = ORDERHEADERINX
    TABLES
    RETURN = RETURN
    ORDER_ITEM_IN = ORDERITEMIN
    ORDER_ITEM_INX = ORDERITEMINX.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPIRETURN.
    WRITE OUT RETURN
    LOOP AT RETURN.
    WRITE: / RETURN.
    ENDLOOP.
    WRITE: / BAPIRETURN.
    SKIP.
    CLEAR: ORDERITEMIN, ORDERITEMINX,
    RETURN, BAPIRETURN.
    REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
    ENDIF.
    ORDERITEMIN-ITM_NUMBER = I_OUTPUT-POSNR.
    ORDERITEMIN-UNTOF_WGHT = I_OUTPUT-GEWEI.
    IF NOT I_OUTPUT-CKWGT IS INITIAL.
    ORDERITEMIN-GROSS_WGHT = I_OUTPUT-BRGEW.
    ORDERITEMINX-GROSS_WGHT = 'X'.
    ENDIF.
    IF NOT I_OUTPUT-CKVOL IS INITIAL.
    ORDERITEMIN-VOLUME = I_OUTPUT-VOLUM.
    ORDERITEMINX-VOLUME = 'X'.
    ENDIF.
    APPEND ORDERITEMIN.
    ORDERITEMINX-ITM_NUMBER = I_OUTPUT-POSNR.
    ORDERITEMINX-UNTOF_WGHT = 'X'.
    ORDERITEMINX-UPDATEFLAG = 'U'.
    APPEND ORDERITEMINX.
    V_VBELN = I_OUTPUT-VBELN.
    ENDLOOP.
    RUN BAPI ON LAST ORDER
    IF NOT ORDERITEMIN IS INITIAL.
    V_RECORDER = V_RECORDER + 1.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = V_VBELN
    ORDER_HEADER_INX = ORDERHEADERINX
    TABLES
    RETURN = RETURN
    ORDER_ITEM_IN = ORDERITEMIN
    ORDER_ITEM_INX = ORDERITEMINX.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPIRETURN.
    WRITE OUT RETURN
    LOOP AT RETURN.
    WRITE: / RETURN.
    ENDLOOP.
    WRITE: / BAPIRETURN.
    SKIP.
    ENDIF.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT FROM FILE ', V_RECIN.
    SKIP.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT OF LINES TO CHANGE ', V_RECVBAP.
    SKIP.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT OF ORDERS TO CHANGE ', V_RECORDER.
    SKIP.
    TOP OF PAGE
    TOP-OF-PAGE.
    WRITE:/1(5) TEXT-H01, 6(8) SY-DATUM MM/DD/YY,
    100(8) TEXT-H02, 126(8) SY-PAGNO.
    WRITE:/1(5) TEXT-H03, 6(8) SY-UZEIT USING EDIT MASK '__:__:__',
    20(77) TEXT-H04,
    100(8) TEXT-H05, 108(25) SY-REPID.
    WRITE:/1(6) TEXT-H06, 8(12) SY-UNAME,
    20(4) TEXT-H07, 25(32) SY-HOST,
    100(13) TEXT-H08, 121(8) SY-SYSID,
    129 '/', 130(3) SY-MANDT.
    ULINE.
    SKIP.
    Reward points if useful
    Regards
    Anji

  • Plant change in Sales Order not possible due to Sales Order BOM

    Hi all,
    we are trying to change the Delivery Plant in a Sales Order after the creation of a Sales Order BOM, but it gives a V1773 message first, then a blocking error V1810. The same happens with a Production Order.
    How can we change the Delivery Plant after the creation of one of these objects?
    Our scenario:
    - Make To Order
    - Sales Order BOM created with transaction CS61
    - Sales Order Routing created with transaction CA01
    We need to create the Sales Order BOM on the Production Plant (which doesn't change), but we need to be able to change the Delivery Plant in any time.
    Should you have further questions, feel free to ask.
    Thanks in advance,
    Giuseppe

    Hello Caselli,
    For V1773, please check the solution provided by note 588884, which is a modification. With this note it turns possible to delete all multi-level sales order BOM using transaction CSKB, which may be useful.
    The behavior mentioned by you is the standard behavior of the system. The scenario works as designed, a plant change is only possible as long as there is no other document assigned to the sales order.
    Longtext of V1 810 says:
    The plant can no longer be changed in the following situations:
        2. There is a production order for the order item but it is not a static assembly order.
    Your scenario seems to be point 2 as mentioned above. You can check the requirement type (VBAP-BEDAE) and requirement class in OVZH and assembly type (MNTGA) in OVZG.
    If you change the plant for the items with existing production orders, it will cause the incorrect values in the COPA. An order item is assigned to plant A and the corresponding production order exits. This
    means that the costs are assigned to plant A (this is the place where the costs accrue). Order and production order will be balanced at plant A.
    If you now, after the process has already started, should allow to change the order to plant B the following examples of problems will come up:
    - The costs accrued in plant A (see production order)
    - The SD order is now assigned to plant B, this means billing will be with plant B
    This leads to the fact the costs are on plant A, plant B has a benefit. Plant A cannot settle the costs and plant B has unexpected earnings. Inconsistencies in all involved process steps, SD, CO, COPA are the results.
    If you want to change the plant in the sales order you'll have to perform these steps:
    = Delete the production order.
    = Change the plant of the sales order item from A to C.
      This should be possible unless there are other documents which are already assigned to this sales    order item. Save.
    = Create a new production order and assign it to the sales order item again.
    I hope I am able to help you with this information.
    Best Regards,
    Bhavin Joshi

  • Reena Prabhakar - Sales order creation Using BAPI

    Hi Reena,
    This is Dinesh,i also face problem in Sales order creation using BAPI if you can send me the code it would be great help to me.
    Regards,
    Dinesh

    Anyhow, here is the code that I am using currently which works perfectly well. Not sure if it will be of any help to you, since the values to the BAPI come from the Webdynpro application. I have values stored in my "Test data directory" which I use for testing from the backend.
    FUNCTION ztest.
    Call the BAPI to create Sales Order
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
        EXPORTING
          order_header_in     = l_order_header
        IMPORTING
          salesdocument       = l_salesdocument
        TABLES
          return              = it_return
          order_items_in      = it_order_items
          order_partners      = it_order_partners
          order_schedules_in  = it_order_schdl
          order_conditions_in = it_order_conditions
          order_text          = it_order_text.
      READ TABLE it_return WITH KEY type = 'E'.
      IF sy-subrc = 0.
    *-- error occured
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      ELSE.
    *-- no error
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    ENDFUNCTION.

  • Sales Order not Valid During Vendor Clearing

    Hi,
    When I'm clearing vendor open items (both normal & special GL transactions) i'm getting an error message "Sales Order not Valid". How do I correct this error?
    Thanks,
    Chaikaru

    Hi ,
    As you're saying that the order got saved already with confirmation, you can try re-doing the ATP check on the SO item. If the order item is not present in SCM, system will throw an error with the message "APO: Order Doesn't exist".
    You have mentioned that CCR did not detect the inconsistency, have you by any chance selected check box "use VBBE table"?
    You can try resending all the Sales Orders to SCM by running Initial Supply (report RIMODINI) for Sales Order Integration Model., monitor the queues in /SAPAPO/CQ. Alternatively, If you're using Inbound queues in SCM, you can only check SMQ2 in SCM and if you're using Outbound queues in ECC, check SMQ1 in ECC to monitor the queus.
    regards,
    Mohan

Maybe you are looking for

  • Packages in Opportunities

    We sell a lot of packages. We are looking for a way to display the products that are included in the packages when folks create a revenue record for the top level item. So if they add part A to a revenue record, since parts 1, 2, and 3 are included w

  • Syncing calendars without docking. Is it possible?

    I'm finding that I change my iCal often during the day, but if I don't have my iPhone plugged in to sync, that I often find myself out somewhere with in accurate calendar info. Since the thing has wifi, wouldn't it be nice if the iPHone could sync up

  • Installing purchased copy of InDesign CS6

    How do I install InDesign CS6 from a disk?

  • ME05:  default varaint for selection screen

    Hello All,  I am trying to display a variant as a default variant for the selection screen in ME05. To achieve that, I went into SE93 and tried to give a variant name in Start with variant field and tried to save it. Then I am getting the error "No s

  • Phone does not open

    Dears I am user of iphones for long time and now using model 5 . My phone start to close by itself in a week ago...and i restored it many times , and come back . But now i even can not restore and open the phone... It shows the apple sign and than cl