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

question for BDC about tcode VK12

Former Member
0 Likes
559

Hi, everyone, i encounter a problem when i use BDC to transfer data about vk12.

when i usd BDC to transfer value to the field F001,F002, F003 and F004-LOW then click run, the detail record are be chosed and displayed, then i must chose them and click delete. if there is only one record accord to the condition, it is easy to deal with it, but, if there are more than one record, what should i do the deal with the detail records, especially how to deal with it dynamicly acoording to the condition.

for example:

when i enter first condition through BDC .(see the first record)

ZPR0|X||RENT-L1-M03||100001||1000|00|01.01.2008|

the condition value are: zpro, x , rent-l1-m03, 100001,1000, 00 ,01.01.2008 and then i will find only detail record according to this condition, it like this:

RENT-L1-M03

2,000.12

sgd

1

ea

01.01.2008

31.12.9999

then flag this detail record and click delete.it is successful

when i enter second condition through BDC .(see the second record)

ZPR0

X

RENT-L1-M00

100021

1000

00

01.01.2008

the condition value are: zpro, x , rent-l1-m00, 100021,1000, 00 ,01.01.2008 and then i will find three detail records according to this condition, like this:

|RENT-L1-M00|2,000.12|sgd|1|ea|01.01.2008|31.12.9999

|RENT-L1-M00|2,000|sgd|1|ea|01.01.2008|31.12.9999

|RENT-L1-M00|1,000|sgd|1|ea|01.01.2008|31.12.9999

then if i use the same BDC record program to deal with this detail record, it is deal with only one detail record, so what should i do to deal with the others.(because all of them should be flaged and deleted)

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
486

Just check if you have a Select All button when you select the record you want to delete.

Hi, everyone, i encounter a problem when i use BDC to transfer data about vk12.

when i usd BDC to transfer value to the field F001,F002, F003 and F004-LOW then click run, the detail record are be chosed and displayed, then i must chose them and click delete. if there is only one record accord to the condition, it is easy to deal with it, but, if there are more than one record, what should i do the deal with the detail records, especially how to deal with it dynamicly acoording to the condition.

for example:

when i enter first condition through BDC .(see the first record)

ZPR0|X||RENT-L1-M03||100001||1000|00|01.01.2008|

the condition value are: zpro, x , rent-l1-m03, 100001,1000, 00 ,01.01.2008 and then i will find only detail record according to this condition, it like this:

RENT-L1-M03

2,000.12

sgd

1

ea

01.01.2008

31.12.9999

then flag this detail record and click delete.it is successful

when i enter second condition through BDC .(see the second record)

ZPR0

X

RENT-L1-M00

100021

1000

00

01.01.2008

the condition value are: zpro, x , rent-l1-m00, 100021,1000, 00 ,01.01.2008 and then i will find three detail records according to this condition, like this:

|RENT-L1-M00|2,000.12|sgd|1|ea|01.01.2008|31.12.9999

|RENT-L1-M00|2,000|sgd|1|ea|01.01.2008|31.12.9999

|RENT-L1-M00|1,000|sgd|1|ea|01.01.2008|31.12.9999

then if i use the same BDC record program to deal with this detail record, it is deal with only one detail record, so what should i do to deal with the others.(because all of them should be flaged and deleted)

1 REPLY 1
Read only

Former Member
0 Likes
487

Just check if you have a Select All button when you select the record you want to delete.