Hi
Please find out the Partner Function for Buyer.
You can either take a help of your Functional Consultant if you have difficulty in identifying them.
Without this information, we cannot do anything.
Once identifying this, your code should like below:
LW_PARTNER-REF_GUID = 'E1198B5ED59B06F1A107984BE1014782'.
LW_PARTNER-REF_PARTNER_FCT = 'FILL THIS FIELD'. "Partner Function
LW_PARTNER-PARTNER_NO = '0080006382'. "New BP
LW_PARTNER-KIND_OF_ENTRY = 'C'.
APPEND LW_PARTNER TO LT_PARTNER.
LW_INPUT_FIELDS-REF_GUID = 'E1198B5ED59B06F1A107984BE1014782'.
LW_INPUT_FIELDS-REF_KIND = 'A'.
LW_INPUT_FIELDS-OBJECTNAME = 'PARTNER'.
LW_INPUT_FIELDS-FIELDNAME = 'REF_PARTNER_FCT'.
APPEND LW_INPUT_FIELDS TO LT_INPUT_FIELDS.
Cheers
Kamesh