Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

In VA01 backend - Partner functions fetch structure (XVBPA) source code/config

Former Member
3,716

Hi All,

In VA01, when we enter sold to party & start debugging -

We get one Table - XVBPA already filled with multiple entries ( i.e. diff partner functional entries WE, BY, RE etc.)

I required the source code or config screen, from where this entries are getting fetched...

When I checked in XD03 (table - KNVP) I am getting less entries maintained then entries fetched in VA01 (Header - Partner tab)

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,264

Hi All,

Found the answer, posting the same for reference -

XVBPA structure is fetched from SPRO --> sales & Dist. --> Basic Functions --> Partner Determination --> Set up partner determination (Sales Doc header ) -

Select 'partner function procedure' -

The partner functions - Ticked as 'Mandatory Function' are getting reflected automatically in XVBPA Table.

Out of this - if respective partner function has value in table KNVP, it got fetched, else other partner functions displayed with '0' as value in VA01

Please find given VA01 backend for the same -

  • Include - LV09CF63 – Partner Func. Enhancement
  • XVBPA –
  • Include - MV45AF0P_PARTNER_PREPARE
  • § FM - SD_PARTNER_DATA_PUT
  • § $$$$$Result  - get filled -     (step – 3)
  • Include - FV45KFAK_VBAK_FUELLEN 
  • § m/d -   l_sd_sales_basic_exit->header_change   (step – 2)
  • § form - vbak_fuellen
  • SD BADI - GET_HANDLE_SD_SALES_BASIC
  • § Interface - IF_EX_BADI_SD_SALES_BASIC
  • Ø m/d - HEADER_CHANGE
2 REPLIES 2
Read only

Former Member
0 Likes
2,265

Hi All,

Found the answer, posting the same for reference -

XVBPA structure is fetched from SPRO --> sales & Dist. --> Basic Functions --> Partner Determination --> Set up partner determination (Sales Doc header ) -

Select 'partner function procedure' -

The partner functions - Ticked as 'Mandatory Function' are getting reflected automatically in XVBPA Table.

Out of this - if respective partner function has value in table KNVP, it got fetched, else other partner functions displayed with '0' as value in VA01

Please find given VA01 backend for the same -

  • Include - LV09CF63 – Partner Func. Enhancement
  • XVBPA –
  • Include - MV45AF0P_PARTNER_PREPARE
  • § FM - SD_PARTNER_DATA_PUT
  • § $$$$$Result  - get filled -     (step – 3)
  • Include - FV45KFAK_VBAK_FUELLEN 
  • § m/d -   l_sd_sales_basic_exit->header_change   (step – 2)
  • § form - vbak_fuellen
  • SD BADI - GET_HANDLE_SD_SALES_BASIC
  • § Interface - IF_EX_BADI_SD_SALES_BASIC
  • Ø m/d - HEADER_CHANGE
Read only

Former Member
0 Likes
2,264

Hi,

Were you able to update the VBPA information?

Thanks,