2005 Sep 23 7:01 AM
hi,
I am calling the transaction 'F-02'remotely. I am using the 'Call Transaction' statement with mode 'N' and update 'A'.
The transaction call is working fine for mode 'A' and update 'A' or 'S', but with 'N' and 'A' or 'S' it is not working and giving an error "A field is not there in the screen'. In the recording the screen field exists.
Can anyone give a solution to it.
thanks for spending your time.
2005 Sep 23 7:20 AM
If you intend to use your BDC in mode N then you have to do SHDB recording using the option 'Simulate Background Mode' after pressing 'New recording' button on main screen.
A seperate recording should be done without choosing this option.
This will bring out the differnce between the two modes: Foreground and background.
If you want your BDC to run in both modes then you have to treat two cases seperately in 'if else' condition for the field sy-binpt and the mode you have selected.
hi,
I am calling the transaction 'F-02'remotely. I am using the 'Call Transaction' statement with mode 'N' and update 'A'.
The transaction call is working fine for mode 'A' and update 'A' or 'S', but with 'N' and 'A' or 'S' it is not working and giving an error "A field is not there in the screen'. In the recording the screen field exists.
Can anyone give a solution to it.
thanks for spending your time.
2005 Sep 23 7:10 AM
These are some of the disadvantages in recording, they behave differently in background and foreground mode. I think u should restrict the usage of Recording either only in background or foreground and do the recording on the same way. Sometimes in background mode some of the popups, information messages will not be displayed.
I had faced similar problems before, all we could do was to come to an understanding with client that the report will be made to execute only in background or foreground.
2005 Sep 23 7:10 AM
Hi,
pls check customizing (field-status-definition)
of gl-accounts / posting keys
Andreas
P.S.
Why don't you use interface rfbibl00 or BAPI ?
2005 Sep 23 7:20 AM
Hi Arul,
Can you tell me the name of the field on which the system is giving error.
Thanks and regards
Gurpreet Singh
2005 Sep 23 7:20 AM
If you intend to use your BDC in mode N then you have to do SHDB recording using the option 'Simulate Background Mode' after pressing 'New recording' button on main screen.
A seperate recording should be done without choosing this option.
This will bring out the differnce between the two modes: Foreground and background.
If you want your BDC to run in both modes then you have to treat two cases seperately in 'if else' condition for the field sy-binpt and the mode you have selected.
2005 Sep 23 7:21 AM
Hi arul,
This transaction code will be work with 'N' mode also , jus now i tested it is working for me with 'N' and 'A' or 'S'.
still if you are not getting in your environment you can do by using FB01 transaction code instead of f-02.