12-12-2013 12:36 AM
We have a function module that wraps a CALL to TRANSACTION SU01 to create users.
The fm is called by a program that runs in a batch job and creates users from a provided input file.
This code has been running for many years.
Prior to our upgrade to 731, our BDCDATA was based off DYNPRO 'SAPLSUU5' '0050'.
The new stuff is driven through, SAPLSUID_MAINTENANCE.
We RErecorded the BDC calls and updated the FM. The FM runs fine in foreground.
But when its run in background mode, it dumps.
We’ve tried various different recordings, eached tweak in a different way, but they all seem to dump in one way or another based on CNTL_ERRORs - From container visibility to the last version dealing with CL_GUI_DOCKING_CONTAINER .
So, how do I get this to run in background ?
So, I’m wondering, if anyone know what we can do or what’s going on?
This was a rude awakening, and we’ll probably change this established technique anyway, but we’d like to just fix the BDC for now. Any ideas will be extremely helpful.
Thanks…
12-12-2013 2:42 AM
hi Mike
i find some infomation from notes(372359,372592), but your program only a BDC recording, no relationship with screen, i`m confusing.
Symptom
The class CL_GUI_DOCKING_CONTAINER allows the transfer of parameter RATIO in the constructor, and this parameter can have a value between 5 and 95 (see Note 372359). This parameter determines how many percent of the screen width (in the case of docking containers left or right) or of the screen height (top and bottom) the docking container should take up. With the method GET_RATIO you can find out at any time, how much space (in percent) the docking container currently takes up.
Here, you encounter the following problems:
Other Terms
CONTROL FRAMEWORK CL_GUI_CFW
Reason and Prerequisites
In short, the specifications in percent can only be used to determine or query an approximate value for the space that docking container and screen take up.
Solution
regards,
Archer
12-12-2013 2:56 AM
Mike McInerney wrote:
Prior to our upgrade to 731, our BDCDATA was based off DYNPRO 'SAPLSUU5' '0050'.
The new stuff is driven through, SAPLSUID_MAINTENANCE.
We RErecorded the BDC calls and updated the FM. The FM runs fine in foreground.
But when its run in background mode, it dumps.
Just a thought:
May be its time the program was rewritten using BAPI_USER_CREATE1 rather than using screen/batch recording?
Cheers,
Sougata.
08-13-2015 6:36 PM
Mike,
Did you ever solve this issue? We just upgraded to NW 740 and have a program that was updating the user master record via BDC. It is now failing, just as you indicated. Can you share some information on your solution?
08-14-2015 7:33 AM
Consider now SU01 as an Enjoy transaciton and switch to BAPI.
Regards,
Raymond
04-07-2016 2:54 PM