cancel
Showing results for 
Search instead for 
Did you mean: 

Create WorkInstruction Webservice call; Url is too long Error.

former_member202208
Active Participant
0 Kudos

Hi,

I am trying to create a Work Instruction using workflow, the url is very long & the call is failing with error Url is too long (333 > 256)

If I create WI manually from Work Instruction Maintenance with the same url, its working fine.


Response Content:

- <ns2:StandardMessageFault xmlns="http://sap.com/xi/SAPGlobal/GDT" xmlns:ns2="http://sap.com/xi/ME">

<ns2:ErrorCode>12032</ns2:ErrorCode>

<ns2:ErrorMessage>Url is too long (333 > 256)</ns2:ErrorMessage>

</ns2:StandardMessageFault>

Has any one seen this? please advise.


ME Version: 6.0.4.1 Counter 10


Br,

Shridhar..

Accepted Solutions (0)

Answers (1)

Answers (1)

sergiy_katerinich
Active Contributor
0 Kudos

Hi Shridhar,

The database field accepts up to 1024 chars. So, please test in the latest version, and if the issue persists, you are welcome to submit a support ticket.

Regards,

Sergiy

former_member202208
Active Participant
0 Kudos

Hello Sergiy,

Its just the WorkInstruction webservice call failing.

If I create WI manually from Work Instruction Maintenance with the same url [333 chars long], it works.

Do you have some suggestions for me?


Thanks,


sergiy_katerinich
Active Contributor
0 Kudos

Then it is a bug that should be fixed - for this, we need you to submit a support ticket.

However, before that, you'd rather check if the issue persists in the latest patch because you are using quite an old one.

Regards,

Sergiy

former_member202208
Active Participant
0 Kudos

Hello Sergiy,

I tried it on ME 6.1.4.9 Counter 201403061828 and still get the same message Url is too long (328 > 256) (Message 12032)

I understand that MEINT to ME 6.1 integration is through Java API calls, What should be set in ' for Z_DOCMAS04.?

I could not find the value of it so i referred ME 6.0 and set Visiprise/ERPShopFloorIntegration/frame/workflow/MEWebService/ serviceUrl=manufacturing-services/WorkInstructionService;timeOutInSec=60 and tested.

Let me know if this is correct or we should be using java class, like java:com.sap.me.integration.ERPItemHandler.

Whats the name?. I tried with ERPWorkInstructionHandler and it failed.

Please advise.

Thanks,

sergiy_katerinich
Active Contributor
0 Kudos

Hi,

SAPMEINT project does not use Z_DOCMAS04 so I cannot advise you on this.

Work Instructions are imported as a part of Order import. Thus I doubt there is a separate ERPWorkInstructionHandler class.

Of cause, if using manufacturing-services/WorkInstructionService works for you, that's fine.

As concerns the error Message 12032, this is a bug that needs to be fixed.

Regards,

Sergiy

former_member202208
Active Participant
0 Kudos

Hi Sergiy,

Can you tell me to which node in Order IDOC is Workinstruction mapped?

Thanks,

Shridhar

0 Kudos

Dear Shridhar,

Please, chack SAP Note 1763332 - 'SAPMEINT 6.1 Field Mappings and supported IDocs' and attached to it file for details. There is 'Work Instruction' section on page 21.

Br, Alex.