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 _ Njoy T-code

SG141
Active Participant
0 Likes
651

I have performed a bdc for enjoy transaction for deleting data...

However when i pass the data to the program..

only the first entry of the data is deleted

that too when i enter 2-3 three times.

I am using BDC CALL Transaction.

How to fix this error.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
628

Are you remembering to CLEAR / REFRESH the BDCDATA internal table between each CALL TRANSACTION.

Logic should be:

LOOP through transactions

CLEAR BDCDATA[]

FILL BDCDATA with data for current transaction

CALL TRANSACTION using BDCDATA

Handle return / errors

ENDLOOP

Andrew

5 REPLIES 5
Read only

Former Member
0 Likes
628

Which Transaction ? do not use BDC for Enjoy Transaction unless you do not have BAPI

Read only

SG141
Active Participant
0 Likes
628

I don't have a BAPI...

Read only

0 Likes
628

What is the transaction?

Read only

Former Member
0 Likes
629

Are you remembering to CLEAR / REFRESH the BDCDATA internal table between each CALL TRANSACTION.

Logic should be:

LOOP through transactions

CLEAR BDCDATA[]

FILL BDCDATA with data for current transaction

CALL TRANSACTION using BDCDATA

Handle return / errors

ENDLOOP

Andrew

Read only

SG141
Active Participant
0 Likes
628

Thanx Andrew..

I forgot to refresh the BDCDATA...

Awarded points