on 07-28-2011 10:32 AM
Hi Gurus,
In header segment E1EDK04 i have 2 fields MSATZ and MWSBT. I need to fill these fields by adding at the line item segment E1EDP04.
Suppose if I have values at line item level
Item1
MSATZ = 10 VAT RATE
MWSBT = 20 Value added tax amount
Item2
MSATZ = 10 VAT RATE
MWSBT = 30 Value added tax amount
So at haeder segment E1EDK04 I have to get values like
Header
MSATZ = 10 VAT RATE (which is always 10%)
MWSBT = 30 Value added tax amount
How I can achive this in graphical mapping..please help me its very urgernt.
Hi,
You have not mentioned which value of MSATZ and MWSBT from item needs to be populated in the Header. However, from what I get from the example, you are populating the max value.
In this case,the source fields in the sender EANCOM message which populate the MSATZ and MWSBT fields under E1EDP04, use the same fields to populate the corresponding fields in the idoc Header E1EDK04.
use a removeContext -->sort -->collapseContext -->MSATZ / MWSBT to get the highest value into the fields.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Source ItemLevel--
>TargetHeader
see this for standard Copyvalue function
http://help.sap.com/saphelp_nw04/helpdata/en/26/d22366565be0449d7b3cc26b1bab10/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.