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

WBS element empty in SD user exit

roland_spindler
Participant
0 Likes
825

Hello,

We are using SD user exit "userexit_move_field_to_vbap". For some reason the field vbap-ps_psp_pnr (WBS element) is empty, even though we entered values when creating the SD item. All other fields seem to be filled correctly.

Any ideas?

Thanks in advance

Roland

Hello,

We are using SD user exit "userexit_move_field_to_vbap". For some reason the field vbap-ps_psp_pnr (WBS element) is empty, even though we entered values when creating the SD item. All other fields seem to be filled correctly.

Any ideas?

Thanks in advance

Roland

3 REPLIES 3
Read only

Former Member
0 Likes
655

hi,

If it is with respect to VBAP, enter the data at Item level not at the header level.

Thanks

Sharath

Read only

Former Member
0 Likes
655

Hi,

The FORM (userexit_move_field_to_vbap) u are using.. the WBS value won't be substituted to VBAP-PS_PSP_PNR during this time..I mean when the form is executed in the user exit..

so try to use another form may be FORM USEREXIT_SAVE_DOCUMENT or FORM USEREXIT_SAVE_DOCUMENT_PREPARE

It will work in this forms..

Read only

0 Likes
655

Sharath,

Of course we are maintaining the data at item level. Otherwise I wouldn't be surprised that the item level field was empty.

Balasubramani,

That may very well be. However, we want to make our checks before the user saves the data.

best regards

Roland