cancel
Showing results for 
Search instead for 
Did you mean: 

issue with recorder

Former Member
0 Kudos

hi all,

i am encountering a strange issue.

i m trying to post transaction FBRA (Reset cleared items). when i run the transaction normally, supplying the doc. no. , comp code and fiscal year...i click on save and a popup message comes up which asks to either only reset the documents or to reverse them as well...no issues so far...

the issue however comes when i try and record this transaction....there is no pop up at all...?? why so??

although i went in the code and found out the screen no. and okcode value to code my bdc but i would like to know why such sort of a thing would occur....as per my knowledge...this cannot be a limitation with recorder...or is it?

any knowledge sharing will be appreciated...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

By definition, there should be no popups in background processing. That's why no popup is issued when recording.

If you run your program issuing popup in background, it will result in ABAP dump.

Former Member
0 Kudos

I know this is an old issue, but i have this problem, and i solved the problem. I think if someone look for this problem in forum, my answer can help.

Debbuging FBRA, i saw that program take a different way when the transaction is running from a call transaction. The window to choose wich option i want to run is doesnt showed, because the program automatically choose the first option, reseting the clearing, but it doesnt reverse the document.

The problem was solved making 2 call transaction, the first to FBRA to reset clearing, and then FB08 to reverse document.

Regards

PabloX.

Answers (2)

Answers (2)

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Is this popup to get some kind of Profile?

I'm thinking that this is your problem, I did a search in that program for SY-BINPT , this is a system value which is set to "X" when in Batch Input or BDC mode. I think that this is why you are not getting your popup.



  IF NOT ls_message IS INITIAL
    <b>AND SY-BINPT = SPACE</b>.
    CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET'
         IMPORTING
              e_s_display_profile = ls_display_profile.

    ls_display_profile-use_grid   = 'X'.

    CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'
      EXPORTING
        i_s_display_profile          = ls_display_profile
      EXCEPTIONS
        profile_inconsistent         = 1
        internal_error               = 2
        no_data_available            = 3
        no_authority                 = 4
        OTHERS                       = 5
              .
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION 'BAL_LOG_REFRESH'
      EXPORTING
          i_log_handle = ls_handle.

  ENDIF.

Regards,

Rich Heilman

Former Member
0 Kudos

hi guys,

sorry i checked ur replies late...

the popup that i am talking about comes from the call to the function "popup_to_decide". if we consider that some transactions might behave differently, even then i dont feel that this call will be avoided. more so...i created a test zprogram for myself and called the same function in it. and when i create a recording for this program, the popup appears, so i assume that there is some other issue...not that the recorder suppresses these kind of popups....hope u get the problem now....

regards,

PJ

andreas_mann3
Active Contributor
0 Kudos

Hi Jain,

programs in bdc and "normal" execution of transactions can be different.

there're a lot of examples: fb01, fb05,xd01, xd02,...

regards Andreas