on 07-15-2005 1:49 PM
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...
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.