Skip to Content
0
Former Member
Jun 19, 2008 at 06:39 PM

New Custom Field in Delivery output Communication Structure

2032 Views

Hello friends,

I need your help to Solve my below problem

We want the delivery output to be triggered based on the shipping point and storage location.

Storage location is at item level and is not in LIKP and hence not in KOMKBV2 (Output Comm Structure for Deliveries)

I have created a new Field ZZLGORT in the Header Strucutre and has performed thefolloiwng steps

1. Include field ZZLGORT in communication structure KOMKBV2. This is an Include that is provided for additional fields.

Add the field with the name ZZLGORT in Include KOMKBZ4.

2. In structure KOMB in Include KOMBZ, have added the same field

(same procedure as for item 1).

3. In view V_T681F, I created the same field with transaction SM31 under key B V2.

4. Program LVCOMU04 contains Perform USEREXIT_KOMKBV2_FILL. This Perform

is in program RVCOMFZZ.

Modiied the source code as follows:

FORM_USEREXIT_KOMKBV2_FILL.

COM_KBV2-ZZLGORT = item Storage location.

When i am in Debugging mode till the last minute the structure COM_KBV2-ZZLGORT is having the storage location value.

so there is no problem in the userexit logic.

5) I have created a new cond table , and assigned the table access sequence and assigned he access seq to the Delivery output type

When i created the Delivery , the output analysis screen shows that the field ZZLGORT is blank ( With exclamation Mark) and it says Access Not made (initialized Field )

can any one of you tell me what is the step i am missing out to make sure that the analysis screen has the storage location.

and also the system reading the condition record and issuing the output.

i have checked whether the output is issued by some other condition or not. no there is only condition record and its triggering that condition record but the analysis shows "Output Not found"

Can any one of you help me here please. Your immediate inputs will be of great help to me

Thanks & Regards

Srini