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

Regarding BAPI/Function Module for updating fields FAKSK and LIFEX

Former Member
0 Likes
1,528

Hi All,

I have a requirement wherein i need to update the fields FAKSK(Billing block ) and LIFEX(External Identification number).

We have already tried using the function Module WS_DELIVERY_UPDATE and also BAPI_OUTB_DELIVERY_CHANGE but we didnt find both the fields in any of the above BAPI or function module.

To be more specific to the requirement we need to remove the Billing block and update the LIFEX filed.

If anyone have come accross such situation Please advice.

Thanks ina dva

1 ACCEPTED SOLUTION
Read only

marcus_mller
Discoverer
0 Likes
1,179

hi satya ranjan,

put an append to structure 'vbkok' which is used as input parameter for WS_DELIVERY_UPDATE / WS_DELIVERY_UPDATE_2.

enter faksk and lifex and data field plus an active-flag for every data field.

e.g.:

ZZKZTRSPG ZZKZTRSPG CHAR 1 0

ZZTRSPG TRSPG CHAR 2 0

find include 'LV50SFZ2' in WS_DELIVERY_UPDATE am implement like this:

if vbkok_wa-ZZKZTRSPG <> space .

perform likp_bearbeiten_vorbereiten(sapfv50k).

if not vbkok_wa-ZZKZTRSPG eq space.

likp-trspg = vbkok_wa-zztrspg.

endif.

perform likp_bearbeiten(sapfv50k).

endif.

regards

marcus

Hi All,

I have a requirement wherein i need to update the fields FAKSK(Billing block ) and LIFEX(External Identification number).

We have already tried using the function Module WS_DELIVERY_UPDATE and also BAPI_OUTB_DELIVERY_CHANGE but we didnt find both the fields in any of the above BAPI or function module.

To be more specific to the requirement we need to remove the Billing block and update the LIFEX filed.

If anyone have come accross such situation Please advice.

Thanks ina dva

2 REPLIES 2
Read only

marcus_mller
Discoverer
0 Likes
1,180

hi satya ranjan,

put an append to structure 'vbkok' which is used as input parameter for WS_DELIVERY_UPDATE / WS_DELIVERY_UPDATE_2.

enter faksk and lifex and data field plus an active-flag for every data field.

e.g.:

ZZKZTRSPG ZZKZTRSPG CHAR 1 0

ZZTRSPG TRSPG CHAR 2 0

find include 'LV50SFZ2' in WS_DELIVERY_UPDATE am implement like this:

if vbkok_wa-ZZKZTRSPG <> space .

perform likp_bearbeiten_vorbereiten(sapfv50k).

if not vbkok_wa-ZZKZTRSPG eq space.

likp-trspg = vbkok_wa-zztrspg.

endif.

perform likp_bearbeiten(sapfv50k).

endif.

regards

marcus

Read only

Former Member
0 Likes
1,179

Moderator message - When closing old threads, there is no need to add a comment. Adding a pasted answer like "Thanks" only brings old threads to the top of the forum list and pushes current ones down. If you do add a comment, please indicate just how the problem was resolved. Rob