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

BDC

Former Member
0 Likes
865

Hi,

While recording the BDC for XK01.

In the Address window,

under communication..... click on communication tab....a pop up windoow appears and then select URI (10th Position) in the list of options.

But when executing the program,the BDC is selecting the first option only by default.

Then my question is how can i place my cursor at the 10th poistion.

Thanks in Advance

Srinivas

11 REPLIES 11
Read only

Former Member
0 Likes
842

Sri,

always use page up and page down button.

and bapi is BAPI_CUSTOMER_CREATE.

Amit.

Edited by: Amit on Jun 25, 2008 3:37 PM

Read only

0 Likes
842

Hi Amit,

All the options are in 1st page only....i must place the cursor at the 10th Row,how can i do this.

There is no screen field for this.

Srinivas

Read only

0 Likes
842

Hi Srinivas,

i think u need to use BDC_CURSOR.

Best regards,

raam

Read only

0 Likes
842

Hi reddy,

i know that we have to use BDC_CURSOR,but how can i place the cursor at a particular position.

Thanks

Srinivas

Read only

0 Likes
842

Hi Srinivas,

U need to assign thr field name to the BDC_CURSOR.

BDC_CURSOR = 'VBAP-KDMAT(06)'.

u need to give the field name where u want to place the cursor.

BDC_CURSOR = 'VBAP-KDMAT (06).

U need to give the position number where u what to place the cursor in the table

Best regards,

raam

Edited by: Kodandarami Reddy.S on Jun 25, 2008 8:03 PM

Read only

0 Likes
842

Hi Reddy,

That is not screenfield.it is just a pop up window.

Srinivas

Read only

Former Member
0 Likes
842

Use BAPIs instead of BDC for this Upload

Read only

vinod_vemuru2
Active Contributor
0 Likes
842

Hi Srinivas,

I think BDC recording will take care of this. Run ur recording and see whether it is selecting 10th record or not. Always run the recording before u put in to code.

In my system i have to press other comunications button then i will get popup. If i double click on that then u will get one more popup. So check ur recording once again.

My advise is always go for BAPI if it is available for ur requirement.

Thanks,

Vinod.

Read only

0 Likes
842

Hi Vinod,

Thanks for your Reply.

This requirement is a change.so i cannot change to BAPI.

In the recording iam able to select URI, but when i run the recording, it is selecting only the first one in the list.

Now my problem how can i place my cursor in the particular postion.

Srinivas

Read only

0 Likes
842

Hi Srinivas,

One idea. If u know that u have to select URI why can't u hard code the same in BDC. This will not work if u have to select the value at 10th position always, because in future u may get more entries. So if u are sure that u have to use URI then hard code it in BDC where it is selection the first one.

But as per my understanding there is no screen field assigned to this popup values. Then u did u coded ur BDC???? Get back with details.

Thanks,

vinod.

Read only

0 Likes
842

Hi Vinod,

It is not a screenfield, and i cannot hard code with the value 'URI'

is there any way we can place the cursor based on the co-ordinates ( like x,y).

Help me in this regard.

Srinivas