Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

New Fields vbeln For Output Control in sd ..

former_member185158
Participant
0 Kudos


HI,

I HAVE added field vbeln in structure in KOMPBV3........and under RVCOMFZZ user exit USEREXIT_KOMKBV3_FILL I write code

ENHANCEMENT ZZENHACEMENT_OUTPUT_CONTROL1.    "active version

COM_KBV3-ZVBELN = COM_VBaK-VBELN.

ENDENHANCEMENT.

but the value not updated?

6 REPLIES 6

Former Member
0 Kudos

Hi,

Go through this link :

New fields for output control

Regards,

DPM

0 Kudos

hi ,

I already  use above link but value not display after writing code in exit USEREXIT_KOMKBV3_FILL

payel

Former Member
0 Kudos

Hi,

You are adding the field in structure  KOMPVB3(item), but while coding you are using user exit for header USEREXIT_KOMKBV3_FILL. Both of them should be at header or both of them should be in item. Is the field already present in KOMB structure( field catalog ). If not, kindly add the field in that structure. By the way are you using the new field in any condition table.


Check the thread by saptechsolutions titled "Enhancing Output Determination - The Smith Consulting Group" in google.


Regards,

DPM

0 Kudos

HI,

I  added field in komkbv3 not in kompbv3....sorry for the mistake...but it didt show any value and I add the field zvbeln in komb structe.

0 Kudos

Hi,

When you put break-point in the user-exit is the field COM_KBV3-ZVBELN getting filled. If not, check whether COM_VBaK-VBELN has some value. By the way you are trying to fill the sales order number into the new field as field is COM_VBAK-VBELN. 

Also, what do you mean by saying field is not updated. The field won't be visible anywhere, it will only help in proposing the correct output type during output proposal based on whether the system finds an entry in the condition table containing that new field.

Check with your functional consultant whether the other configuration related to output type have been done correctly.

Regards,

DPM

0 Kudos

hi,

COM_VBaK-VBELN has no valus ..so  COM_KBV3-ZVBELN also don't have no valus.

what to do for COM_VBaK-VBELN valus

payel