Quantcast
Viewing all articles
Browse latest Browse all 1255

Delete realtionship in BUT050 table

Hi All,

My requirement is to create and delete BP relationship between sold to and ship to/ sold to and bill to.

For creating relationship, i have used the fm BUPR_RELATIONSHIP_CREATE and its working fine.

But while deleting the relationship, I am using the FM BUPR_RELATIONSHIP_DELETE

 

CALL FUNCTION 'BUPR_RELATIONSHIP_DELETE'

              EXPORTING

               IV_PARTNER_1                        = lv_sid

               IV_PARTNER_2                        = lv_rid

               IV_RELATIONSHIP                     = lv_rtype

               IV_X_SAVE                           = 'X'

             TABLES

               ET_RETURN                           = lt_return                 .


 

Note: partner1 is the sold to party and partner2 is the bill to party and the relation still exists in BUT050 table when i check from back end.

but it returns the message saying "Relationship between partners doesnot exist"


If anyone had faced similar issue, Please post your suggestions.


Thanks in advance,

Prathyusha VJ.


Viewing all articles
Browse latest Browse all 1255

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>