ECC 6 Upgrade from 4.6C : BDC code not working with WF-BATCH

Sandy sandysydney at gmail.com
Thu Feb 17 17:51:24 EST 2011


Hello Guys,
We are upgrading to ECC 6 from 4.6C. We have encountered a very strange
problem with user WF- BATCH.

There is Background method that uses a Call Transaction BDC for Transaction
EL37 (ISU Meter Read Reversal process) in one of workflows.Now if this
method is marked as Dailog, this BDC works (reverses the meter read : with
no message in BDC return table). This method works fine for any dailog user
but NOT FOR WF-BATCH USER when executed from WF. We have tested it
separately in SWO1 and also in SE37 by keying in the desired container
values and it works but when the WF is executed and this method is executed
in background by WF-batch, BDC fails to do the desired operation and we have
only one message in BDC return table : "No batch input data for screen
SAPMSSY0 0120" and this a SUCCESS message (Message ID: 00 and Message no
344). Since WF-batch is non dailogue user, we cant do a MODE A selection
with BDC to see exactly which screen are poped up at runtime.

 In 4.6C, EL37 transaction involved a ABAP list display but in ECC 6, this
transaction has a ALV grid display with custom containers. We have built the
BDC's for EL37 in ECC 6 in SHDB and successfully tested it for both Dailog
users and WF- Batch by creating a session and then executing it in
background in Transaction SM35. Does this means that BDC using session only
works for WF-batch and not Call transaction in SOME cases? BDC invovling ALV
has some problems with WF-batch since it is a NON dailouge user ?

Now why this BDC method is not working with WF- Batch when called online? is
there any authorisation issue? We have even checked that, its look fine. Can
we make WF-Batch dailoge user from system user since this method works well
for dailouge users: Making a WF-Batch dailogue users would have some
implications or NOT?

Could you please help me resolving this issue?

 Much appreciated.

I have found a SDN thread similiar to my issue but information is not
enough:
https://forums.sdn.sap.com/thread.jspa?threadID=1246633&tstart=0


*Thanks & Regards*
*
*
*Sandy *
**
**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110218/a11da44d/attachment.htm


More information about the SAP-WUG mailing list