Linking Sales Order Header and Item into a DSO

I am trying to combine my Sales Order Header and Item into a DSO.
I created individual DSOs for each extractor and loaded successfully. I then created a new DSO with the Document number as the key field and loaded the data. However, when I check the new DSO, the data is not combined but seperated on one line.
To make it clearer
DSO1
CH1 CH2 CH3 KF1
DSO2
CH1 CH4 CH5 KF2
In my new DSO3, I used CH1 as the key field and when I load data, I expect to see
CH1 CH2 CH3 CH4 CH5 KF1 KF2
But I get
CH1 CH2 CH3 KF1
CH1 CH4 CH5 KF2
Is there something I'm doing wrong?

Hi Siggi
I'm not sure what you mean.
What I am trying to achieve on the long run is to combine Sales Order and Billing into a cube. But first i need to get the orders into a DSO and also Billing into another DSO. And then combine into a consolidated DSO before going to a cube. Please correct if this approach is wrong.
In the meantime, I am trying to combine the sales order item and header into one DSO.

Similar Messages

  • How to make pricing field as output only in sales order header and item lev

    Hi ,
    I want to make the field PRICING DATE as output only both at header and item level. How can i do pls guide me in detail.
    Regards
    Sunaina

    Hi Sunaina ,
    Through User Exit you get this requirement plese take help of ABAPer to activate the user exit according to your requirement.
    Try With this User Exit
    Program MV45AFZZ
    USEREXIT_FIELD_MODIFICATION
    This user exit can be used to modify the attributes of the screen fields.
    To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP. If a field has no field name, it cannot be allocated to a group.
    The usage of the field groups (modification group 1-4) is as follows:
    Modification group 1: Automatic modification with transaction MFAW
    Modification group 2: It contains 'LOO' for step loop fields
    Modification group 3: For modifications which depend on check tables or on other fixed information
    Modification group 4: is not used
    The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit.
    This FORM routine is called up by the module FELDAUSWAHL.
    See the Screen Painter manual for further information on structuring the interface.
    I hope it will help you,
    Regards,
    Murali.

  • Sales order doc and item fields in customer line item report(FBL5N)

    Hi All,
    We have some billing documents and the accounting docs are created as well. However, in the FBL5N report, we are not able to display the sales order doc and item info even though the columns are avaliable in the layout.
    Anyone can help?
    Thanks,
    Teo

    Hiya,
    You said you had the Order/Sales Doc field on the layout already.
    Have you ever been able to view the Order? All I can view is the Billing Doc, and I would think that is logical, since the Order is not the immediately prceeding document for the Accounting Doc. The Accounting Doc is created off the Billing Doc and that is what is updated in BSEG. The Sales Order is not updated in BSEG (I haven't seen that happen).
    In the event of a GR into stock posting, the Product Cost Collector or PO is the immediately preceeding document and hence updated in BSEG.
    Cheers.

  • Free form partner function field in Sales document header and item..

    Hello Experts,
    Is there anyway we can use the partner functions functionality in Sales document header and item level, so that we can enter a free form number in the Partner field? I mean is it possible to be able to enter a free form number WITHOUT getting validated against corresponding master data like Customer or Vendor master, Contact person, Personnel or User master records?

    Hi,
    It is not possible.
    Because partner function will be determined in the sales document header and item as per the configuration you have done in the partner determination.
    It is not possible to enter a number wihich is not created and assigned.
    Regards,
    Mullairaja

  • Mass maintenance of Sales orders,or/and items

    Hi friends
    Need some help.
    Is there a transaction in SAP by which we can reject large numbers of sales orders, or/and items in sales orders in a mass maintenance way.
    We dont want to use MASS or VA05.

    HI
    Being an SD consultant if u know about how to record transactions in LSMW or BDC
    it will be very useful
    for exampl like if u want to create condition records for 12000 maaterials if u create lsmw and do recording u rwork will be easy
    if u dont know about LSMW or BDC
    just sit with u r abapper and ask him to do LSMW also u try to learn
    it is not mandatory but having an idea about LSMW and BDC or SCAT will be more useful
    regards

  • How to cancel the sales order - header and line status are in Entered Stage

    Dears,
    I have some sales order to be cancelled in which the header and line status are in *"Entered"*. I am not able to cancel these sales order.
    Also note that these orders are for maintenance service.Once i book these orders the lines will change to closed status.
    So it is not possible to book and cancel the lines.
    Kindly me to resolve this.

    926530 wrote:
    Boss,
    If i do Action-->cancel on header, it just makes the qty to zero.But the header and line status still showing as entered.It will not cancel the order.
    The problem for me is that these lines are coming in my monthly reports. This is what your question says...be more specific as what is your issue..which in turn is your problem
    How to cancel the sales order - header and line status are in Entered Stage
    Coming to your Action-->cancel...as far as i know ...the header status will change to canceled..
    unless until you have some processing constraints in place...which is stopping you...
    HTH
    Mahendra

  • To get service order from sales order number and item number

    The select on AUFK takes much longer time than the transaction which is used to get the sevice order number starting from VA03. ( select one line item. goto repairs, then select the repairs column and goto SM Order). Is there any other table than AUFK from which i can get service order number.

    Hi!
    Check, if you have an entry in table VBFA for your sales order (sales order in VBELV, POSNV, AUFK in VBELN and POSNN, VBTYP_N might be 'C').
    If so, your select will be much faster by using VBFA.
    Regards,
    Christian

  • Integration of Delivery header and item into a single ods

    Hi Nagesh,
    The reason why i have started a new thread is to award you some more points as i cannot assing you any more points in the prvious thread.
    I ahve a question though.......
    you want me to add hdr data to sales document number right.... bue my concern is how can i add transaction data (i.e., $ amount) as an attribute of document number and what if the value changes for some reason and how wud you want me to add it sales document number?????? is it like look up at hdr datasource to fill in the attributes os sales document number???
    Thanks

    Hi BWer,
    I think you can reopen your previous thread and reassign points if you wish...
    Anyway, you are realizing now that mixing HDR and ITM level of information could become quite tricky...
    In any case to which amount are you referring to in your HDR datasource?? I don't see any amount there... Of course any key figure looked up in the header data and posted to item level will have to be carefully analyzed... The best would be to elaborate a routine posting it to ONE single item and/or to spread HDR value in all ITM records based on a rule...
    another option (the wiser) is to keep the two datasets in different ODS...
    hope this helps...
    Olivier.

  • Regarding LSMW Purchase Order header and item data

    Hi Friends,
    I have one requirement i.e purchase order data need to be upload through LSMW via Direct input method.
    =============
    pls find the belwo flat file structure
    old_PO           material            price            qty
    P123              M111                  10               1
    P123              M222                  10                1
    P123              M333                  20               1
    ===============
    Normally if I upload same data into SAP, it will create three purchase orders with different SAP numbers.
    I want if old_PO number is matches with the previous record all the materials should be in single transaction and single Purchase order should be created.
    Can any body help how to resolve this issue. This is very urgent.
    pls explain in detail. I am using LSMW. I don't have no other option.
    =====
    please don't post any junk amswers.
    =====
    Thanks in advance

    Hi Raghunath,
    Don't think that this reply is junk one.I cannot explain you in detail but try like this.
    In the fifth step of LSMW,You can find Global data definitions & Processing times.
    In any of these you can just fetch the values from database with reference to flat file data like..
    select PO from ...where PO = source-PO.
    if sy-subrc EQ 0.
    skip_transaction. Using this function you can skip this record
    endif.
    Award points if useful.
    Thanks,
    Ravee..

  • Creation file with data of sales order header and scheduling

    Hi developers,
    I must create a file to send a customer with data of VBAP and VBEP.
    You have a way fast or a report base for this activity?
    Thanks
    Domenico

    Domenico,
    I am not clear over the requirement.
    Anyway as per my assumptions over your issue here is what I think.
    If you want to create a file on presentation server...then use ws_download. this function module is used downloading data from an internal table to a file.
    For application server, use 'open dataset for output'. Do F1 on 'open dataset' and do a 'transfer' from internal table to your file.
    TRANSFER source to dsn.
    dsn has the file name.
    Regards,

  • Sales order condition change for Header and Item level..

    Hi Gurus,
    My requirement is as below..
    Business wants to create new sales order from reference.. While creating slaes order fron reference , need to populate header/Item level condition tab data from originally paid by the invoice for that refence sales order not from refence sales order condition price.
    I would like to how to bring this one, any user exit or copy control and any VOFm routine need to populate this kind of requirement.
    Any one have any idea please let me know.. It very urgent, give reward points for right solution..
    thanks,

    Hi,
    Here are the answers to your question
    > Is it possible to add/change condition types on the sales order (header and item level) for which invoice has been created already?
    I mean is it possible to add some surcharge condition to already invoiced order and than as result debit memo?
    The answer is No. You cannot add or change the condition once it is invoiced.
    > And one more question : Are there some time restrictions when debit/credit memo can be created? (I believe not, but I would like to have this confirmed, as I am not SD expert.)
    The answer is No again. There is no time restriction and you can create debit or credit memo immediately when the invoice is released to accounting.
    Hope this helps
    Thanks
    Mukund S

  • Header and item data in LSMW

    How to distinguish between the header and item data from the given legacy excel file, so that I can correctly extract the Sales Order header and item level data while doing LSMW? Do we need to do any extra coding for doing that?

    Hi Diwakar,
    Please read below. This is the way to do it. It resolved my issue.
    Hi, I think you can use 1 file but with the record type identifier, the field will appear in all source strictures, in the Maintain Source Fields step amend field (double click) on it and point Identifying Field Content to appropriate level, e.g. 1 for header 2 for item. Your input file will look like:
    REC_TYPE….. FIELDS
    1 only fields relevant for the header and blanks for line items
    2 only fields relevant for the item data blanks for header fields
    2 …
    2 …
    1 Next record header
    2 next record item 1
    2 next record item 2
    1
    2
    2
    2
    2
    1
    2
    Diwakar,
    Please dont be oversmart and dont mislead people and hurt others by making nasty comments.
    Thanks,
    Raj.

  • Header and Item Incoterms different in Sales order

    Hello SAP Guru's,
    I have an unique issue of Incoterms in Sales order item being different from the Header, when this happens any change to the header Incoterms is not getting copied to sales order Items.
    The issue is due the different Division maintained for Sales order item in the Material master, which is fetching the Inco 2 from the Different Sales area for this is customer.
    This is fine as per design where Item category is checked for Business data and Sales Document type is checked for different Division in the config.
    However the Business would like the Header Incoterms to be copied to all items and any change in Header should also be copied to Line items also.
    We had narrowed down on Couple of Alternatives:
    Remove the Business data allowed check in the Item category config
    But this would allow all Business data to be copied from sales order header to items
    2. Make changes to VBKD user Exit during Sales order creation to copy the Incoterms from Sales order header to items
    But this is causing multiple lines in VBKD and some issues while adding new items in VA02 ending with an Update termination.
    Would like to know whether there is any other Option whether there would be least impact and also would like your advice on the better Option between the above two Options.
    Thanks and Regards
    Mohammed Roshan

    Hi Lakshimipathi,
    Finally we removed the Business Item check in the Item category which is causing the Header incoterms and any changes in Header incoterms to be copied to Sales Order line items as required but we have an issue where Sales Order item Pricing date is being greyed out due these changes, Currently the Sales order Pricing date is being determined through a Z table triggered from a User Exit which was also editable in Sales order item level.
    Due to these new changes Sales order pricing date is being determined in the header and getting copied to the Sales order line item thus greying out the Sales order item pricing date field.
    Would like to know your thoughts on how removing the Business Item check in Item category in VOV7 is causing the grey out of sales Order item pricing date, where the Business can modify on certain occasions and what would the workaround to restore the functionality of Sales order item pricing date.
    Appreciate your inputs on this.
    Thanks and Regards
    Mohammed Roshan

  • How to header and item data of sales order using bapi interface

    hi friends,
       i am geetha, i having a problem like how to upload sales oder header and item data through va01 tcode using BAPI FUNCTION MODULES.
    i need bapi function modules for header adn item data  and brief explation on that , how to pass importing and tables  parameters to get exact output .
    regards
    geetha.

    Use : BAPI_SALESORDER_CREATEFROMDAT2
    Sales order: Create Sales Order
    Functionality
    You can use this method to create sales orders.
    You must enter at least sales order header data (via ORDER_HEADER_IN structure) and partner data (via the ORDER_PARTNERS table) as input parameters.
    Enter the item data via the ORDER_ITEMS_IN table. You can allocate item numbers manually, by filling in the relevant fields, or the system does it, according to the settings for Customizing, by leaving the relevant fields blank.
    If you have configurable items, you must enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.
    Credit cards can be transferred via the BAPICCARD structure, on the one hand, data for card identification, on the other, data for a transaction which has taken place in an external system.
    Once you have created the sales order successfully, you will receive the document number (SALESDOCUMENT field). Any errors that may occur will be announced via the RETURN parameter.
    If no sales area has been created in the sales order header, then the system creates the sales area from the sold-to party or ship-to party, who has been entered in the partner table. If a clear sales area cannot be created, you will receive a system message, and the sales order will not be created.
    Notes
    1. Mandatory entries:
    ORDER_HEADER_IN : DOC_TYPE     Sales document type
                       SALES_ORG    Sales organization
                       DISTR_CHAN   Distribution channel
                       DIVISION     Division
    ORDER_PARTNERS..: PARTN_ROLE   Partner role, SP sold-to party
                       PARTN_NUMB   Customer number
    ORDER_ITEMS_IN..: MATERIAL     Material number
    2. Ship-to party:
    If no ship-to party is entered, use the following: Ship-to party =
    sold-to party.
    3. Commit control:
    The BAPI does not have a database commit. This means that the relevant application must leave the commit, in order that can be carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is available for this.
    4. German key words:
    The following key words must be entered in German, independantly of
    the logon language:
    DOC_TYPE     Sales document type, for example: TA for standard order
    PARTN_ROLE   Partner role, for example: WE for ship-to party
    Further information
    You can find further information in the OSS. The note 93091 contains general information on the BAPIs in SD.
    Parameters
    SALESDOCUMENTIN
    ORDER_HEADER_IN
    ORDER_HEADER_INX
    SENDER
    BINARY_RELATIONSHIPTYPE
    INT_NUMBER_ASSIGNMENT
    BEHAVE_WHEN_ERROR
    LOGIC_SWITCH
    TESTRUN
    CONVERT
    SALESDOCUMENT
    RETURN
    ORDER_ITEMS_IN
    ORDER_ITEMS_INX
    ORDER_PARTNERS
    ORDER_SCHEDULES_IN
    ORDER_SCHEDULES_INX
    ORDER_CONDITIONS_IN
    ORDER_CONDITIONS_INX
    ORDER_CFGS_REF
    ORDER_CFGS_INST
    ORDER_CFGS_PART_OF
    ORDER_CFGS_VALUE
    ORDER_CFGS_BLOB
    ORDER_CFGS_VK
    ORDER_CFGS_REFINST
    ORDER_CCARD
    ORDER_TEXT
    ORDER_KEYS
    EXTENSIONIN
    PARTNERADDRESSES
    Exceptions
    Function Group
    2032

  • How to update the sales order header & item data in TM system

    Hi Experts,
    Greetings!
    I need your help,I have a one requirement sales order data came from ECC these sales order data need to update in TM Sales order header table as well as item table also these fields are additional fields.
    Can anyone please guide me I am very new in TLM .
    Thanks in advance.
    Thanks&Regards,
    Siva.

    Hi Siva
      "/SCMTMS/TRQ~ROOT" is for sales order header and "/SCMTMS/TRQ~ITEM" is for details.
      I assume you need to
    enhance the structures for these nodes to hold your add. fields;
    and do the same for the input parameter of service TransportationRequestRequest_In (which is used to create OTR) from PI side;
    Pass the add. fields during service call (impelment in ERP system);
    Map the fields from service paremeter to node attribute (implement in TM system, BAdI   /SCMTMS/TRQ_SE_TPNRQ_REQ~CHANGE_MODIFICATION create modification table for the input parameter).
    I cannot find source code for all of that; hope it helps.
    Sensen

Maybe you are looking for