Line item includes header info

in recurring document posting under GL/posting/reference documents, we input posting key 31(invoice), vendor code, can we include another company code in line item posting?
we want to do cross-company transaction, thanks

In F-02, the field is already there. On the first page it does not show beside TType field, as for the first line it picks from the header data entered in the first page.
For the next page it appears beside the field TType.
You can use F-02 to create a cross company code transaction.
Then note of the below points while posting cross company code transactions:-
http://help.sap.com/erp2005_ehp_04/helpdata/en/05/bf13ab164911d289730000e8215862/content.htm
Rgds,
Gaurav

Similar Messages

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • BeX Analyzer Aggregation - display line item and header amounts in same row

    Hi Experts,
    I've a requirement in which I'm looking for help.
    Consider that I've one DSO with line item detail and I wish to display on a report for each line item (in the same row) the value of the header which has to be the sum of all line items for each header.
    Here's an output of what should be displayed:
    PO || Hdr  || PO item Item Amount || PO Amount (Sum All Items/Header)
    1    ||  1    ||  10 u20AC                          || 15 u20AC
    1    ||  2    ||  5 u20AC                            ||15 u20AC
    I've already tried to create a formula/calc key figure, using the KF "Item Amount" aggregated with exception of the "PO Hdr" Char, but it doesn't work.
    I know that i can built this on the data model but I just want to be sure before that there's no way to achieve this requirement through query designer.
    All help will be welcomed!
    Thank you.
    Nuno

    Hi Lakshmipathi Sir,
    Thanks for your reply. Could you please let me know how exactly i need to mention the logic to ABAPer.
    I can see two fields are giving from VBKD table with line item wise it is displaying.
    1. BSTKD
    2. BSTKD_M
    thanks,

  • Line item and header records in the same infopackage

    Gurus,
    I wanted to check how can I make sure that I get all the line item documents in the same package with the header document record in the same infopackage? Is there some setting for that? If I am writing a custom extractore how can I make sure of this in ABAP?
    Thanks
    AK

    Dear AKBW,
    This is not very clear why you want to use same infopackage for line-item as well as header data. Normally there are 2 different datasources for line item and for header data.
    Say you are woking with Sales Order Data in ECC.
    So Line-item datasource for sales order data - 2LIS_11_VAITM
    and Header datasource for sales order data - 2LIS_11_VAHDR.
    Now as they are 2 different datasource, so you must need 2 different infopackages.
    Now if you have created one custom datasource in ECC, then just check if its extracting line-item level or header level data. Normally when we create any custom datasource, we try to make it line-item level, to have all the itemwise detail. Though its not mandatory.
    So if you have 2 different datasources (SAP or Custom), you definitely need 2 different infopackages.
    Please let me know, if you still have any more doubt. You can also give me the other detail of the custom datsource you are creating.( type, fields, what it is supposed to extract etc)..

  • Userexit for changing line item from header, tcode VA42, VA41

    Hi All,
    I have a Zfield (VBAK) for the sales document (contract) at the header level in Additional tab.
    Also the same zfield is present in VBAP table for all line items.
    When this field is maintained by the user using Tcode VA41 or VA42 the line item zfield should also get updated.
    I am trying to find out if User Exits
    1. USEREXIT_MOVE_FIELD_TO_VBAK
    2. USEREXIT_SAVE_DOCUMENT_PREPARE
    might work. Can anyone tell me if there is access to line items in the above 2 user exits which I can modify.
    Thanks,
    Kajal

    Hi Breakpoint,
    Yes I did use table XVBAP in uesr exit SAVE_DOCUMENT_PREPARE.
    But somehow my changed values in XVBAP table is not reflected in the table VBAP.
    Am I missing something here.
    My piece od code  in the user exit :
    FORM XVBAP_ZZREBREL_CHANGE  TABLES t_xvbap STRUCTURE vbapvb
                               USING  P_VBAK_ZZREBREL TYPE vbak-zzrebrel.
    data wa_xvbap type vbapvb.
      IF p_vbak_zzrebrel = 'X'.
        LOOP AT t_xvbap into wa_xvbap.
          wa_xvbap-zzrebrel = 'X'.
          MODIFY t_xvbap from wa_xvbap INDEX sy-tabix TRANSPORTING zzrebrel.
          clear wa_xvbap.
        ENDLOOP.
      ENDIF.
    ENDFORM.

  • Line Items used in Info Cube

    Hi All,
    Can anybody give me a clear concept of line items used in Infocube. I want to know what is the concept behind using the line items. How does it effect the performance of a Infocube.
    Regards,
    Kshitij

    Hi,
    go throught the link, you will get a clear idea.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a7/d50f395fc8cb7fe10000000a11402f/frameset.htm
    rgrds,
    v.sen.

  • PR release refused for 7 lines out of 8 line item for header level released

    Hi Gurus,
    please help me how to resolve this issue.
    i have purchase requestion with 8 line items,out of 8 line items line 5 gets relesed and other lines relese refuded mode.
    i have checked the complete procedure,authorisations and tried through ME54N and ME55 also.
    please help me , thanks in advavnce.
    Regards,
    Babu

    hi
    please check the line items whether its blocked or deleted or value and quantity fields are updated.

  • Removing line item dimention from info cube

    Hi All Experts,
    Early watch report has suggested us to remove line item dimention and high cardinality from some cubes.
    bur our cubes are having data , and when I tried to chekc this in our Dev server, Line Item dimention is disabled when it is filled with data.
    but when I delete data from Cube, Line item diemention check box gets enabled.
    so does it mean that we can not flag or remove line item dimention form cube if contains data,
    and in mine case I  have to delete all data from cube and then trensport it to PRD after deleting data from Cube and reload after transport.
    Am I correct.
    Please advice If I am wrong.

    Hi,
    yes, you are correct. You have to delete the content of the cube before you can change a line item dim. to a 'normal' dimension. As a workaround you might use a copy of the cube, create and/or copy all update rules to the new cube, and create a new update rule from the old to the new cube. Transport everything to prod, then load you new cube from the old cube and do all the other load as before. Move/copy your queries from the old cube to the new cube as well.
    regards
    Siggi

  • Line item for header material not updating in COEP table

    Hi all,
    from last few days, I found that   when I do confirmation and GR for process order, system is updating all line ( i.e. components, activity types) but line for header material that is finished goods  or semi finished goods is not updating in COEP table,  I have done GR for order and transferred stock from quality too.
    But still its not updating. What could be the reason for it .
    Thanks
    Vivek Varun

    Hi Krishnendu,
    Thanks for the reply ,  FI document is not getting generated.
    What could be the reason for it, as before it was working fine.
    Thanks
    Vivek Varun

  • Update the change history for line items in CDHDR/CDPOS

    Hi,
    I have a problem in updating the sales order and line items in CDHDR/CDPOS when there is change in header level custom field..
    Actually i have a custom field in VBAK which added in additional data A in the header level of sales order.When we have change in that field only some line items only updating in the change history tables(CDHDR/CDPOS),but we need to capture all the line items when the custom field in the header level is changed.
    i have added change document flag in the data element of the custom field.
    Please advice me how to get all  the line items will reflect in CDHDR/CDPOS when the header level custom field has change .
    Thanks & Regards
    Kiran

    The purpose of CHANGE DOCUMENT tables is to flag the changes with Old and New values. So when Header data is changed only Header details will be tracked and same for Item tables too.
    If you need anything addtional from this then that would customizing.
    I am not sure what is your requirement but to make it simple and achive requirement add same field with same setting to line item tables VBAP, VBKD.. (as required, if that's doesnt impact your Order. These fields no need to be on screen). While changing your Custom field of Header level change the item level field too. Then CHANGE DOCUMENT will generate automatically for all the line item including header.

  • Map default values in Header based on multiple values in the line item

    Hi
    I have a scenario in which the Header field of an IDOC should be populated with some default values based on some mixed mvt types in the line items.
    eg:
    Header -
    > Delivery type -
    > needs to be mapped to A (for X of line item 1)or B (for Y of line item 2) or C (for Z of line item 3 )
    based on line items field
    line item1---> mvt type---> X
    line item 2-->mvt type----->Y
    line item 3 -
    > mvt type -
    > Z
    mvt types doesnt necessarily have to come in that order and even the same mvt type can repeat in multiple line items.
    Can we achieve this logic in XI ?

    I think if you include removeContext, Sort, SplitByValue (on Value Change), CollapseContext to mvt type in all line items and then use ifelse condition to achieve your result.
    I will give an example of line Item1
    mvt type --->RemoveContext ->Sort>SplitByValue(on value change) --> CollapseContext
    Use the above mapping to IF function and check if it is having X, Y or Z then map the appropriate value to target field.
    Do the same for rest of the line items.

  • BOM header qty change if BOM line item qty delivered more in previous deliv

    Dear team
    BOM is as follows:
    Finished product
          Material1   100 Units
          Material2   100 Units
    Lets say i create a sales order with 2 units of finished products
    then my sales order will look like:
    Finished Product 2 units
          Material1   100 Units
          Material2   100 Units
    Now i am trying to create a delivery for 1 unit of finished product
    Finished Product 1 units
          Material1   150 Units
          Material2   100 Units
    Here i change the Material1 quantity from 100 to 150 Units and create delivery.
    Now i am creating a second delivery
    In the delivery order i am getting as:
    Finished Product 0.5 Units
         Material1   50 Units
         materail2  50 Units
    But i want
    Finished Product 1 units  (as my finished product open quantity is 1M3)
        Material1   50 Units
        material2  100 units
    Can this be achieved.  Because of more despatch of BOM line items my header BOM item should not change.  It should be same as my open quantity in delivery.

    Hi,
    It depends upon how u are maintaining the BOM. The components calculated is based on the BOM base qty.
    Regards,
    V. Suresh

  • To display line item data at header level

    Dear Techis ,
    The requirment is that i am havin three line items for a particular document.
    I need to shw amount of all dese line item at Header level , it means of thr line item i will jus pick Amount and will shw it in one single row with in three differen colums .
    is it possible ?
    Thanks&Regards
    Santo

    Hi Santosh,
    So you must be having items in a internal table, loop at that internal table and sum the amount field using a variable inside the loop and print the value.
    If you are dealing with Purchase Order or Sales Order , you can get the value directly from the header tables(EKKO or VBAK).
    Revert back if u have any doubts.
    Regards
    Karthik D

  • Line  item/header

    THis seems to be very basic, but I want to make sure the diff between line item and header.

    hi,
       under one header there can be different line items.header is something like an parent node.
    ravi

  • Need a table to be printed at end of line items for each Header level

    Hi Friends,
    I have to print a table in the smartform at the end of all the line items.
    The problem is
    For example there are 2 Header Details say A B  and header A has 15 line items and B has 8 line items.
    Now I am printing header A line items first. Suppose each page can have 5 line items. At the end of line items for header A I need to print a table at the end of line items for each header
    Page1
    A1
    A2
    A3
    A4
    A5
    Page2
    A6
    A7
    A8
    A9
    A10
    Page3
    A11
    A12
    A13
    A14
    A15
    Table1 has to be printed on this page
    Page4
    B1
    B2
    B3
    B4
    B5
    Page5
    B6
    B7
    B8
    Table2 has to be printed on this page.
    Does any one had this kind of situation?
    Waiting for your replies.
    Thanks,
    Chaithanya
    Edited by: chaithanya k on Mar 20, 2008 5:08 PM

    Hi,
    Thanks for your reply and sorry for the late response.
    I have 2 tables one is the Header table and the other is Item table. After printing all the item details and then it should print the Header level details at the end of the items details.
    Hope you understand. Please see my question where I have given an example.
    Thanks,
    Chaithanya.

Maybe you are looking for

  • Error related to depreciation while creating PR - BAPI_REQUISITION_CREATE

    Hi Experts, We are using the  BAPI_REQUISITION_CREATE to create the PR  (Purchase requisition). While creating the PR we were got stucked by the following errors. - Parallel depreciation area 33 is not posted -You cannot post to this asset (No deprec

  • Why is the "Sign-in" for iCloud dimmed in settings?

    Had to restore my iPad 2 and when clicking on Settings>iCloud the "Sign-in" is dimmed.  Only "Forgot Apple ID or Password" and "Create a new Apple ID" is shown.  I know my Apple ID and password but can't enter this data.  Everything else has worked f

  • Read/set HTML checkbox in JSP

    Hello, I need to directly read and set the state of an HTML checkbox from a JSP page that contains it. It is not sufficient to submit the form and then get the value from the next page; I need to be able to set the value when the page loads, and then

  • Make visible a picture saved in library from PSE6

    I edit a picture on PSE 6 but made it another name, it was saved in iPhoto library but I can't see, if I try to import of course I get a error message saying its already in library, how can I put this photo inside my iPhoto (to view)? Thanks

  • Problem with findAll method in CMP

    I have successfully deployed the CMP entity bean and am testing the findAll method when I reaslised that the result returned to the collection is limited to 100 records, although I have 150 records in the database. When I restarted the WLS and ran th