‎2007 Jul 12 2:06 PM
I got success code(12) at outbound while sending a material.
Im getting the following error at inbound when bd87 is used.
Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT
How to rectify. Is it related to process code ?
‎2007 Jul 12 2:15 PM
Hi Rishi,,
Idocs current status.. you wish to change.
Goto
SE38 ABAP editor
Pgm RC1_IDOC_SET_STATUS
click execute
IDOC entry and status change screen:
Selection entered:
click execute
and remove the test check if you want it to process. .. the check will run a report with the number effected.. if you want to process.
and the report below is diaplayed
ALL orders status 51 idocs have been changed to 68
NOTE:
leave the message type BLANK if you want to use the IDOC number for selection
<b>Reward pts if found usefull :)</b>
Regards
Sathish
‎2007 Jul 12 2:12 PM
Hi,
Try the following link for all the info on ALE:
would advice you to check the setup for processing Inbound Idoc using FM step by step:
1) link between message type and basic type: WE82
2) create process codes: WE42
3) now link process codes to direction of delivery inbox or outbox with messege type: WE64.
4) make an entry of your FM in: BD51
5) now link between FM, Basic TYpe, Messg.Type: WE57.
6) create port: WE21
7) create partner profile: WE20
partner no.: SAP_XXX
partn.type: LS
Under Post processing:
type: US
agent: name of agent
lang.: EN
outbound partrs.
message type:---
Inbound partnrs.
message type:ZXXXXXXXXX
under Classification:
partner class: ALE
partn.status: A
Message type: ZXXXXXXXXX
Regads
‎2007 Jul 12 2:12 PM
Try this,
Select status 51 and double click on notepad icon which is next to status 51.
And click application log. You will see brief error status.
-
if it's 51 - IDOC failed.
You can try to re-rpocess these IDOCs via BD87, if they fail again - check SM58 and then check corresponding partner connection.
-
if the status is 51 then check for the values you are passing to idoc. check in converted data and also you can see the values being populated in the idoc segment in we19. I assuming all your partner profile settings and other ale settings are proper.
try reprocessing the idoc using bd87.
-
One suggestion is that when you double click on thta message it gives the message number then go to se91 and give these details and go inside.
get where used from this message then you cna track where exactly this error is coming.Better way is to reprocess the idoc and then check.
-
check your "test data" . Also go through "bd87" transaction and try to process the IDOC with the idoc number . Also check settings in we20 for partner profile.
Idoc should be in "background process" rather then "Trigger immediately"
-
Best way is to search with the error message number.
or better is to process the idoc in WE19 and put break points in your FM and check.
You can't see it directly by any other method.
-
<b>reward points if usefull.</b>
Regards.....
ABhay.
‎2007 Jul 12 2:15 PM
Hi Rishi,,
Idocs current status.. you wish to change.
Goto
SE38 ABAP editor
Pgm RC1_IDOC_SET_STATUS
click execute
IDOC entry and status change screen:
Selection entered:
click execute
and remove the test check if you want it to process. .. the check will run a report with the number effected.. if you want to process.
and the report below is diaplayed
ALL orders status 51 idocs have been changed to 68
NOTE:
leave the message type BLANK if you want to use the IDOC number for selection
<b>Reward pts if found usefull :)</b>
Regards
Sathish
‎2007 Jul 12 2:39 PM
hi Sathish ,
Many thanks. But this FM has forcibly changed to success and populated on inbound. Is it the right approach that is encouraged always?!