Application Development 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: 

BDC save Button

Former Member
0 Kudos

Hi exprets,

While creating bdc On MEK1 after entering all value when i click on SAVE button it " Exit " from the Tcode MEK1 .

But i want to continue eventhough i Click on Save button... how it possible. ?

          • Point is assured *********

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

when you press the SAVE button, then it wil save all the entries to the database and comeback from that transaction code, this is normal SAP procidure, so after coming back to the transaction code, we need to enter the same transaction again and proceed furthere, for this reason we use the LOOP statment while we write the BDC code

Regards

Sudheer

3 REPLIES 3

Former Member
0 Kudos

Hi,

when you press the SAVE button, then it wil save all the entries to the database and comeback from that transaction code, this is normal SAP procidure, so after coming back to the transaction code, we need to enter the same transaction again and proceed furthere, for this reason we use the LOOP statment while we write the BDC code

Regards

Sudheer

0 Kudos

Hi sudheer,

Thanks for your mail,

In my MEK1 tcode i am entring data 2 times in first case

1) i am entring value of

Article = 600000

Sales Organization = 0101

Distribution Channel = 01

and saving data.

In second case only i am changing Distribution Channel i.e 08

2) Article = 600000

Sales Organization = 0101

Distribution Channel = 08

and saving data.

the above conditon is without recording.

but when i am using SHDB and recording and cliking on save . it exit

not allowing me to change Distribution chanel .

any logic. ?????????

ferry_lianto
Active Contributor
0 Kudos

Hi,

For changing data, please use transaction MEK2 instead of MEK1.

You need to build a BDC logic to handle scenario for creating data via MEK1 and changing data via MEK2.

Regards,

Ferry Lianto