cancel
Showing results for 
Search instead for 
Did you mean: 

Output determination : ERNAM (created by)

Former Member
0 Kudos

Hi,

I have created a condition table with the combination created by (sales document created by) and sales organisation, added it to my access sequence and populated it with data.

When i look at the 'analysis output' in the sales order i notice that the field 'ernam' is not filled in by SAP.

I added the field ernam in the field catalog manually --> KOMB-ERNAM.(so general). I also tried with KOMPBV1-ERNAM (item) but this field doesn't work either.

Anybody knows about this problem ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I used include RVCOMFZZ with USEREXIT_KOMKBV1_FILL.

In this user exit i fill the field KOMKBV1-PARNR with sy-uname. I couldn't use ERNAM as this is a field at item level and as we only print at header level it was impossible to fill that field.

So :

1. condition table with PARNR

2. userexit saying PARNR = username.

did the job for me.

thanks for the help

Former Member
0 Kudos

adding the field ERNAM in field catlog measn have u followed the standad procedure to update a feild or just like that you have added please calrify

if you havent followed the procdure pleae follow the following stpes on adding the feild to feild catalog.

to add this field, check the structure KOMG, whether you have the relevant field. If you have this field in KOMG, then simply go to field catalog -> say new entries and add your field to it.

If in case the field you are talking about is not in structure KOMG. then you will have to append this structure with the new field. appending is very simple. If its a header field then you will have to add it to Include KOMKAZ (pls check - i dont remember exactly) and if it is item field then add it to Include KOMPAZ. once they are added to the include, you will have to add them to the allowed fields in field catalog.

Probably you also have to activate the user exit pricing prepare for KOMP/KOMK, assign a value to your new field.

Former Member
0 Kudos

Hi,

thx for your help.

Aren't komp and komk the structures for pricing determination. I am talking about the output determination and that is structure KOMB.

here the field ernam is already defined. i added it into the field catalog but sap doesn't fill it.

with regards