Skip to Content
0
Jan 15, 2008 at 04:17 AM

Sales Order Output - determined by Sales Order Type, Created By

345 Views

I want have my order output determined by sales order type

(vbak-auart) and created by (vbak-ernam).

I have created a condition table 501, access seqeunce Z001.

In v/48, in accesses for Z001, I created

AcNo: 10

Tab: 501

Requirement: [empty]

Exclusive: unchecked

in fields, I can't find ERNAM in structure KOMKBV1(header), but I find one in KOMPBV1 (item).So I have assigned it to ERNAM.

besides, I have created the corresponding records in VV11

I expect to have:

Output Z001 will be created for sales order type OR if created by user XXX

However, no output is generated. When I go out detemination analysis, I found that in the output determination procedure, it did go into output type Z001, but, since no value is found for "created by", i got message "Access not made (initialized field").

I suspect that no value stored in KOMPBV1-ERNAM. Do you know how I can get it done?

Points will be awarded for useful information. Thanks in advance.