BAP_SALES_ORDER_CREATE_WITH_REFERENCE - Document flow

Hi, I have a problem with the bapi for create sales order with reference, When the line items be created, the Update indicator for flow table(VBAP-UPFLU) be created whit the value 'X'(Create document flow records).
If the sales order is manual, the value of the Indicator for flow table is '2'(Create document flow records except for delivery/goods issue/billing documents), acording to the configuration, but, the bapi assing 'X' for the same reference document.
Then, when change positions of outbound delivery or billing document the performance of the system is afected because the "Document number of the reference document" have to many reference, and read all the flow document of the contrat.
I think that maibe need indicate someting aditional to the bapi at position level.
Thanks a lot for your help.
Regards,
Fernando Jiménez.
Edited by: Julius Bussche on Jul 24, 2009 9:54 PM

http://www.sap-img.com/abap/bapi-salesorder-createfromdat2.htm

Similar Messages

  • Proforma invoice number is not in the document flow of the order.

    Hi all,
    I have a doubt , if i create an proforma invoice based on order, and after that i create delivery and billing, i cannot able to see the  proforma invoice in the document flow of the particular order.   pls guide me on this
    Thanks all
    Kumi

    Hi,
    Goto VTLA, and check the  UPDATE DOCUMENT FLOW in the  copy control
    If it is already set , then directly from sales order you can find the Proforma invoice .
    Goto the sales order in VA02 and enter into the overscreen and from there check the document flow ( F5), now you can see the Proforma invoices.
    regards,
    santosh

  • Confirmation of service in document flow

    Dear all,
    how can i hide the confirmation of service lines in the document flow.
    Thanks

    Try removing all authorisation to the relevant transactions in PFCG. It might stop display in the document flow also.

  • Confirmation of service in the document flow, where it comes from?

    Dear all,
    I found a confirmation of service after I picking and posting goods issue, from the document flow.
    I just wondering, where it comes from? Or, how can I configure it on or off for display?
    (This is a standard ERP system, should not involve in the CRM module)
    Thanks,
    Edited by: Peng Li on Apr 29, 2008 10:04 AM
    Edited by: Peng Li on Apr 29, 2008 10:38 AM

    Hi Peng,
    This usually happens for inbound deliveries usually happens when a movement type is not found for the relevant item. Please check in the delivery item if a movement type is maintained.
    Another possibility is that the material is a non-stock (service) material type for which goods movement are not relevant. Check the material type from the material master.
    Regards
    Nikhilesh

  • Sale order document flow-u0091Service Documentsu0092 is coming which should't aper

    New Issue with Sales order document flow:
    When linking from a sales order in document flow, we were reviewing why the description information varied.  In looking at different values, we clicked on a new item within document flow that allows you to like to ‘Service Documents’.   This is new in 6.0, or it was previously deactivated in 4.6C.  If you link from a sales order to a service document, in ECC 6.0, you will get a short dump because the document flow is so great (viewing order #any in VA03 and use document flow and then select the service documents button    as seen on the screen below
    A Short dump will occur in program SAPLDOCUMENT_FLOW_ALV.
    Here in ECC 6.0 is how it looks from sales order 9806:
    Documents created from 2004 through 2007 are coming up as linked to this sales order and that is incorrect.  There is some type of linkage issue.  In the 4.6 C environments, the ‘service documents’ link is not visible from document flow.
    Can any body functional / technical Help on this urgent???

    Hi Sanjay,
    Go to the order VA03 --> Environment --> status overview. The exact status of the header and item can be found here. You may have chances to know why the status is being processed.
    Also 
    Check whether you have checked 'document flow update' field at item level in copy control
    Check your settings for completion rule in item category
    If it is due to incorrect status message, run report SDVBUK00. That might fix the error. It is recommended to run this first in test mode.
    Br, Sats.

  • Sale Order without a Document Flow

    Hallo Everybody,
    How can i copy a sale Order without a Document Flow ?
    Thanks.

    Hi,
    Try to use the FM BAPI_SALESDOCUMENT_COPY
    Rgds,
    Bujjji

  • Sales Document Flow - Ref. Value not showing correct currency

    I have a question about document flow currency in ECC6.0.  We recented upgraded to ECC6.0 from 4.7 and noticed the changes to document flow.  We are a US based company with sales offices in Europe.  Our European offices are finding that that document flow in ECC6.0 shows in base currency of USD.  Even thought the sales order was entered in EUR euros.  Is this intended to be this way; since it is causing our offices in Europe some confusion?  I searched forums an SAP notes and did not find any references.  Has anyone see this in ECC6.0
    Example Document Flow: Line Level (I do not see Ref Value at header level)
    Note Sales Document was entered in EUR euros.
    Document     Quantity     Unit     Ref. Value     Currency
    Standard Order 0025082768 / 10     12 EA     5,207.54 USD
    ...Delivery 0080211725 / 10     12 EA
    .....Picking request 20100423 / 10     12 EA
    .....Handling unit 0001221687 / 1     12 EA
    .....GD goods issue:delvy 4901261948 / 1     12 EA     1,690.08 GBP
    ...Invoice 0092006736 / 10                           12 EA     5,207.55 USD
    Accounting document 0092006736     12 EA
    If I highlight top line in document flow, I see the following in lower part of screen.  This is the currency entered on the sales order.
    0025082768     10          12     EA     3,847.80     EUR

    Smile,
    Thanks for pointing those configuration points out.   I checked my system and found the following.  I do not see any change documents for the configuration points, so they have been set this way since our implemenation in 2005.
    XD02 is customer master change, the customer on my order is set to EUR in sales in distribution tabs.
    OX02 - Company Code
    1000     Middleton     USD...ok
    2000     London     GBP   ok
    2100     Munich     EUR...ok
    2210     Amsterdam     EUR...ok
    4000     Hong Kong     USD...ok
    I think OVX5 is not set correctly, should be same as OX02.  If I change them, do I need to run an update in the system for old data?  Or is it as simple as changing the value here?  I'm hesitant to change this not knowing how this will affect the system.  Do you know?
    OVX5 - Sales Org
    1000     Middleton     USD...ok
    2000     London     USD   should be GBP
    2100     Munich     USD   should be EUR
    2210     Amsterdam     USD...should be EUR
    4000     Hong Kong     USD...ok
    Thanks,
    Tony Romain

  • Delivery document flow show as a Archived,

    Dear Experts,
    My some of delivery document show in document flow as a archived, I want to know, Why delivery document archived,
    I also want to not list of archived delivery document,
    Can anybody give me t.code for list of delivery document archived,
    Regards:
    Happy

    Hi,
    Are these delivery actually archived by archiving job? Is there any subsequent document after the delivery?
    Technically, if an delivery doesn't exist in LIKP table, but it exist in VBFA table, it will show "archived" in document flow.
    As of why the delivery doesn't exist in LIKP, there could be two possibilities:
    -  it's deleted by archiving job.
    - for unknown reason, it's gone.
    To know why it's gone, it's necessary to reproduce the issue. If you can reproduce, please raise a message to SAP support.
    What you need to do:
    - If this delivery is really archived by your archivng job, you should also archive the preceding sales document.
    - If this delivery is not supposed to be archived, but misisng, you need ot delete this dummy entry from VBFA table, and then recreate delivery.
    To get a list of this kind of archived document, there is no standard report or transaction to do that. You need to write your own report to do that. As mentioned above, technically, if delivery exist in VBFA but doesn't exist in LIKP, it will be displayed like that. You may selecting VBFA and LIKP tables to get your list.
    Regards,
    Harry

  • Document flow of Inbound Delivery

    Dear Gurus,
    We have upgraded to support pack SAPKH60018 from SAPKH60010.
    Earlier the process for goods receipt was followed as described below
    1. Purchase order
    2. Inbound Delivery
    3. GR in to Blocked stock against Inbound Delivery (mvmt type 103)
    3. Release GR blocked stock (mvmt type 105)
    Now after upgrading the support pack when GR blocked stock is made against the Inbound Delivery system is not updating the Document number in the document flow and PGR button is not disabled though 103 mvmt type document is made through migo.
    System is also not allowing to make the Release GR block stock through MIGO and prompting to use Inbound Delivery Dialog instead.
    Request for immediate assitance in regard to this issue.
    Regards
    Danish Alam.

    With the support pack in case if material is serialized for such plant you can post goods receipt only in VL32N which would happen only during 105 mvt type and you cannot post goods receipt using MIGO.

  • In delivery document flow the shipment should be added

    Hi Gurus,
    when the delivery is created, users have to affect the delivery to the right shipment document:
    They have to :
    1.Check the sales order document number form the document flow of the delivery
    2.check in the order the shipment document number
    3.Enter in the shipment document number (VT02N) and affect the delivery.
    If the copy cannot be processed (sales order locked for example), user is not informed and data are incoherent between order an shipment document.
    plz help me to find a solution to solve this problem
    thanks in advanced
    Edited by: snehal patil on Nov 21, 2008 9:55 AM

    Welcome to the forum.
    First of all, this should have been posted in sales forum as this is not the right place to post.  Coming to the query, if I understood your requirement correctly, you want to restrict the number of line items in delivery.  If so, check this thread
    [Re: How can I limit the item number of the delivery?|How can I limit the item number of the delivery?]
    If my understanding is wrong, please elaborate and post the same in sales forum.
    thanks
    G. Lakshmipathi

  • Document flow is not updated for Scheduling agreement

    Hi Gurus,
    Can you please advise on the below issue..
    Some deliveries created with reference of schedule agreement are not displayed in scheduling agreement in forecast delivery schedule under delivery tab and as well as not updated in document flow for VBFA table.
    There are two ways to create delivery with reference of Scheduling agreement , 1)  Create Delivery order (Order Type   : TAM) with reference of SA, then delivery for TAM order.
    2) we can add the line item in existing TAM order with reference of SA .
    Advance thanks for your valid points.
    Best regards,
    Venkat.

    Hi Ram,
    Thanks for the reply, there is no issue in copy control settings.
    Best regards,
    Venkat.

  • Sales order document flow error

    we do credit memo for one sales order, in the sales order document flow, the credit memo accounting document's status is not cleared. how can we changed it to be cleared?

    Hi,
    Clearing will be done by finance after the payment is given to the customer. This clearing is done by transaction F-22.
    VKM3 is used for releasing document blocked for credit management and not for clearing the accounting document.
    Regards
    Karan

  • Contract not visible in sales order document flow

    Hi
    I am supposed to create sales order from Contract.The requirement is that only header data should be copied.Thus  In Copy Control configuration I did not maintain item level and schedule line level settings for these document types. The issue is that after running the whole cycle from Contract -->SO --> Delivery --> Invoice when I see the Sales Order document flow I can see all other documents but not the contract.Also In Contract document flow I can see only sales order but not delivery and invoice.Please guide.

    Hello,
    Update Document Flow option is available only at Item Level in copy control setting from Contract to Sales Order.
    Check out your Copy Control Records at Item Level. There would be "2" mentioned in "pdate document flow" box.
    2 means Create doc. flow records except for dely/goods issue/billdoc. Here you to maintain "X" for Complete Document flow.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Outbound Delivery Document Flow (One-Step procedure) Goods Receipt

    I am trying to extract the Goods Receipt status of Outbound Deliveries which are posted using One-Step procedure.  I can do this one delivery at a time using VL03N.
    Some sites (plants) are configured with One-Step procedure and others are configured as Two-Step procedure.
    Document flow of an Outbound Delivery is extracted from table VBFA.
    For the two-step delivery process (Movement type 641) the Goods Receipt is recorded in table VBFA (Subs.doc.categ. / VBTYP_N = 'i').  Therefore, I can easily extract the goods receipts for these deliveries. 
    However, for the one-step procedure (Movement type 647) the Goods Receipt does not appear to be recorded in table VBFA.  Does anyone know which table the Goods Receipt is stored for one-step procedure?
    Using transaction VL03N we can view the document flow.  It appears that for One-Step procedure the Goods Receipt is held at item level.  By highlighting a delivery line in VL03N and viewing the document flow we can see the goods receipt for One-Step deliveries (therefore, the data must be held somewhere).
    I understand that by using One-step procedure the goods receipt is posted automatically, so we can assume that there should never be outstanding Goods Receipts for One-Step sites.  However, I have been tasked with the job of reconciling all deliveries for the past 12 months.  I need to prove that a goods receipt has been posted for every single delivery.
    Any advice is much appreciated.

    Thankyou for the advice.   I will proceed with your recommendation.
    However, the query is inefficient since the link between LIKP and MKPF does not use the primary key (Article Doc. / MBLNR).  We have almost 7 million records in MKPF table. 
    Is there any intermediate tables I can include between LIKP and MKPF so that only primary keys are used for the joins?

  • Document flow not getting updated

    Dear Experts,
    I am facing a  problem in document flow.
    I create order (for free goods order type ZFRE), do delivery and finally billing.Outbound delivery is showing as "Being Processed".While I have maintained "Update document flow" in item level in copy control.
    For your information, this is free goods order type and the system has been configured in such a way that accounting docs are not generated after billing. (As it is for free goods.).Could this be because accounting docs are not being generated?
    Kindly advise.
    Regards,
    Randhir

    Hi
    Pls see the copy control sales document to sales document T.Code VTAA
    Go to the item category  and see the document flow field is activated or not if is not activated pls activate  and re run the scenario
    pls check your correct defined  Z item category the document flow is activated or not.
    Thanks.
    Vasu
    Edited by: Vasu Enaguthi on Apr 8, 2010 12:09 PM

Maybe you are looking for

  • Can you go back to second page of your menu without going to the main page.

    I have created main page (first play) and second page for the chapters. On the second page, after selecting any chapters, I want to go back to select another chapter from the second page, But the dvd takes me back to the main page instead of second p

  • Table lookup instead of fixed value mapping

    Hi Folks, My current scenario is that I have used fixed value mapping to map a single target field.  These details are actually maintained in the TP_Code table in R3 (a sample table). TradingPartner:SAP:Short Text PA:PA:Package PL:PAL:Pallet The tabl

  • Can't find ManagedQuery or ManagedOperation

    I'm having troubles using Adobe Data/Services on PHP. The following error appears when I put a component that has a datagrid with a binded Data/Service. ArgumentError: Can't find ManagedQuery or ManagedOperation named: getAllPago_suplidos     at mx.d

  • Isupplier date format issue

    we have preference in isupplier portal set to DD:MM:YYY format. But all the date fields in isupplier portal are displaying with DD:MM:YYYY: HH:MM:SS Can any one let me know how to get the date format as DD:MM:YYY for all the fields in isupplier porta

  • I have bought a song from one republic but the song is not there.. :-(

    i have bought a song from one republic but the song is not there.. :-(