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

Check in BDC

kiran_k8
Active Contributor
0 Likes
644

Hi.

While doing a BDC I am deleting an existing record whose quota type is 81(as updating is not possible due to some functionality in HR).

Once after deleting I am trying to create a new record with quota type 81with new set of values.Is there a way to check whether the record is deleted or not (within the bdc) before proceeding with creating a new recrod(withing the bdc)

Thanks,

Kiran,

Hi.

While doing a BDC I am deleting an existing record whose quota type is 81(as updating is not possible due to some functionality in HR).

Once after deleting I am trying to create a new record with quota type 81with new set of values.Is there a way to check whether the record is deleted or not (within the bdc) before proceeding with creating a new recrod(withing the bdc)

Thanks,

Kiran,

4 REPLIES 4
Read only

Former Member
0 Likes
600

Hi Kiran,

After deleetion u can write the select query upto 1 rows where quota = '81'. IF SY-SUBRC EQ '0' Record is available .

else the record is deleted.

Regards,

karthikeyan k s.

Read only

0 Likes
600

Karthikeyan,

Is that the only way ?

Thanks,

K.Kiran.

Read only

0 Likes
600

hi kiran,

After delete statement u can check subrc value .

Regardds,

karthikeyan k s.

Read only

Former Member
0 Likes
600

HI,

For which transaction you are using the BDC ?

You can do one thing that after deleting the entry if there is find button u can check for quota 81 in BDC.

or else you can do before calling the BDC get the quota 81 from table , if you have two quota 81 entries then you have to delete two entries.

Regards,

Madhukar Shetty