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

Help in BDC

Former Member
0 Likes
628

HI experts,

how to change value of a condition type 'X' in ME23N, thru BDC. the problm i m facing is, i m nt abl 2 trap dat particular cond type while doing recording bcoz of involvment of table control into it, as the cursor position is varying in every PO for that cond type. jst tell me a way hw 2 change value of ny cond type in a PO thru BDC.

see....

this line...

JCV1 Settoff CVD+ADD 100.000 % 22.75

to this...

JCV1 Settoff CVD+ADD 0 % 0.....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
563

Hi Rohit,

You first do recording for a given condition type.

take all PO and their corresponding condition type into an internal table i_tab.

loop at i_tab.

write all the recoding code here and pass the po and condition type value from ur internal table.corresponding to those value ur next screen will appear.pass all the values from ur internal table.remove all the hard code value that are in recording.

endloop.

Reward points if helpful.

Regards,

Hemant

Hi Rohit,

You first do recording for a given condition type.

take all PO and their corresponding condition type into an internal table i_tab.

loop at i_tab.

write all the recoding code here and pass the po and condition type value from ur internal table.corresponding to those value ur next screen will appear.pass all the values from ur internal table.remove all the hard code value that are in recording.

endloop.

Reward points if helpful.

Regards,

Hemant

3 REPLIES 3
Read only

Former Member
0 Likes
564

Hi Rohit,

You first do recording for a given condition type.

take all PO and their corresponding condition type into an internal table i_tab.

loop at i_tab.

write all the recoding code here and pass the po and condition type value from ur internal table.corresponding to those value ur next screen will appear.pass all the values from ur internal table.remove all the hard code value that are in recording.

endloop.

Reward points if helpful.

Regards,

Hemant

Read only

Former Member
0 Likes
563

Hi Hemant

Thnx 4 ur suggstn, actully i hav compltd that part, i m stuck at that point where the condition type is occuring at page down or u can say in table control scroll. hw to catch that particular cursor where dat cond type and its value is occuring. it can occur at ny place. since i get KOMV-KSCHL and not its name(the cond type name is JCV1) so i hav 2 catch it by cursor pos. i hop u hav got d prob....

plz ask if its still nt clear...

Read only

0 Likes
563

Hi.

Have you tried using BAPI_PO_CHANGE? It's easier...

Br!