Merging datasources - Confusion with SD Sales order case study

Hello
This is continuation of my last post.
My case study states that the fields required are on the order. See the excerpts:
"The SD Consultant thinks this is an excellent report and he has advised that the transmissions are held in table NAST , the gross value is sub total 1 in table VBAP and the cost is also in VBAP. He thinks the rest of the fields are on the order."
I have been able to identify NAST table as billing header data, VBAP(2LIS_11_VAITM) as Sales Doc item info but what he means by on the order is not clear if it is the Order header table or schedule line or the old sales order 2LIS_01_S260?
The other confusion is that payment terms and complete delivery indicator is not in any of those datasources. Is it a case of another term being used as the field in the order tables that I could not recognise or I will have to look elsewhere?

Why not create a wrapper for the bapi, which will generate the serial nos and then call the BAPI_SALESORDER_CREATEFROMDAT2, passing it the serial no. info along with everything else?
Hope this helps.
Sudha

Similar Messages

  • Question - SD user exit for Billing with multiple sales orders

    We have a situation where we are summarizing Accounting Billing document updates via OBCY, transaction type VBRK .
    We will also have multiple sales orders per billing document.
    One of our accounts is a COGS- clearing account which will post for both delivery and billing documents.
    Our goal will be to clear the COGS-clearing account after the delivery and billing has occurred.
    One alternative being evaluated is to update the assignment field ( bseg -zuonr) for the sales order. 
    To do this, one of the SD user exits , perhaps SDVFX008, would be necessary to update the sales order from vbrp-vbel2 to bseg-zuonr.
    I am concerned about
    1) will the update work
    2) what will be the effect on summarization
    If we try to implement the user exit , would we be successful to just update the assignment field for just the COGS accruall account.   _Therefore the next effect is that AR,Rev, etc, would summarize , but the COGS clearing would break out due to the update to the assignment field..
    Does anyone have any experience similar to this situation.
    Thank you,
    Jeff

    Hi
    You can use SDVFX008 or FI Substitution exit RGGBS000 (Form U100)
    You can very well update the required GL (COGS Clearing) with the Sales order No... However, how exactly it would behave upon summarization, I am not sure about that.. you need to develop that and see
    In the COGS account during PGI, Sales Order No is populated always in the field "Sales Order"... In your case, the COGS clearing account should be having sales order no populated...
    So, if you are successful to populate Sales Order No during billing in the "Sale Order" Field for the COGS clearing account, that should also suffice...
    or See if you can have relevant sort key in FS00 for the COGS clearing account so that Sales order no is always populated..
    Regards
    Ajay M

  • Third party process with Valuated sales order stock

    Hi All,
    We have third party sales order process with valuated sales order stock. The problem is that in the theird party PR which is triggered directly from the sales order it determines a stock account which is assigned to the BSX key in OBYC.
    But since this is third party processing as per my understanding a consumption account assigned to key GBB-VAX (since account assignmnt category is X) should get determined, so that when the GR is done against the PO a consumption posting is done in the background.
    I am not able to understand if the system is determining the stock account due to the fact that it is valuated sales order stock and if so, what should happen after GR. Should we have a stock created for the material which is physically directly delivered to the customer?
    Regards,
    V S

    Hi,
    Check GBB-VKA which is defined in OME9 for your ''E'' Account Assignment Category that SAP will debit upon GR posting
    Also check "X" GBB-VAX and the G/L account assignment in OBYC
    The posting on GR should be debit KBS -Credit GR-IR
    Thanks
    Diwakar

  • Opening and closing stock with sales order and with out sales order

    hello,
    any body please help me my client want to check opening stock and and closing stock in areport.
    material contains batch and some material with sales order and some are with out sales order. my client is asking this in a single layout. please tell me isthere any teport or bapi or function module to get this report.
    this is very uregent. and layout is requesting like opening stock, production stock, sales stock and closing stock.
    please guide me to get this report.
    Thanks & Regads
    Bhakta

    Transaction MB5B
    For sales order related use specila stock as E and use radio button indicator in stock type
    For stock w/o sales order, use special stock indiactor as "space' and stock type valuated stock.
    to get a perticular month,opening stock/closing stock enter the start date/end date as month start and end date.
    See the o/p which will give the stock as required by you

  • Unable to copy the Price Modifiers associated with a Sales Order Line

    Dear All,
    I am copying Sales Order Line using the process_order API. I was not able to copy the Price Modifiers associated with the Lines. How can I accomplish this..?
    Is there any API available for copying the Price Modifier info associated with the Sales Order Line..?
    Environment is 11i and OS is SUN Solaris
    Please update...
    Many thanks in advance..

    Hello All,
    Please let me know is this possible to have the list of Invoices for an associated Sales Order.
    Thanks,
    Abdul

  • WIP FOR REPETITIVE MANUFACTURING WITH VALUATED SALES ORDER

    Dear All,
    We are in the process of implementing Repetitive manufacturing with valuated sales order(MTO). I want to clarify whether in this scenario WIP will be generated.
    Since, at the time of final backflushing, what ever GR done for finished goods, the GI for its components will be done automatically. The components will be issued based on the BOM. I think in this scenario WIP will not be there.
    Please tell me whether i am correct.
    regards
    ranga

    Thanks. I have another scenario. My client wants to transfer all cost of HR,Admin, finance etc and other indirect production cost center cost to production cost center. I mean they want to charge on the product. I have to production cost center. Client will give me the basis for allocating the cost. I have to do assessment and distribution for cost allocation
    But, I want to clarify how do i include the admin, hr or finance and indirect production cost center cost in cost component structure if i do the above process.
    How to do the cost splitting.
    regards
    ranga

  • Interaction Center Sales with ERP Sales Order

    We are in the process of upgrading from CRM 4.0 sp 6 to CRM 2007.  We have been using the Web IC and Mobile sales for the last 4 years.  In our original CRM 4.0 implementation (which was developed by SAP) we were using the CRM Web IC to create orders with R/3 using a couple of BADI's.  We are currently using R/3 4.7 and have plans to upgrade to ECC 6.0 next year.  I was just rereading some of the documentation in the upgrade guide and came across the following line:
    "The following software units are required for the Interaction Center Sales with ERP Sales Order scenario:
    Mandatory:  IC WebClient with specific ERP Sales order viewset requires SAP ECC 6.0"
    This implies that the standard Interaction Center Sales with ERP Sales Order functionality will not work in our current landscape and that it would only do so when we upgrade to ECC.  What options are open to us to get around this?  What is the technical reason why this functionality doesn't work with SAP R/3 4.7?
    I can't imagine we are the first company to face this problem and I can't imagine everyone upgraded to ECC 6 - so what approaches have people taken to address this issue
    Thanks in advance
    Eddie

    In the last 12 months we upgraded from 4.0 to 5.0 in CRM and went form 46C to ECC 6.0.
    In your current landscape you can create orders in the ICWC where the order is created in CRM and replicates to R/3 4.7.     You have the replication scenarios X, Y, Z available to you.
    Your other option is using the ICWC R/3 order screen where you basically are calling R/3 transaction VA01 and entering the order in the ICWC but the order entry in being done directly into R/3 via your ITS server.  Looks almost exactly like VA01 in the gui.  The menu bars are a little different. 
    The ERP order looks like other ICWC screens,  is very sharp and users wouldn't know that they are entering the order directly in ECC.  We have been using it about 3 months.  More Pro's than Con's, if you have user exits in MV45AFZ* the ERP order still uses them  (but t-code isn't VA01 if you have condition If statements around t-codes).
    Hope this helps,

  • SQL Query, to know the list of Invoices associated with a sales order

    Hello All,
    Can any one let me know the query to know the list of all the invoices associated with a sales order.
    Please do the needful.
    Thanks,

    Hello All,
    Please let me know is this possible to have the list of Invoices for an associated Sales Order.
    Thanks,
    Abdul

  • Ristrict user not to go for delivery with out sale order.

    Hi,
    I need some Help in ristricting the user from entering the Delivery document with any sale order.
    As per the requirement all the documents should run in a proper fassion.
    sale order> Delivery> Invoice.
    Purchase Order> GRPO> Invoice.
    If any change in the flow the user should not be allowed.
    Is there any possibility to implement this can you please help me in doing such.
    Thanks,
    Mahi.

    Hello Mahi,
    Is it not a trigger, it is inside store procedure of SBO_SP_TransactionNotification, which is standard part of the SAP B1 installation...
    read the following blog of Lisa :
    /people/lisa.mulchinock/blog/2009/05/22/the-sptransactionnotification-stored-procedure
    ALTER   proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                     -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    BEGIN
    -- Return VALUES
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    SELECT @error = 0
    SELECT @error_message = N'Ok'
    DECLARE @docnum nvarchar(50)
    --     ADD     YOUR     CODE     HERE
    if @object_type='15' and @transaction_type='A'
    BEGIN
      if exists(select top 1 'A' from dln1 T0 where T0.BaseType != '17' and T0.DocEntry = @list_of_cols_val_tab_del)
      begin
         set @error = '-1'
         set @error_message = 'delivery without sales order is not allowed!'
      end
    END
    -- SELECTthe return VALUES
    SELECT @error, @error_message
    END
    Regards,
    J.

  • One-time customer with ERP Sales Order

    Hello experts,
    I am working with ERP Sales Order on SAP CRM 7.0 Ehp3.
    We have a requirement to start using 'one-time customer' process. I know there is a standard account groupd (CPD) on ECC side for this purporse.
    We would like to enter a sales order for occasional customers, without saving the customer in the master data table.
    I would like to have an occasional customer (example nº 1000 which should work like a CPD). I need to enter a sales order for this customer nº 1000, and once I enter nº 1000 on the BP number field, it should bring a Pop-up in order to enter the customer's information (address).
    This is working when I create the order via VA01 on ECC side, but the pop-up is not shown when I try to create the order on CRM via erp sales order.
    Any suggestions on how to make one-time customer work on ERP sales order? And how to make the pop-up work?
    Thanks in advance!
    Luis

    Thanks a lot, Rene! I have just read this SAP note and confirmed your information.
    Do you know of any workaround or development that could be done for this scenario using ERP sales order?
    If not, I will suggest using transaction launcher and create this type of order for the one-time customer directly in VA01.
    Once again, thanks for replying!
    Luis.

  • Order Type Group - CRM 7.0 B2B Ecommerce with ERP Sales Order Scenario

    Hello Experts
    Scenario: CRM 7.0 with ERP Sales Order
    How can we use ORDER TYPE GROUP in CRM 7.0 B2B E-commerce with ERP sales order?
    With CRM as a back end this ORDER TYPE GROUP functionality is available as OOTB, but with ECC as a back end is this available?
    As per out understanding, we can use more than one TRANSACTION TYPE by seperating the TRANSACTION TYPES by COMMA in shopadmin? Is it a right understanding?
    Kindly let us know if we have ORDER TYPE GROUP functionality in CRM 7.0 B2B E-commerce with ERP sales order?
    Thanks and Regards
    DJ

    Hi DJ,
    In fact the Order Type Group is only available when you are connected to CRM Backend. For ERP Webshops, you only have the option to add the Order Types separated by coma.
    In addition, be aware that B2B only supports Sales Document with category "C - Sales Orders" on ERP backends, for example:Credit Memo Requests won't work. For more information, I created Note 1567713 that explain the restrictions.
    Kind Regards,
    Diego Felix.

  • Product cost by sales order with Valuated Sales order stock

    Hi Gurus,
    I am working on Poduct cost by Sales Order with Valuated stock. but i have doubt ragarding to Cost estimation.
    1.In sales order scenario also Standard Cost estiamtion (CK11n and CK24) and Marking, Releasing is Mandatory? if not how can we estimate the cost?
    2. If we are estimating the cost by using Standard Cost estimate, when can we estimate the cost?
                can anybody please give me the steps which we are following in Poduct cost by Sales Order with Valuated stock from starting to end Settlement
    Thanks&Regards
    Prasad

    Hi,
    there are 3 types of scenarios in MTO.
    In Two scenarios Sale Order would be cost object - (Non-Valuated Sale orders stock and Valuated Sale Order stock with Sale order being Cost Object)
    In third scenario (Valuated Sale Order Stock without Sale Order controlling), Only Production Order is the Cost Object.
    In all the cases wherever the Sale Order is the cost object, Sale Order is the final Receiver.  Only the difference is that in valuated sale order stock, stock entries would be passed to FI and in non-valuated sale order, no goods movement for FG will be there.
    Please let me know if you need further details in this regard
    Surya

  • Duplicate planned order is generated with  one sales order item.

    dear :
    when the production order is confirmed with sales order item.the other new planned order is generated.
    the   requiremet quantity of sales order item  is  1,but the custstock  is 2 .display exception:26. in md04.
    please help me analyze it .
    best regards.

    Hi
    Please check rescheduling horizon in OPPQ(by default it would be 100).
    May be you would have shifted the dates of production order after converting from planned order which had crossed rescheduled horizon. This would generate additional planned order to maintain initial dates.
    If this is the case, increase Rescheduling horizon.
    Regards,
    Krishna Mohan

  • Splite DN with one sales order

    When created D/N ,system gave the message as following, could you please help me to figure out what's the rootcause and how to mkae it to one D/N,thanks very much
    Item 000020: delivery split due to conflicting header data (AKKUR:
    32.90000 <->             32.50000)
        Message no. VL033
    Diagnosis
        Item 000020 cannot be shipped in the same delivery with the other items
        in the document because the header data (AKKUR) is different. The AKKUR
        item field has the value                                32.50000, but i
        the delivery checked for concatenation it has the value
        32.90000.
    System response
        The system issues this message if a delivery split is necessary.
        This message either appears in the collective processing log or during
        creation of outbound deliveries from projects or for subcontracting. It
        informs you that the item specified will be shipped in a delivery other

    is the problem in exchange rate of Letter of credit ?
    I dont think so !!!!
    item field has the value 32.50000, but i
    the delivery checked for concatenation
      it has the value 32.90000.
    If the exchange rate between two line items differs in sale order, in that case also, you will get delivery split.  Ensure that both the line items have unique exchange rate.  Nevertheless, you can also check the exchange rate in VX12N in case if the shipment is against L/C.
    thanks
    G. Lakshmipathi

  • Best Datasources to use for Sales Orders and Invoiced Quantities

    Hello Experts,
    Just wanted to ask if anyone has experience and can recommended the ECC Datasources to use to extract:
    1. Invoiced Qty = Sales History
    2. Open Sales Orders
    3. Shipped Qty= Goods issued but not yet invoiced
    So far in my research I have down the following datasources:
    1. 2LIS_13_VDITM Billing Document Item Data  for Invoiced Quantities
    2. 2LIS_11_SSL, or 2LIS_11_SCL or 2LIS_11_VASCL for Open Sales Orders
    3. 2LIS_12_VCITM, 2LIS_11_V_SSL for Shipped Quantities
    Any suggestions?
    Thanks alot
    Victoria

    Hi Victoria:
    Plese take a look at SAP Best Practices (Scenario Documentation and Building Blocks)
       Open this URL: http://help.sap.com/bp_bw370/html/index.htm
    Click "Preconfigured Scenarios" link
    Click on the Links to navigate on the different available scenarios and to see the documents you can download (Technical Documentation > Configuration Guide)
    *Customer Relationship Management
    -- Sales Analysis
    -- Cross-Functional Analysis: Financial and Sales Data
    -- Booking Billing Backlog Analysis
    -- Sales Planning
    -- Scheduling Agreements Analysis
    -- CRM Analytics
    Edited by: Francisco Milan on Jun 3, 2010 6:23 PM

Maybe you are looking for

  • Middle-clicking woes in X11 Apps using a mighty mouse

    Hi, This has been a frustrating issue ever since I got my new work computer (it's been over a year and a half) and I've just suffered through it. While middle-clicking a half dozen times today until it worked, I finally decided to ask to see if there

  • Help pls this is urgent

    Is it possible to somehow restore the iphone of my mom's contacts? she had all of her contacts on her iPhone and none in my computer . My goal was to copy all of my , music that I have in my iPhone into the iphone of my mom on my computer but when I

  • Need FM for setting user status of sales transaction

    Hello experts, I need a fm for setting the user status of a sales transaction. I want to select some sales orders and for this I want to set the user status via a FM. Can anybody help me ? THANKS Gerd

  • Can safari 5.1.5 accommodate a single 3rd party cookie

    My on line bank bill paying  has suddenly, with no notification, started requiring 3rd party cookies to access their bill paying page.  I cannot find any way to accommodate this in either Safari (with cookie manager), nor Firefox 12. If this cannot b

  • How do I transfer DVD's I have at home to my iPod?

    I am interested in buying an iPod video and wanted to know how to transfer DVD's to my iPod; any advice? Thanks, Linz Windows   Windows 2000