2010 Nov 18 11:08 AM
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,
2010 Nov 18 11:12 AM
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.
2010 Nov 18 11:18 AM
2010 Nov 18 11:21 AM
hi kiran,
After delete statement u can check subrc value .
Regardds,
karthikeyan k s.
2010 Nov 18 11:25 AM
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