cancel
Showing results for 
Search instead for 
Did you mean: 

Call BP transaction with bp number as parameter

Former Member
0 Kudos

Hello,

I'm trying to call the transaction 'BP' from a report with a given business partner number.

For this I'm setting the parameter 'BPA' but the BP transaction is displaying details of some formelly viewed bp number.

I located the method where the bp number is retrieved from the parameter stack (Include file LBUPA_DIALOG_JOELF14):

METHOD determine_new_partner_guid

...

IF gv_started_with_fsl = gc_x

AND lv_locator_visible = gc_x.

CLEAR ev_partner_guid.

EXIT.

ENDIF.

ev_partner_guid = gv_partner_guid.

  • Any partner guid so far?

IF ev_partner_guid IS INITIAL.

  • Default to the set/get parameter, if possible.

GET PARAMETER ID 'BPA' FIELD lv_partner_number.

...

The problem is that both 'gv_started_with_fsl' 'lv_locator_visible' values are set, so the context will never get to retrieving the number from the parameter.

How can I call the transaction with a given business number?

Thanks

Tim

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,Tim

you can check the FM 'CCMCS_BP_DISPLAY2', I think you can add an input parameter

of BP NO.