cancel
Showing results for 
Search instead for 
Did you mean: 

Variant function - selection based on sales order custom partner number

Former Member
0 Kudos

Hi,

we are implementing a new variant function in order to select a characteristic value in variant configuration at sales order creation level. We need to select a characteristic value only when a custom partner number (custom partner function) is entered.

Kindly advise on this custom partner retrieval logic in the variant function module. I tried on the table XVBPA but it is not accessible.

Best Regards,

Satya

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Does anyone know on amending the structure SDCOM and populating values in it ?. We are trying to create reference characteristic based on custom partner function.

Thanks.

Best Regards,

satya

Ritz
Active Contributor
0 Kudos

Satya,

I can see Amber Naseer already suggested you few things to check, have you tried them all?

Please share findings what error you got etc.

Thanks

Ritesh

Lakshmipathi
Active Contributor
0 Kudos

Moved from SAP ERP Sales and Distribution (SAP SD) to SAP ERP PLM - Classification and Variant Configuration

G. Lakshmipathi

Former Member
0 Kudos

Hi,

We tried to use EXIT_SAPLCEI0_001 and EXIT_SAPFV45S_002 but unable to populate the reference characteristic value in variant configuration.

Could you please throw some light on the reference characteristic value extension and logic to populate that.

Best Regards,

Satya

Former Member
0 Kudos

Hi All,

If not through variant function, do we have any other option in variant configuration to fulfill the above functionality.

Thanks in advance.

Best Regards,

satya

Former Member
0 Kudos

Hello Satya,

You can use reference characteristic to table


VBPA_AG Partner: sold-to party ,VBPA_WE Partner: ship-to party ,VBPA_RE Partner: bill-to party

VBPA_RG Partner: payer, depending on what field you are looking for.

Please review note 935885. that explains the tables you can read data from .

You can simply create a procedure or precondition based on this reference characteristic.

Please review the following links for more information.

http://scn.sap.com/docs/DOC-25224

Also review help.sap.com for the information object dependencies with reference characteristic.

Thanks Amber

Former Member
0 Kudos

Hi Amber,

Thanks for your inputs.

We have a custom partner function but not the available partner functions fields to drive the logic in VC.

However, to add the custom partner as a reference field or characteristics I found a BADI (ERP_CFG_ADAPT).

Best Regards,

Satya

Former Member
0 Kudos

Hello Satya,

For own fields , you can use an exit if the field is in table VBAP.

You can check the following notes regarding this

 

644574  Userexit: EXIT_SAPLCEI0_001

353487  VCSD_UPDATE and customer exit EXIT_SAPFV45S_002

Not every table is available for reference characteristic extension.

Thanks

Amber