‎2007 Apr 27 7:13 PM
hello all,
can someone let me know how to link salesdoc no(vbeln) and condition type (kschl).
thanks in advance
seenu
‎2007 Apr 27 7:18 PM
‎2007 Apr 27 7:18 PM
‎2007 Apr 27 7:18 PM
‎2007 Apr 27 7:18 PM
Hi,
you can use the condition number..
VBAK-KNUMV = KONV-KNUMV
Thanks,
Naren
‎2007 Apr 27 7:20 PM
Hi Seenu,
You should access table VBAK with VBELN and load the field KNUMV. Then you access table KONV and you'll see all the conditions for a salesdocument.
I hope it's usefull.
Aline
‎2007 Apr 27 7:29 PM
Hi,
Please try this.
Go to table VBFA with the following criteria to get VBFA-VBELN.
VBFA-VBELV = VBAK-VBELN
VBFA-VBTYP_N = 'M'
then go to table VBRK to get VBRK-KNUMV with the following criteria.
VBRK-VBELN = VBFA-VBELN.
Lastly go to table KONV to get KONV-KSCHL.
KONV-KNUMV = VBRK-KNUMV.
Regards,
Ferry Lianto