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: 

How get the order during a delivery

former_member582701
Contributor
0 Kudos
129

Hey!

i'm programming user exit Save_document in MV50AFZ1 include. I need gets the number of sale order that i am delivering. Can u help me?

Thx!

6 REPLIES 6

santhosh_patil
Contributor
0 Kudos
98

Hi,

In the table VBFA...... for the given delivery u can get the orders...

check it out

-


Patil

former_member582701
Contributor
0 Kudos
98

hi patil,

in what field?

0 Kudos
98

Hi,

in VBFA-VBELV u give the delivery......

and in the VBFA-VBELN u will get the orders .......

order will have the VBFA-VBTYP_N eq <b>'C'.</b>

-


Patil

Former Member
0 Kudos
98

hi

lips-vgbel = vbap-vbeln

lips-vgpos = vbap-posnr

if helpful, reward

Sathish. R

Former Member
0 Kudos
98

Hi!

You can find the reference field (purchase order) in LIPS (delivery item) table.

Field names: VGBEL, VGPOS.

Regards

Tamá

former_member582701
Contributor
0 Kudos
98

Thx all

Ask is answered...

But i don't know why i can't see the radiobuttons of reward points. I go yo "Your Questions" and thread doesn't appear.

Sorry, i always reward with points but i cant this time...

Manel