10-18-2007 2:58 PM
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 *********
10-18-2007 3:04 PM
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
10-18-2007 3:04 PM
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
10-18-2007 3:14 PM
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. ?????????
10-18-2007 3:22 PM
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