Sale Order Item Quantity Not Populating When Create A Sale Order Using BAPI

I am having a problem when creating a sale order using BAPI
BAPI_SALESORDER_CREATEFROMDAT2
Problem is that sale order item quantity field is not populating
code is as follows
ORDER_ITEMS_IN-ITM_NUMBER = '0010'.
ORDER_ITEMS_IN-MATERIAL = '000000000010000262'.
ORDER_ITEMS_IN-TARGET_QU = 'LB'.
ORDER_ITEMS_IN-TARGET_QTY = 1.

Hi,
Try populating ORDER_SCHEDULES_IN table in the bapi field REQ_QTY.
Regds,
Rudra

Similar Messages

  • Sales order item quantity not rounded and allowing decimals with UoM EA

    Hi gentlemens,
    I noticed something strange in our SAP ERP system.
    When we enter a material in a new sales order item, we are allowed to enter quantity 1,5 EA (1 and half Each).
    But when I check the config of the UoM EA in table T006, the number of decimals (field DECAN) is 0 and the decimal place for rounding (field ANDEC) is also 0.
    As far as I remember from other other SAP system, there should be an error message when entering the quantity 1,5 EA saying that decimals are not allowed for this unit of measure.
    Can someone help and tell me wich error message or which rounding program should normally be active when entering decimals with uom EA ?
    Thanks and regards,
    BDT

    Hi Mani,
    Thanks for the thread reference. I found the related OSS notes yesterday evening but this was for procurement.
    Here the question I have is more for a sales item.
    The strange case we are facing is:
    In a sales order, we can enter a particular material as a standalone item with a quantity of 1.5 EA without any problem.
    But if we create the same new item as a sub-item of a previous one (filling UEPOS), with qty 1,5 EA, then a rounding is triggered by the system based on the T006 config.
    I am wondering if this is a problem with the SAP standard program or if we did anything wrong in the past in our system?
    Best regards,
    BDT

  • Invoice amount/quantity not populating when parking invoice before GR

    Hi gurus,
    When I am going to park an invoice without GR (the import cases where invoice comes first) the system is not populating the amount/quantity in the invoice (MIR7).
    If I will check the GR based invoice option in the purchase order than it picks the amount/quantity.
    My users requirement is the population of amount/quantity in case when GR not performed.
    Can anyone help me out from this scenario.
    Regards

    Dear Deepak
    Thanks for your reply but in the cases of import the GR won't be possible. The invoice will be received before GR and if the amount/quantity does not populated automatically then there is a 100% chances of error (manual entry).
    There should be some way through which these fields will be populated.
    Regards

  • Order Item quantity not coming  in va12 transaction

    Hi ,
          i am using Bapi : BAPI_INQUIRY_CREATEFROMDATA2 .
          After running and  also commit work .
          Order  Quantity  for item is not Coming in va12 Transaction .
          Any solution fot this .
    Input to Inport parameters  INQUIRY_HEADER_IN table : 
                             DOC_TYPE  =  ZBIN .
                             SALES_ORG = 1000
                             DISTR_CHAN  =  70
                             DIVISION      =  03
                             SALES_OFF = 1000 
    Input to  INQUIRY_ITEMS_IN table  :
                                      MATERIAL  = scrap
                                     TARGET_QTY = 10
    Input   to INQUIRY_PARTNERS :  PARTN_ROLE = SP
                                                     PARTN_NUMB  = 101
    So in above example Order Quantiy 10 is not coming in va12 Transaction .

    Hi Rishu,
    I know this is a really old post, but I am updating this to help anybody else who finds this. 
    The answer is because you need to populate schedule lines and also include the quantities on the schedule lines.  If you do not include these then the value is always 0 at item level.
    Cheers,
    Katan

  • Excise and ***. Valsue doen not show when Creating a Sales Order

    Hi SAP Gurus,
    I am creating a Return Sales order through VA01 with reference of Billing Document which was earlier giving error  of 'Copying from sales document type ZSFG to ZREV is not supported' that was resolved by going through the available threads support. I have done it through VTAF.
    Now system copying the records and showing the material and qty but when we doube click an item and then go in Condition tab it is not showing Assesable Value, Excise amount and CST where as it was showing Freight Amount.
    Please advise what wrong we are doing.
    Rajesh Gupta

    Check the pricing analysis in condtions tab what it says ?
    If only taxes are not copied then check the UTXJ Condition records , if it exits then go to VK12 check the validity periods of the same.
    Hope it helps u
    Regards,
    Ramesh

  • Legal Entity not populating when creating a transaction using Deposit API

    Hi,
    I'm creating deposits using API 'ar_deposit_api_pub.CREATE_DEPOSIT' in R12. The problem I'm facing is, legal entity is not getting populated, both transaction type and batch source have legal entity attached to them. Are there any other setups which I should look at? Any help would be greatly appreciated.
    thanks
    Goutham.

    Hi,
    I'm creating deposits using API 'ar_deposit_api_pub.CREATE_DEPOSIT' in R12. The problem I'm facing is, legal entity is not getting populated, both transaction type and batch source have legal entity attached to them. Are there any other setups which I should look at? Any help would be greatly appreciated.
    thanks
    Goutham.

  • Partner function not working when creating PO with ref to PReq

    Partner function is not working when creating a Purchase Order with ref to a Purchase Requistion, Partner functions maintained in the vendor master are VN, OA & PI.
    But OA & PI are not appearing in the PO header partner tab when created with ref to PR.
    however it works when i create the PO directly ( without the PR ref )
    I am using the same material & Plant for both manual PO & PR to PO.
    Any idea what could be wrong .
    I have maintained the settings for schema groups for vendor master & purchasing doc in the partner determination.
    Thanks
    Dkmurthy

    Hi,
    I have also an issue that seems similar to one you are discussing.
    When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent.
    When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
    Company code is assigned to purchase organization, and so is purchase organization to plant.
    Any idea why there is no automatic message determination in the case of the transaction: ME21N
    Note: If I try ME21N, and enter the output type and partner, manually, I receive a warning message
    VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent. However I can not overcome the warning message, if it plays any role, because I can not assign partner function LS to the vendor.Then I receive message CZ 327 (Can not use this partner role).
    Any input is wellcome.

  • Getting error 'Item 00000 does not exist' while creating a salse order

    Hi All,
    We are facing an issue, we get an error message saying 'Item 00000 does not exist' while creating a sales order for a particular order type, we do not get this problem with all the materials, only a few of them and the materials which give a problem are part of the supersession chain. The problem is not even coming for all the superseded materials.
    This problem is occuring with none of the other order types but just one. We have compared the configuration for the order types for which this error is not coming and the order type which is giving the problem, and its exactly the same.
    When creating the sales order through VA01 even though the error message comes, but on hitting the enter button the processing goes further. But when creating the sales order through the background program the processing stops the moment the error message comes and the Sales Order does not get created.
    Your valuable suggestions for helping us resolving this issue will be highly appreciated.
    Regards,
    Geeta

    HI Geeta
    As per your post "Problem is when you are executing VA01 in background sales orders are not generating due to error message".
    Apart from configuration check alternative is "Take ABAPer's help and change this error message type to warning/information message type in the system". With warning/information message type you could be able to create sales orders in background also.
    try and revert

  • Error in GTS when creating a sales order

    Hello All:
    Let me first say that I have researched the forums and web for my answer to no avail...there is not a lot of information out there for GTS issues. 
    When creating a sales order in ECC 600; I am receiving errors...I have looked at SLG1 in order to get more information on these errors.  I have validated my config in GQ0 and it appears to be correct.  Here is my errors I am receiving:
    Legal Control: Item Type Mapping not Maintained
    Item Category: ZTAE
    Item Category: ZTAQ
    Legal Control: Partn. Function Mapping not Maintained
    Partner Function: AG
    Partner Function: AP
    Partner Function: CI
    Partner Function: EN
    Partner Function: RE
    Partner Function: RG
    Partner Function: SP
    Partner Function: WE
    Legal Control: Mapping of Org. Units not Maintained For Fore
    Company Code: 1000
    Legal Control: Mapping of Org. Units not Maintained For Lega
    Plant: 1000
    I have looked under the Org Structure for these errors and think my configuration is correct.  I have checked under the following:
    In SPRO I have done the following Config under Org Structure:
    Define Foreign Trade Organizations
    Assign Company Code At Feeder System
    Define Legal Units
    Assign Legal Unit to Foreigne Trade
    Assigned Plant at Feeder System
    In Spro I have done the following Config under Partner Structure:
    Define Partner Functions
    Define Groups of Partner Functions
    Assign Partner Functions at Feeder system
    In SpRO under Compliance Management I have done the following Config under document structure:
    Define Doc Types
    Assign Doc types at feeder system
    Define item categories
    Assign item categories at feeder system
    It is obvious I am missing something....Please help...it would be greatly appreciated....

    Hi Dave
    Thanks for replying. 
    For Business Partners the error I am getting in SLG1 is the follwoing:
    Sub Object text
    Mapping of API to Customs Shipment - Arrival
    Program
    /SAPSLL/SAPLCORE_APPLOG_SERV
    @5C\QError@     
    The system was unable to determine an FT organiz. for company code 1000
    The system was unable to determine a legal unit for plant 1000
    No mapping information exists for partner function AG
    Another error for Business Partner:
    sub object text
    Business Partner Distribution
    Program
    /SAPSLL/SAPLCORE_APPLOG_SERV
    @5C\QError@     
    Please use another function to maintain the SPACE version of the address
    For Item Categories
    SubObect TextMapping of API to Customs Shipment - Arrival
    Program
    /SAPSLL/SAPLCORE_APPLOG_SERV
    @5C\QError@     
    No mapping information exists for item type ZTAQ
    The system was unable to determine a legal unit for plant 1000
    No mapping information exists for partner function AG
    Also we are using GTS 7.2 but upgrading to GTS 10 and I am trying to create our testing client for a to test after upgrade
    Edited by: Kim Blair on Sep 9, 2011 4:57 PM
    Edited by: Kim Blair on Sep 9, 2011 4:58 PM

  • Sales order item quantity update based on goods issue quantity

    Could any one explain me how to achieve the below functionality in SAP.
    Sales order item quantity needs to be updated based on the goods issue quantity when goods issue happens. 
    Tried to achieve the above functionality thru user exit.  But I could not found any user exit.  Could any one help me in finding out the user exit for a delivery which gets triggered when goods issue happens? 
    Or is there any other way thru which we can achieve the above functionality?  For example by using copy control, or requirement stuff. 
    Your inputs are highly appreciated.
    Thanks in advance.

    I dont y u got such type 0f requirement.Do one thing find out BADI it should be activated only when we are going PGI , in that badi try to chage Sales order <b>BAPI_SALESORDER_CHANGE</b>.
    for BADI search in SPRO / Se80.
    Regards
    Prabhu

  • Automatic creation of intercompany PO when creating a Sales Order

    Hi Experts
    Is there a standard way of triggering an intercompany PO when creating a sales order to the final customer (or the other way around, triggering a sales order to the end customer upon creation of an intercompany PO)? Scenario: business has setup a logistics company (company code X), which its purpose is to deliver goods to the final customer (home customers). However, sales orders are created from seperate chain of stores which belong to another company code (company code Y). This chain of stores have one sales organisation (since there is over 1000 stores under a chain). I need a way to represent that a sale originated from a store/plant belonging to company Y to end customer A. Also, I need a billing document (intercompany) from company code X to store/plant beloning to company Y.
    Issues: in the intercompany config (assign intern customer numbers to sales org) - is there a way to assign a customer number at site/plant level so that when creating an intercompany billing it can be picked instead of the one assigned to the sales org and where can this be specified in the sales order (remember: in my scenario there are multiple stores/plants that belong to one sales organisation and it is not possible to use one customer number linked to the sales organisation.)
    Desired results:
    Sales order from store/plant YY belonging to company code Y to end customer A
    Intercompany billing from plant XX belonging to company code X to store/plant YY
    End customer billing from store/plant YY to end customer A
    Thank you in advance for your help.

    Hello Tsmash  
    I think you can acheive this with Regular Sales order + Inter Company STO combination.
    Maintain customer numbers for each of the Plants from Company Y for the sales area belonging to Company X.
    Then do the config for STO in MM using this menu path:
    SPRO/Materials Management/Purchasing/Purchase Order/Set up Stock Transport Order
    Here, in the activity 'Define Shipping Data for Plants',  enter each of the plant-customers and the Sales area belonging to Comany code Y. Carry out other activities in this area appropriately.
    Similarly set up Custom ( say Z1) Special Procurement type for Plant YY for stock transfer from XX using this menu path:
    SPRO/Production/Material Requirements Planning/Master Data/Define Special Procurement Type:
    Here maintain procurement type as F, Special procurement as U and plant as XX. You may need to repeat this config for each of the receiving plants (over 1000 stores under a chain)  from co code Y.
    In the material master MRP 2 for Plant YY,  maintain procurement type as F and Special Procurement as Z1.
    Sales order will be received under Co Code Y and sales area belonging to Y form customer A,
    Because of the MRP config, a PO (STO) requirement will be raised on Co code X and plant XX. XX will send the goods to YY via a STO delivery using the Shipping data from 'Set up STO' config,
    Plant YY will send the goods to A and bill that customer. Co Code X will raise an inter-comany bill on Co code Y.
    That's how it should work. Try it and revert with any issues.

  • Problem in when creating the sales order

    Hi to All,
    I am using the function module 'BAPI_SALESORDER_CREATEFROMDAT2' to create a sales order with quotation reference. When
    I executing the program the return table shows following issues
    1.Document 20000292 doesn't have document category but
    2.Sales document was not changed
    But , when i used to create the sales order manually( TC : VA01) with reference of '0020000292' it gives the sales order number.
    so,kindly suggest me.
    Thank you

    Hi,
       While using BAPI, you need to give some mandatory fields . So I think document catogary is missing in header structure.
    Thanks,
    Srikanth.A

  • Is it possible to use variant configuration (with a Non-SAP solution) when creating ERP sales orders in SAP CRM WebUI

    Hello,
    our customer plans to use a Non-SAP solution for variant configuration (Camos) in SAP ERP (ECC 6.0) and in SAP CRM 7.0 EHP1 as well.
    ERP sales orders (and ERP quotations) should be created in SAP CRM (CRM WebUI).
    Is it possible to use variant configuration (with an external variant configuration tool) when creating ERP sales orders and quotations in the SAP CRM WebUI or do we have to implement SAP IPC for this?
    Thanks in advance.
    Regards,
    AEV

    Dear AEV,
    I think LORD (lean orders) should work with variant configuration as well. In the note 1236015 there is not restriction listed. However you need lord2 activated in ECC, and ECC system should be on EHP4.
    Best regards
    Rene

  • Sales document item is not defined for this transaction in Pur.Order

    hi,
    At the time of convertion of pr to po one error message received.
    Sales document item 46 000010 is not defined for the transaction
    Message no. V1198
    Diagnosis
    You have tried to carry out a business transaction for this sales and distribution document item which, for this item, is not allowed.
    This may be due to the fact that this item is not part of a make-to-order production with cost management in the sales order.
    Procedure
    Please check your entries.
      this is MAKE TO ORDER SCENARIO  THIS ERROR IS FOR RAW MATERIAL  CONVERTION  AGAINST SALES ORDER.

    Hi,
    Check in material master MRP3 view there is field called strategy group where you have option to define the planning strategy like make to order/make to stock & like.
    Regards
    Ravi Shankar.

  • Retrieving sales order info instead of the offer when creating a prod order

    Hi,
    I cannot create a production order refering to a sales order if this sales order has been created in reference to an offer. This is standard SAP and the following message is displayed: "account assignment cannot be carried out because of different origine number".
    Does anyone know how to retrieve the sales order information when creating a production order instead of retrieving the offer information? User-exit?
    Thanks,
    Ronan

    No answer to this post

Maybe you are looking for

  • Issues Downloading Adobe Creative Cloud On Laptop

    My laptop froze when I tried ot install Adobe Creative Cloud. I can't even shut off the power on my computer, the Adobe Creative Cloud program keeps running. What should I do?

  • Help Fetching files from an FTP server into a DBase or local folder

    Hello Gurus! I need help to automate or design/write an app capable of (replace a manual process) reading log files in an ftp server folder, this log files are called CDR (Call Detail Record) and named as follow cdr.txt.20020221010000 meaning that th

  • Printing Problem  Photoshop CS 6

    On my MacBook OSX 10. 8.2  I can't print with my Epson printer. Yet I can print with Photoshop CS 5. Thank's for your help. Nicolas

  • DM Switch Device Wizard prompts in another language?. German maybe?.

    I recently switched from a Palm Treo 700p to a red Blackberry Curve 8330.  I installed the Desktop Manager using the User Tools CD and updated it to the most current version (4.7) without running into any problems.  However, when I try to use the Swi

  • Display Formula Variable in Web Query or RRMX

    Hi,       I'm calculating a Formula Variable for Shipping Days in my query.  I would like this to display in my web page in the upper right of my screen.   I'm mostly interested in doing this for the web.  How would I access the value of this variabl