Skip to Content
avatar image
Former Member

Posting Header Freight to separate account with idoc INVOIC02

Hi,

I am using idoc type INVOIC02 to post a cross-company code invoice. There is freight at the header level in the invoice and I want the freight amount to hit a different G/L account than the rest of the document. From the help documentation, it looks like I should be able to set the flag in T076S-KOKSEPA, and this should then take the amount in segment E1EDK05 and place it in a separate line item segment in the Idoc. Once it's in its in a separate segment then I should be able to use settings in table T076I to direct it to a separate G/L account. However, when I set this flag inT076S-KOKSEPA the system is not doing anything with the amount in the header segment..

Does anyone have experience with this? If I set the flag in T076S-KOKSEPA what should I expect to see at the item segment level? Should I get an additional E1EDP01 segment? If not, what's the best way to get header freight to post to a separate account?

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Oct 10, 2013 at 01:21 AM

    Hi Rick,

    I know this is a very old thread. But wanted to answer this so that if anybody facing the same issue can use this.

    We also had the exact same requirement.And we followed the below method & it works perfectly fine. You can also refer OSS note 130772 which gives you the relevant details.

    Our requirement was also to make the freight amount to hit a different GL account and frieght was available at header. And what you have explained is absolutely right. But there are three steps. You did only two steps. Thatswhy probably it did not work.

    First step is to set T076S-KOKSEPA, Correct. Second, you need the T076I settings to direct the Freight condition types to a different GL account.

    The missing step was, to set the printing indicator for freight condition type in transaction V/08 to 'X' (V_T683S-DRUKZ). This is important step needed to automatically move the E1EDK05 freight values to new E1EDP05 segment. No additional E1EDP01 segment will be created. Freight will be split into items & you will see one E1EDP05 segment per item. And when this idoc is posted, automatically it will hit the new GL account which you maintained in T076I. It works fine.

    Regards,

    Gokul

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 01, 2013 at 02:04 PM

    Hi,

    You need to add a record in T076I using OBCB transaction, fill EWLNR with the folllowing concatenated values from E1EDK05 :

    - E1EDK05-ALCKZ (the value is - or +)

    - E1EDK05-KSCHL

    In my case T076S-KOKSEPA doesn't work, I got an accounting item corresponding to header condition but no more accounting lines corresponding to invoice items...

    But it works fine using T076S-KOPSEPA to post conditions at item level.

    Your questions :

    - Does anyone have experience with this ? > We are still waiting ...

    - If I set the flag in T076S-KOKSEPA what should I expect to see at the item segment level ? > Nothing, this parameter works later, when the idoc is processed to create the accounting data (function IDOC_INPUT_INVOIC_FI not function IDOC_OUTPUT_INVOIC_IV_MM)

    - Should I get an additional E1EDP01 segment ? > No

    - If not, what's the best way to get header freight to post to a separate account ? > It is the best way, but you can try at item level (T076S-KOPSEPA), in my case it works immediatly.

    My question :

    When the flag is set at header level (set the flag in T076S-KOKSEPA), an accounting item is created for the header condition, but how this value is allowed (- or +) on the other accounting items ?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 27, 2013 at 11:00 AM

    Thanks Gokul, I appreciate the help.

    Add comment
    10|10000 characters needed characters exceeded