BAPI_SALESORDER_CREATEFROMDATA( Qty is not geting confirm)

Hi,
I am using  BAPI(BAPI_SALESORDER_CREATEFROMDATA) to create Sales Order. After Passing all input i can able to create
sales order. But order qty is not feting confirm in Schedule line. Pl help me to solve.
Thanks

use BAPI_SALESDOCU_CREATEFROMDATA1
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
       EXPORTING
            sales_header_in     = header
            sales_header_inx    = headerx
       IMPORTING
            salesdocument_ex    = v_vbeln
       TABLES
            return              = return
            sales_items_in      = item
            sales_items_inx     = itemx
            sales_schedules_in  = lt_schedules_in
            sales_schedules_inx = lt_schedules_inx
            sales_partners      = partner.

Similar Messages

  • Delivery block at item level in sales order,Qty should not be confirmed

    Dear all
    We have a below requirment
    We will have multiple line items in sales order and put delivery block at item level.If delivery block is put at item level it should not confirm the qty and pass on to MRP
    But if we put at header level delivery block,schedule line qty at item level are not getting confirmed.So requirements are not passed to MRP-This is correct .Working as per SAP standard configuration.
    Can you tell how to activate the same for item level delivery block.if same delivery block is put at item level,it is confirming the quantity.But we don't want confirmation of qty to happen.
    Can you give us solution
    Regards
    Sudha

    We had similar issue , there will be confirmed quantity but the requirement will not transfer to MRP , We used Item category configuration ( Copied new item category assignment and it should behave as Inquiry item category)
    Check OVZ7 T code for customizing the u201CDelivery Blocku201D in your sales document to block Confirmation block
    Check the  customizing OVZ8: if the flag  Transfer of Requirement
    Transfer of requirements of the requirement class should be ON.
    In the sales order the requirement type is determined by the combination sales order item + MRP type.
    Refer SAP Help URL below
    [Setting a Delivery Block |http://help.sap.com/saphelp_470/helpdata/en/93/744bf2546011d1a7020000e829fd11/content.htm]

  • Free goods sub item not geting generated in credit memo.

    Dear All,
    Example;
    Sales order for free goods    10+1
    Delivery                                   10+1
    Invoice                                     10+1
    Customer has not accepted the goods by some reason.
    We have ceated credit memo request  10+1
    Return Delivery                                     10+1
    Credit memo with reference to return delivery   ;Only 10 qunatity are copying in the billing document.Free goods quantity is not getting copied.Please guide what could be the reason.
    Sap std says credit memo should be reference to credit memo request bu out client requrement is ,it should be on return delivery based.we have done all settings but free goods qty is not geting copied.
    Regards,
    deepti

    Hi
    KIndly check the copy control configuration in the VTFL
                                                                                    Target Bill. Type  RE                    From Delivery Type LR                    
                        Credit for Returns                       Returns Delivery                                                                               
    Copying requirements   003  Header/dlv.-related                                   
    Determ.export data                                                                
    Allocation number                                                                 
    Reference number                                                                  
    Copy item number                                                                               
    Copying requirements   004  Deliv-related item          Billing quantity     B
    Data VBRK/VBRP         000                              Pos./neg. quantity   +
                                                             Pricing type         G
                                                             PricingExchRate type  
                                                             Cumulate cost         
                                                             Price source                                                                               
    REgards
    Damu

  • Qty not getting confirmed

    Hi All
    We have a scenario where when we create a sale order, the qty is not avaialble, so the system carry's out the AVCheck and in the schedule like the cofirmed qty is 0.(Schedule line is CP, Req type is KSVS)
    After the qty is avaialble when i clicl on Availability the system is not considering and still the confirmed qty remains o and iam not able to deliver the order.
    Any help please.
    Thanks

    Check this thread
    [Re: Reg Strategy 52|Re: Reg Strategy 52;
    thanks
    G. Lakshmipathi

  • Available QTY is not shown in Production Order for SemiFinished Product?

    Hi
    In Production Order Available Qty value is not shown for SemiFinished product ( Stock is there), but it showing the Available for other rawmaterials in same Prdn. ordr..
    The SemiFinished product is manufactured and its having lot of stocks ..while i am calling this SemiFinished product in other Production order the available qty is not shown.. so how come the end user comes to know that availlable..
    Giri

    Hi Jey
    I will explain clearly so u can come what is hapening For Ex: Item ABC having child item A,B & C.
    when calling the BOM of ABC in Prodn.order its showing the available of A, B & C... But after the production over for the Semifinished product it increases the stock.
    When i am calling this Semifinished Product in other Produciton Order For Ex: Item AZ having Child item ABC & XYZ.
    In this Scenerio it has to show the Available of item ABC whic is semifinished product its not showing,but in the same Production order it showing the available for Other item XYZ which is purchased one .. So this is the nature of SAP or i am doing any wrong....
    Giri

  • GRPO Qty should not exceed +/- 10% of Purchase Order

    Hi All ,
    Need Store procedure for GRPO QTY should not deviates +/-10% of the Puchase Order Qty.
    Ashish Gupte

    hI Ashish,
    You can use OPOR , POR1 , OPDN AND PDN1 TABLES AND LINK THEM WITH
    DOCENTRY , BASEREF , AND LINENUM FIELDS WITH THE CONDITION OF QTY DEVIATION.
    Let me know if this works.
    Thanks
    Malhaar

  • PO Qty should not Amended after GR

    Hi friends
    i have to do PO Qty should not Amended after GR finished . IS there any BADI Enhancements points please let me know i guess
    this is BADI ME_PO_PRICING_CUST  i have tried it but it is not working for me or i missing some thing .please give suggestions what i need to do .And  the same time  there is also  required for particular user it should be allow to change
    REgards
    Rk

    Hi when GR is done and it is allowing to change it comes under PO amendment
    ask functional if amendment can be stopped
    regards
    m.a

  • Schedule lines not getting confirmed on staurdays and sundays

    Hi all,
    At sales order level, the schedule lines are not getting confimred on staurdays and sundays. So,in the factory which has been assigned to that plant, we have checked all holidays . Even then it's not confirming on saturdaus and sundays.
    In the factory calendar, it was maintained like this.
    Valid      from Year   1996
                    To Year     2010
    Holiday calendar    ID IN
    Specific rule          none exist
    Work days
    Moday to sunday have been ticked. Only public holidays have not been ticked.
    even then staurday and sundays schedule lines are not getting confirmed. pLEASE ADVISE.

    Hi,
    Go to T.CODE SCAL, select your calender id & click on definition.
    Check the working days.Also check the "Holiday Calendar ID" assigned to the "Factory Calendar ID".
    Check if it helps.
    Regds........
    Sumit

  • Schedule lines are not getting confirmed even though stock is there

    HI,
    i want to discuiss one sensitive issues which is a simple one.
    my schedule lines is not getting confirmed even stock is there at sales order.
    there is no delivery block.
    there is no minimum stock level.
    there is no credit check for that.
    there is stock of 2 EA in that plant and storage location, but stock is not getting confirmed at sales order level or transaction level.
    even stock is there it is going to avaliability check overview screen and giving stock confirmation after 12 days.
    even i checked all the dates.............but its of no use.
    what to do ?
    after testing all the possible options i am taking help from
    please help me in this regard,
    regards,
    balajit

    Hi
    you need to check the following.....
    First check the Factory calander of your plant whethear some holidays or not
    Second most importantly you have to check which stretagy group is assigned  in the material . whethear it is make to order or make to stock. change it as make to stock.
    "What happened if material stretagy group is make to order then from sales order system generate requirement of that material against that particular stock, that time system do not consider the unrestricted stock and not confirm schedule line."
    Regards
    Shambhu Sarkar

  • How to control not to confirm quantity in sales order schedule line

    Hi,
    We have a problem with confirmed quantity in sales order schedule line.
    When I reject a position in a sales order, confirmed quantity still remains with quantity ( diferent to 0).
    I need in some cases that system not to confirm quantity in schedule line at item level.
    I've tried to do this with a new routine in OVB8 transaction, but it didn't work.
    Could you help me? How can I avoid the system to confirm quantity in a sales order item?
    Thanks in advance....

    Hi Lakshmipathi,
    I'm sorry. The rejection was a bad example.
    I need, in some cases, that the system doesn't confirm quantity in sales orden item. We have a custom field in sales order item and we need to confirm with 0 quantity , when that field has a specific value.
    Due to that field is a custom field, I need an exit, or rutine, or .. i don't know...to inform a standard field too ( delivery block, rejection...) something to get confirmed quantity to 0.
    I've tried with rutine in OVB8. But It didn`t work
    I've tried with delivery block, but with this all items in sales order, confirms with 0. I need at item level.
    Thanks

  • Sales order not getting confirmed because of oldest of open items overdue.

    Hi all
             Businesses using the auto order creation for sales, sales order getting created but when I check it in schedule line the quantity is not getting confirmed even quantity is available and credit limit is also available and there are no open items due. When I check ,availability tab in VA02 manually, its coming oldest of open items overdue.
    Pls help...
    Regards
    Nagesh

    Hello,
    please check in the system in ova8
    Credit check against oldest open item
    Indicates whether the system carries out a credit check based on the age of the oldest open item.
    The oldest open item must not be older than the number of days specified.
    If in ova8 it checked then system is checking the oldest open Items .
    Thanks,
    venkataswamy.y

  • I am getting error "Office for Mac has determined that your  product key is not valid." when opening xlsx doc.Till yesterday i was not geting this error

    i am getting error "Office for Mac has determined that your  product key is not valid." when opening xlsx doc.Till yesterday i was not geting this error and was working perfectly fine with my sheet.

    Could be some Disk Corruption, but...
    http://support.microsoft.com/kb/969064

  • GL Account Line Items-Qty Field not showing credit sign for credit postings

    The instance is ECC 6.0
    We are using new GL.
    The issue is happening for WA doc types. For the credit postings, the Qty is not coming with the credit  sign(-) in the line items details report (FAGLL03) for the GL account. When the same document is displayed via FB03, the QTY is having a credit sign(-).
    Can someone tell if this is something that is controlled at the layout level for the QTY field and if I can change it so credit entries show with sign?.

    Hi,
    The quantity will not come with negative sign in FAGLL03.
    Whether the quantity is positive or negative is determined using the posting key or debit/ credit indicatior.
    You can not change this standad setting. You can change your layout to sort based on debit/ credit indicator.
    Regards,
    Gaurav

  • GENPC in ESTOH table not geting updated while creating report.

    Hi Guys,
    I am trying to create a report but once the report is created it is going to generation running status.
    I checked table ESTOH where all the item comes once areport is created. There is a field called GENPC in ESTOH table which logically should get filled with the Generation server automaticallly.
    The issue is that field is not geting updated with server value.
    But if i edit the table and fill the field GENPC with server name , it is then getting prcessed correctly and report is getiing generated.
    My question is why GENPC in table ESTOH  is not getting updated automatically when a report is created.
    Regards,
    Anoop

    Hello Anoop,
    could you please indicate which release you are using (ECC 6.0 with or without activated Enh.PAck 3).
    Are the WWI Work Processes running as scheduled (work processes ?); is the dispatcher running normally ?
    Have you checked transaction CG5Z ? Here you should see immediately which generation server should generate the WWI document.
    Normally it is like you have explained. You generate a report (from g02) and in the background the dispatcher dispatches this to a WWI work process which takes over the further activities. Then the data is collected and passed on to the WWI server. THen the report is build and the WWI document is passed back to SAP R/3. Im an not sure at which point of time the WWI document get the  "unique id" in DMS (what means is the number generated before the WWI is asked to generate something or is it generated if the document has been passed bacK.
    Do you have the problem always with the same generation server? Is this always the same specification and generation variant language combination?
    During the process the normal status net is used. If you check Cg50 you should be able to control the progress of generation.
    The normal status net is like this:
    SW => RR => GP => GS => CO => RE => HI (refer to http://help.sap.com/erp2005_ehp_04/helpdata/en/a7/288aa30a6c11d28a220000e829fbbd/frameset.htm
    Example of a Status Network for Reports )
    If you have the status "generation possible" and nothing is happening any more in most case there is some trouble with SAP => RFC => WWI destination.
    Therefore check in additiion WWI version, RFC connections etc.
    With best regards
    C.B.
    Edited by: Christoph Bergemann on Jul 22, 2010 8:30 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:39 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:45 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:45 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:46 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:46 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:47 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:48 PM

  • In my work  flow Invoice Details not geting  when Dispute case created?

    Hai Experts,
                          Im Working on Dispute case Workflow in FSCM module , I Created custom workflow for that ,
    when ever Disputecase created notification send to Processor and Coordinator for that i created one Zclass
    write the one of the that Zclass method for sending  the mail to processor and coordinator for those mail Id's,
    Its working fine but the problem is on that mail i have to send the Invoice details also ,
    for that im using the fm  'UDM_GET_BOR_OBJECT_KEY_INVOICE ' this FM not geting the data when dispute case is created,
    its working in foreground and background, but the problem is in workflow it  is not geting the invoice details.
    please help me on this,,,
    thanks in adv..

    Hello,
    "I Debug the FM, its throughs the Error
    'No Configuration for the wrokflow Wfno version 0000'."
    I doubt very much that the FM is showing that error. I assume you mean the workflow log.
    The step that calls the task that calls the method that calls that FM, is that the one with that error message?
    First check that the FM works in SE37 with the same inputs as when called from the workflow, and if it gives the expected output.
    Try replacing that step with a different one to make sure there's no problem with the workflow itself. Make sure the workflow is activated without errors and do SWU_OBUF.
    regards
    Rick Bakker
    hanabi technology

Maybe you are looking for

  • Is it possible to save an image as PDF without actually converting it ?

    According to the Convert To PDF setting, it seems that no matter what format the source image is, it is always converted (into either lossless heavy format or a lossy lighweight format) when saved as a PDF. I want to use GIF because it's the best qua

  • Has anyone experienced glitches in the "Mail" with the download of Maverick?

    Since downloading the OS upgrade Maverick I've had ongoing issues with MAIL.  The MAIL 'program' will not QUIT in order for the machine to SHUT DOWN. Once an attempt has been made to QUIT it will not re-open either.  It must be FORCE QUIT in order to

  • Leave mac plugged in on sleep  mode?

    i just recently bought a macbook and have been reading about battery cycles and what not. just a quick question though.. is it better to leave my mac plugged in overnight while on sleep mode or should i just unplug it and plug it in again in when i u

  • [DataGrid] Line font color

    Hi, I would like to know if it's possible to change the font color of a specific line in a datagrid. I mean if I have x lines in my dataprovider, how can I detect a line (using a property of the object inserted) to change its font color ? For example

  • Is Mac for me?

    This question has been haunting me for the past two weeks. I have had it with my Dell laptop, but I don't know if mac is for me. My laptop is running on Windows Vista and with Windows 7 coming out, should I even buy a Macbook? I am a college student,