cancel
Showing results for 
Search instead for 
Did you mean: 

Add fields inta a condition table (output message)

Former Member
0 Kudos
3,035

Hi,

I need to create a new condition table to determine an output purchasing message.

This new table needs two fields:

BSART – “Document class”

USER – “The user that is logged in”.

My intention is determine the printer, depending on the user and the document class.

Now I'm able to create a table with the BSART field, but I don’t know how I can add the username (because this field is not available at the selectable fields).

Maybe I have to modify the structure KOMKBEA… I’m not sure.

Does anyone can help me?

Thanks in advance,

Ricard.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Siarhei Mahulenka,

Following your instructions, and now the XUBNAME field appears into the Field Catalog under the KOMKBEA table (I think it is ok). But, if I try to create a new condition table (output purchase order tx M/61) this filed doesn’t appear into the FieldCatlg table.

I followed your instructions and I added XUBNAME field to V_T681F using:

Usage =’B’

Application= ‘EA’ and also ‘EF’

Group=’001’.

Thanks again,

Ricard.

Former Member
0 Kudos

Structure KOMB contains fieldcatalog for conditions in output determination.

I believe if you add your field to KOMB you'll see it in M/61 since M/61 works based on both t681f & KOMB

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Siarhei Mahulenka,

It works!

Thank you for your help

Ricard.

Former Member
0 Kudos

Hi Siarhei Mahulenka,

Thank you for your reply.

I have added the XUBNAME field into the KOMKBZ (it is an include of KOMKBEA) and the XUBNAME fileld doesn't appear into the field catalog.

Thanks for your help,

Ricard.

Former Member
0 Kudos

I think it will appear if you add your field to V_T681F maitenance view using Usage = 'B' Application = 'EA' field group = 001. You can just open V_T681F in SE16, populate the fields I mentioned on popup screen and you'll see your fieldcatalog, you can add new fields here as well.

Former Member
0 Kudos

Oscar,

I believe you need to add your field to KOMKBEA & then add some logic into form userexit_komkbea_fill. (RVCOMFZZ) to populate this field.