Quotation Using BAPI .. Status is open in Document flow

Hi..
I created Inquiry .. quotation using BAPI (inquiry/quotation)Create_from_Data2 .... ie
BAPI_QUOTATION_CREATEFROMDATA2 & BAPI_INQUIRY_CREATEFROMDATA2
..  But in Document flow created  inquiry and quotation status is open... Why this is happening?
Thanks..
..Ashish

yes... Actually if we go to change inquiry/quotation ... if i check whether document is complete .... then it shows document is complete ....
..Ashish

Similar Messages

  • I am using a program that opens a document in adobe and I need to save it back in the program.  I get this message: this document is trying to connet to: fill://index.cfm?event=vendorsonly.submiteventform.  Help

    I am using a program that opens a document in adobe and I need to save it back in the program.  I get this message: this document is trying to connet to: fill://index.cfm?event=vendorsonly.submiteventform.  Help

    Have you contacted the people who make the program? It sounds like something special from that program.

  • Quotation using BAPI

    Hi,
    I am working on program to create quotation using bapi function module
    BAPI_QUOTATION_CREATEFROMDATA.
    I am getting following error:
    Requirements are not fulfilled for condition EDI1
    I have filled up this three structure with following flelds
    header data
      t_order_header-doc_type =
      t_order_header-sales_org =
      t_order_header-distr_chan =
      t_order_header-division =
      t_order_header-sales_off =
      t_order_header-sales_grp =
      t_order_header-qt_valid_f =
      t_order_header-qt_valid_t =
      t_order_header-ord_reason =
      t_order_header-zz_sdcat_id =
      t_order_header-zz_sdflyer_id =
      append t_order_header.
    Fill up Order partner structure
      t_order_partner-partn_role =
      t_order_partner-partn_numb =
      if not p_i_rep is initial.
        t_order_partner-partn_role =
        t_order_partner-partn_numb =
      endif.
      if not p_e_rep is initial.
        t_order_partner-partn_role =
        t_order_partner-partn_numb =
    endif.
    item data
        t_order_item-zzmatwa = t_record-matwa.
    t_order_item-req_qty = t_record-kwmeng.
      t_order_item-cd_type3 = 'EDI1'.
      t_order_item-cd_value3 = t_record-price.
      t_order_item-cd_p_unt3 = 1.
      t_order_item-cd_curr3 = 'USD'.
        CALL FUNCTION 'BAPI_QUOTATION_CREATEFROMDATA'
          EXPORTING
            ORDER_HEADER_IN           = t_order_header
         WITHOUT_COMMIT            = ' '
           CONVERT_PARVW_AUART       = 'X'
         IMPORTING
          SALESDOCUMENT             = g_salesdocument
          SOLD_TO_PARTY             = g_sold_to_party
          SHIP_TO_PARTY             = g_ship_to_party
           BILLING_PARTY             = g_billing_party
          RETURN                    = g_return
          TABLES
            ORDER_ITEMS_IN            = t_order_item
            ORDER_PARTNERS            = t_order_partner
            ORDER_ITEMS_OUT           = t_order_items_out
            ORDER_CFGS_REF            = t_order_cfgs_ref
            ORDER_CFGS_INST           = t_order_cfginst
            ORDER_CFGS_PART_OF        = t_order_cfgspart
            ORDER_CFGS_VALUE          = t_order_cfgsvalue.
    I have just defind  t_order_items_out,t_order_cfgs_ref,t_order_cfginst,t_order_cfgspart
    t_order_cfgsvalue .
    but i don't have any data to fill up this following table  t_order_items_out,t_order_cfgs_ref,t_order_cfginst,t_order_cfgspart
    t_order_cfgsvalue .

    You incorrectly filling item information with condition value. All quotation related pricing need to pass QUOTATION_CONDITIONS_IN table paramete of BAPI.
    Try it and the problem get solved.
    Cheers
    Nilesh Shete

  • Creation of sales order with reference to Quotation using BAPI

    Hi All,
    I am using BAPI "BAPI_SALESORDER_CREATEFROMDAT2" for creating sales order. Can you please tell how can I create a sales order with reference to a Quotation.

    Vinit,
    In your header structure, set like this:
      hdr-REF_DOC = i_order-vbeln.  "assign quotation # to sales order
      hdr-REFDOC_CAT = 'B'.         "assign Quotation to VBTYP_N.
    For each line item, set as follows:
    Assigning ref doc to create line item entries in VBFA.
        itm-REF_DOC    = i_order-vbeln.  "quote number
        itm-REF_DOC_IT = i_vbap-posnr.   "quote line item #
        itm-REF_DOC_CA = 'B'.
      data: ret_text type BAPIRET2.
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
        EXPORTING
          ORDER_HEADER_IN           = hdr
          convert                   = 'X'
        IMPORTING
          SALESDOCUMENT             = salesdoc
        TABLES
          return                    = ret_tbl
          ORDER_ITEMS_IN            = itm
          ORDER_PARTNERS            = prtnr
          ORDER_ITEMS_inx           = itmx
          ORDER_CONDITIONS_IN       = conds
          ORDER_CONDITIONS_INX      = condsx
          order_schedules_in        = schd_lin.
    Don't forget those points.

  • Use comments with several opened pdf documents?

    I love Acrobat! I currently have Acrobat 9.0, version 9.5.5. I have noticed sadly that the properties bar for comments becomes disabled when 2 or more pdf documents are opened. I have to save the editing, close all pdf documents, and re-open desired document. Is this normal or is there a feature I needed enable?
    Thanks.

    That is odd, but this old version is not compatible with the latest operating systems (Windows 7 or 8). Try to update to the latest possible version, and if you're still encountering problems you might consider upgrading to Acrobat XI, the latest version.

  • Status of invoice in document flow of VA02

    I want to make a report (invoicing) in which i want to add a 'STATUS' column of an invoice. I checked the status in the document flow but i cant get the technical name nor the table in which it is stored ?
    Thanks...
    Shehryar

    Hi,
    Check the Header and Item status tables for Sales Order.
    VBUK  ---Header Status
    VBUP -
    Item Status
    Regards
    vijay

  • Creating contract reference with Quotation - using bapi or fm

    Hi Friends
    Currently I am creating contract using function module sd_saleorder_create function module.But as per new requirement we have to create contract referenced with quotation number.
    Please suggest the suitable bapi or function module.if you suggest some thing ..kindly let me know?
    how to create contract referenced with particular line item in the quotation.
    where I need to pass the referenced line items...if you need any inputs..will reply by tomorrow...
    thanks
    Gowrishankar

    gowrishankar p wrote:
    Hi Friends
    >
    > Currently I am creating contract using function module sd_saleorder_create function module.But as per new requirement we have to create contract referenced with quotation number.
    >
    > Please suggest the suitable bapi or function module.if you suggest some thing ..kindly let me know?
    >
    > how to create contract referenced with particular line item in the quotation.
    >
    > where I need to pass the referenced line items...if you need any inputs..will reply by tomorrow...
    >
    > thanks
    > Gowrishankar
    is it really SD_SALEORDER_CREATE? if yes, which version are you in?
    Have you thought about 'BAPI_CONTRACT_CREATEFROMDATA'. Documentation available for this bapi.
    If not, just an FYI, REF_DOC field in (BAPISDHD1) -Contract_header_in structure can be used to pass the ref document and check for the type. You will also need to pass the type for this ref_doc.
    Assuming you have the configuration in place already.
    Search forum for this BAPI to get the sample code.

  • Error while using BAPI  to create Goods Receipt Document

    Hello All,
        While using the bapi BAPI_GOODSMVT_CREATE to create  Goods receipt document ,the following error is encountered:-
    Error Message:FOR OBJECT XABBELEGNR,NUMBER RANGE INTERVAL DOES NOT EXIST OM36.
    Do we need to create a number range object ??If yes,how and where to create ?
    Thanks,
    Deepti.

    Hi Deepti!
    There is only a valid interval missing, not the whole object.
    Maintenance can be done via transaction SNRO, enter your object XABBELEGNR in entry screen. (Alternatively use transaction OMJ6).
    Push button 'Number Ranges' and 'Change Intervals'. Here you can define an interval.
    Regards,
    Christian

  • Strange read-only status upon opening a document

    I have a MS Excel spreadsheet on the network. No one has it opened. Despite that when a person, who has all the rights for this file is trying to open it using Star Office 8 calc, it gets opened as read-only.
    What could cause that?
    Thank you,
    Mike

    I've seen that before on Windows machines accessing SMB shares. Haven't found the root cause yet, but a reboot of the Windows box always seems to make the problem go away for awhile...

  • Problem in Sales order create using BAPI with reference to quotation

    Hi,
    I am creating a sales order from Quotation using BAPI /AFS/BAPI_SALESORD_CREATEFDATA.
    The Sale order is getting created and the document flow is updated. When i check the status of quotation it is "OPEN".
    Ideally when a sale order is created in VA01 with reference to a quotation and if all items are added in the order from quotation, then the status of the quotation must be "Complete".
    When i use the BAPI, the status of the quotation is sill "Open". Has anyone faced this issue?
    Even if anyone has faced this issue with BAPI_SALESORDER_CREATEFROMDAT2, please let me know...
    Regards

    Hi RV,
    I am using BAPI  to create order reference to contracts. I am facing same issue. Its not updating document flow (vbfa-plmin field). After creating orders I am forcing to update plmin field in vbfa. This worked fine. But now status in reference document not updating properly. I saw your thread. It looks like similar issue. I saw your comments "Customization was not maintained properly for the Order types ". Please can you explain little bit more about your solution. It will helps us lot.
    Thanks,
    srini

  • I can't open 3 documents because trial upgrade to version 5 of pages happened. I don't want to pay $20 to get upgrade. How do I open docs in older version. They were created in older version.

    I can't open 3 documents because trial upgrade to version 5 of pages happened. I don't want to pay $20 to get upgrade. I don't recall fine print stating money would be needed. How do I open docs in older version? They were created in older version.

    Hi MBilyeu,
    Thanks for visiting Apple Support Communities.
    You can use these steps to open your Pages documents with the previous version:
    Permanently change the document’s app
    Select the document and choose File > Get Info.
    In the Info window, click the triangle next to “Open with” to expand the section.
    Choose an app from the pop-up menu, or choose Other to locate a different app.
    If you want to use that app to open all documents of the same type as the current document and created by the same app, click Change All.
    Temporarily change the document’s app
    You can open a document in a different app without changing the app that normally opens it. Use either of these methods:
    Control-click the document, choose Open With, and then choose the app you want to use.
    Drag the document to the app’s icon in the Dock or in the Finder.
    From:
    OS X Mountain Lion: Choose an app to open a document
    http://support.apple.com/kb/PH11329
    Regards,
    Jeremy

  • Disable print output when using bapi BAPI_GOODSMVT_CREATE

    Hello,
    I am using BAPI BAPI_GOODSMVT_CREATE to post material documents in our programs.
    I wish to prevent the print output of the documents created by the BAPI.
    Meaning - when the user post good movement using MIGO, there will be a printout of the movement, but if the movement is created using BAPI_GOODSMVT_CREATE, no output will be printed.
    I have tried sending blank values in fields VER_GR_GI_SLIP & VER_GR_GI_SLIPX in GOODSMVT_HEADER structure, but to no avail.
    Is there a way to disable printing ONLY when using the BAPI?
    Thank you very much.

    Hi,
    We cant restrict the print preview or print out of the material document. Once the condition record has maintianed for the material document, it ll applicable for all the material doc . It would be manual Gr or BAPI GR.
    In your case Print is coming automatically or user is taking the print !!
    Regards,
    Dhanush.

  • Issue in Updating Sales Order Document flow

    Hi Experts,
    We have developed a Z Program for posting Material document for the deliveries of Sales Order. This program runs in Batch job everyday.
    Here we are getting an issue like in some of the cases it's not updating the Document flow of the Sales order though its Posting Material Document for the Delivery of Sales Order. If there will be a bulk amount of data then its creating issue in updating the Document flow ( Either the 1st set of record or last set of records).
    We are using BAPI 'BAPI_GOODSMVT_CREATE' for posting Material Document for the delivery and FM 'RV_DOCUMENT_FLOW_UPDATE_U' for updating the document flow.
    It seems it giving issue with bulk amount of data. Will it a time issue?
    If any one have faced such issue, please throw some pointers.
    Thanks in advance!
    Regards,
    Priyabrata.

    It could be a timing issue. After you create the material document, try to enque the material document and move to the next step  only if the enque is successful.  Keep trying to enque the material document until u are successful. But make sure you exit the loop after certain number of tries to avoid endless loops.  Here is a sample code:
      DO 20TIMES.
        CALL FUNCTION ;'ENQUEUE_EMMKPF'
          EXPORTING
            MODE_MKPF      = co_e
           MBLNR          = xxxxx
          MJAHR           = xxxx
          EXCEPTIONS
            foreign_lock   = 1
            system_failure = 2
            OTHERS         = 3.
        IF sy-subrc EQ 0.
    dequeue/unlock the notification again
          CALL FUNCTION DEQUEUE_EMMKPF
            EXPORTING
              MODE_MKPF= co_e
           MBLNR          = xxxxx
          MJAHR           = xxxx
         EXIT.
        ELSE.
    in case of no success, wait 1 seconds, before try again
          CALL FUNCTION 'RZL_SLEEP'
            EXPORTING
              seconds        = 1
            EXCEPTIONS
              argument_error = 1
              OTHERS         = 2.                               "#EC *
        ENDIF.
      ENDDO.
    Regards,
    Jitendar

  • How to create open sales order using BAPI....?

    Hi Guru's,
    please help me how to create open sales order and which BAPI i have to use for open sales order.
    please provide any program logic related to this or step by step process.....
    that would be helpful to me.
    thanks in advance...
    Srinivas....

    Hi sreenu,
    Open PO or Open sales order means that the complete cycle is not complete. That means the Sales order is not completely delievered or is not billed or is not paid for. Only once the cycle is completed the order status shows as complete untill then its Open.
    You can use VA05 to find open sales orders.
    Similarlry open PO's are those PO's whos inbound delivery is not complete or whos goods receipt is not complete and whos payment is not done to the vendor
    U cannot directly find the open PO and open SO from any table.
    That u have to calculate from the status of the PO and SO and then check wheteher that is complete or not.
    U have table VBUP for SO status.Check out the fields in that table
    pls see the below link.
    http://abaplovers.blogspot.com/2008/02/bapi-sales-order-create-code.html
    http://msdn.microsoft.com/en-us/library/cc185190.aspx
    thjanks
    karthik

  • Help in Quotation creation using BAPI

    I want to create Quotation with reference to Inquiry. I am using std BAPI 'BAPI_QUOTATION_CREATEFROMDATA2' but I am not able to crate with reference to Inquiry. If you see the std tcode VA21 there is option to create with reference; there you can put the inquiry number. This functionality, I want to implement using BAPI.
    Can anybody tell me how to achieve this.
    Thanks in stack

    Nilesh,
    There is a problem if you use the BAPI 'BAPI_QUOTATION_CREATEFROMDATA2', the table flow will not be maintained (i.e) it will not maintain the document flow which you can view using
    VA13(Inquiry)->Document flow(F5). It will allow you to create any number of quotations for the same inquiry. This will be the case even if you use the BAPI 'BAPI_QUOTATION_CREATEFROMDATA'.
    The alternative you can use is use a BDC program for just creating the Quotation(VA21). Then use the BAPI 'BAPI_CUSTOMERQUOTATION_CHANGE' to change the quotation. I have done this before and it is working perfectly fine. Hope this solves your issue.
    Note: Reward points if found helpful.

Maybe you are looking for

  • Is there a way to list all the file names (automatically) in a folder to dynamic text box?

    Hi, I would like to know whether FLASH AS3 has some option to get all the files names from a folder specified and show it in a dynamic text box? Whenever some new files added to this folder it should update the list accordingly. Thanks for any inform

  • Business Workplace - "Tips & Tricks"

    I've just noticed a very, very cool feature in Business Workplace. When you go to your Inbox, and you hover over "Tips & Tricks," something appears, a bit like a Windows tooltip, except far more useful and far less annoying. Does anyone know how I ca

  • Wireless connection doesn't work - G770

    Hi there, I have a problem with my brand new G770 - I can't use wireless connection. After first run my home wifi AP wasn't found, so I set manual connection to it. It didn't solve the problem. So I did a lot of Googling and discovering, that Lenovo

  • Create Characteristics, Data Type - Currency

    Hi All, I am trying to create characteristics in transaction CT04 for our PO release strategy. Data type is Currency. After giving all required details when I press enter the value range becomes NNNNNNNNNNNNN.NN. So I am unable to select value in rel

  • Trying to download music and not finding in store but showing it online

    ok first off im located in the us, and trying to download this album, http://itunes.apple.com/ca/album/light-the-horizon/id389763700# its listed in canada, but when I click view in itunes, it asks me to download itunes. Is their ANY way at all I can