Skip to Content
author's profile photo Former Member
Former Member

Help with BUS_PARAMETERS_ISSTA_GET

When i try to get information via ctrl+f8 it says help not avail in English. I have tried to find more information on this function through web searching, but have not been able to find anything reasonable.

What i am trying to do is validate on a field on partner creation in the t-code BP.

I have it validation on change, using

CALL FUNCTION 'BAPI_BUPA_ADDRESS_GETDETAIL'
EXPORTING
businesspartner = gt_but000-PARTNER
* ADDRESSGUID =
* valid_date = gv_valid_date "SY-DATLO
IMPORTING
addressdata = l_address.
** TABLES
** bapiadtel = lt_tel
** bapiadfax = lt_fax.

but address data is blank on creation when i call this in BUP_BUPA_EVENT_DSAVC.

i read that i could use BUS_PARAMETERS_ISSTA_GET, but am not sure exactly what parameters are doing / returning what...

Any help would be greatly appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2012 at 04:14 PM

    Look at how your DSAVE event is written...why would you not do the same thing in your DSAVC? For my BDTs, I'd be doing this in a DCHCK event, so that I could fire an error and navigate back to screen.

    My BCA_BUPA_EVENT_DSAVE module uses the FM below to get the BUPA information from memory, which is where you should be getting, I would guess, after a change transaction is called:

    call function 'BUP_BUPA_MEMORY_GET_ALL'
    tables
    .... whichever ones that you need....see the long tables list.

    You can find a lot of stuff by looking at the BDT Events, and the (usually lengthy) list of function modules that are called within each event.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      ok, to get it to work correctly you can not do it in _DSAVC, you need to do it in BUP_BUPA_EVENT_DCHCK.

      CALL FUNCTION 'BUA_BUPA_MEMORY_ADDRESS_GET'
      EXPORTING
      i_partner = gt_but000-PARTNER
      I_XWA = 'X'
      IMPORTING
      E_ADDRVAL = lv_ADDR1_VAL
      EXCEPTIONS
      NO_ADDRESS_FOUND = 1
      PARTNER_NOT_FOUND = 2
      DATE_INVALID = 3
      OTHERS = 4

      Note that in BUP_BUPA_EVENT_DCHK that there is the global table gt_but000 that is populated from the fields on the screen. gt_but000-PARTNER will be equal to "##1" but it works fine as that's the partner number in memory for the addresses also.

      There is probably an easy way to do it w/o directly accessing global memory that way, but its working.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.