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

VA02 conditions data

Former Member
0 Likes
933

Hi,

In Va02 I am trying to replicate an item which is already there in Va02.

In this case I want to get the conditions exist for that line item...Is there any function module to get the conditions data.

1 ACCEPTED SOLUTION
Read only

h_senden2
Active Contributor
0 Likes
870

I don't know if there is a function module, but you can use the table entries in KONV

via key

KONP-KNUMH = VBAK-KNUMV

KONP-KOPOS = VBAP-POSNR

regards,

Hans

Please reward all helpful answers !!!!!

6 REPLIES 6
Read only

h_senden2
Active Contributor
0 Likes
871

I don't know if there is a function module, but you can use the table entries in KONV

via key

KONP-KNUMH = VBAK-KNUMV

KONP-KOPOS = VBAP-POSNR

regards,

Hans

Please reward all helpful answers !!!!!

Read only

Former Member
0 Likes
870

Hi Hans,

I have taken the condition number frm VBAk...If i pass in KONP it is giving that no records found

Read only

Former Member
0 Likes
870

I have got the solution.Instead of KONP i have to check in KONV

Read only

Former Member
0 Likes
870

rvcondition , check this string in se37 u will that Fm.

Regards

Prabhu

Read only

Former Member
0 Likes
870

Check the FMs: SALES_CONDITIONS_DIRECTLY_READ or CONDITION_RECORD_READ

Regards,

Ravi

Read only

Former Member
0 Likes
870

Hi Sumi,

There is no FM as I know. You can use the following logic:

1. Take KNUMV from VBAK and POSNR from VBAP .

2. Retrieve the condition from KONV where KONV-KNUMV = VBAK-KNUMV

and KONV-KPOSN = VBAP-POSNR.

Reward is helpful,

Regards,

Tanmay