Skip to Content
0
Former Member
Jan 11, 2012 at 07:29 AM

Issue while maintaining the Relationship between 2 partners

148 Views

Dear All,

In SAP-CRM, When I am trying to maintain the relationships between 2 partners by using the function module 'BAPI_BUPR_RELATIONSHIP_CREATE', one of the parameter 'VALIDFROMDATE'(DATE_FROM)

is not getting maintained with the value that I passed. Instead which is getting maintained with '01/01/0001'.

Please find the code below :

CALL FUNCTION 'BAPI_BUPR_RELATIONSHIP_CREATE'

EXPORTING

businesspartner1 = '0020000052'

businesspartner2 = '0600000017'

relationshipcategory = 'CRMS01'

validfromdate = sy-datlo "'20120111'

validuntildate = '99991231'

TABLES

return = t_return_create.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'.

Can you please let me know how to resolve this issue?

Thanks & Regards

Gude Pratap