Application Development and Automation 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: 
Read only

Skip Incompletion Log programatically

Former Member
0 Likes
2,752

Hi,

In Sales Order with Net Value(NETWR) as initial if I try to create Delivery, Incompletion log error is thrown stopping Delivery creation.

This is because of Customizing setting for VBAK-NETWR in TVUVF table.

Now for a particular Sales Order type & Plant combination I need to skip this Incompletion log error programmatically when Net Value is '0'.

I'm planning to put the logic in 'userexit_save_document_prepare'.

Without updating the DB table, could you please help me to skip the Incompletion log error programmatically? Also correct me if the above User exit is wrong place to put the logic?

Thanks & Regards,

Adithya M.

4 REPLIES 4
Read only

Former Member
0 Likes
1,253

AAdhi, Why thru a user exit? Can't this be controlled via SPRO? You can still ignore this for a specific doc type, or at least I think we can. Check with you functional person.

Is there any other reason you want to do this via exits?

Thanks,

Vikram.M

Read only

0 Likes
1,253

Hi Vikram,

Functional only asked me to handle this programmatically.

Hope for Order Type & Plant combination, there is no customizing setting available to skip this error.

User exit or Customer exit, anything is fine with me but I need TVUVF table available so that I can change its values in run-time to bypass the error message.

Thanks & Regards,

Adithya M.

Read only

0 Likes
1,253

I see what you are saying.

But UE_SAVE_PREPARE may be too late. Try replicating the same in VA01 and see if it goes to upto UE_SAVE_PREPARE. If yes, well and good.

If not, since this is at item level, I would say put the logic ( clear the TVUF based on order type) at UE_MOVE/CHECK_VBAP/VBEP.

VBAP/VBEP based on where this is field is present.

Thanks,

Vikram.M

Read only

Former Member
0 Likes
1,253

Mistakenly I have posted same thread again. Got the correct answer in that post. Below is the link for that post. http://scn.sap.com/thread/3318772