cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SW01 - Testing BOR Object

Former Member
0 Likes
1,683

Hello All ,

Can you please help me in testing a BOR method. I am passing all required IMPORT parameters code is checking a CHANGING parameter.

I can not enter CHANGING Parameter  while executing SWO1 as its greyed out.

How can I test this BOR Method. Please help.

BOR : MOVEINDOC

Method : MOVEINOFOWNERCREATENODIALOG

CHANGING parameter : ( I am not able to pass any value to it) :       INSTLNS                           0 Entries

Thanks,

Shammi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Thank you Rick and Anjan for providing inputs!

I guess we know the reason why task was going into error. The error message seems to be misleading. After this error message in WF log there was a Warning message, this warning message seems to be the culprit. All WF going into error have this warning message. I am attaching screenshot , just in case anyone else faces the same issue.

Click on warning Icon it will give this popup. Click on long text , it will display reason for

warning.

Thanks,

Shammy

Former Member
0 Likes

Hello,

Is the table icon greyed out? Anything else greyed out? Maybe it's better if you show a screenshot.

regards

Rick Bakker

Former Member
0 Likes

Hi Rick , Thanks a lot for looking into my forum . I am attaching the screenshot of SWO1. The reason I am debugging this method is because WF Task is going into Error - Since its a Background task I am not able to debug. I am trying for long time now. Please provide some inputs.

Former Member
0 Likes

Hello,

That's strange, but it's not really greyed out. If you hover just to the left of "0 entries" do you get "Edit table" appearing?

You could run it in debug mode and fill in the values then.

The workflow error indicates that there's a problem with sending an email, and the reason it's sending an email is because of a data problem "There is a later move-in...".

Does the initiator of the workflow have a valid email address in SUS01D?

regards

Rick Bakker

Former Member
0 Likes

Hi Rick ,

I hover the mouse over 0 entries , its not giving any option of Edit Table. I checked WF-Initiator USRAMEI01_T1  has valid Email in SU01D. Email address of Partner 1000600593 was missing in Tcode BP , I maintained that as well , still its giving the error.

Thanks,

Shammy.

Former Member
0 Likes

Also in Debug , table is not input for values

Former Member
0 Likes

Hello,

You should ask for authorization to be able to modify values in debug.

Do you have the same problem if you test BUS2012 method GETITEMS ? Is there a table icon next to POHEADERS and POITEMS?

regards

Rick

Former Member
0 Likes

Sorry Rick , Just stepped out for dinner. I checked BUS2012 , There is table icon coming. I guess for the MOVEINDOC its not a simple table. PO header and POITEMS are referring to table , INSTLNS is referring to Object type 'INSTLN'

Former Member
0 Likes

Hello,

I would try putting an External Breakpoint in that method, see if you can debug it from Workflow.

regards

Rick

anjan_paul
Active Contributor
0 Likes

Hi,

  I suggest to check three thing.

  First your necessary configuraion done from functional side to generate Utility Installation from Move In document.

Second, your WF-Batch have proper authorization to send mail.

And finally check for the SAP Note  334104 and other notes