ALE INBOUND Process Code

Hi,
      In ALE INBOUND Process Code Apart from the Function Module name, what are the important things to be filled up while creating that InBound process code in WE42. What is the importance of those? what is the importance of Object Attributes in that?

Hi Mahesh check this may be useful to  you
The inbound function module needs to be linked to the message type and the message type needs to be linked to the appropriate inbound process code at the partner profile level before the scenario is enabled. These steps are described below in detail.
Link Message Type to Function Module (WE57) Client independent
u2022 Enter transaction WE57 (ALE -> Extensions -> Inbound -> Allocate function module to logical message)
Define FM settings (BD51) Client independent
u2022 Enter transaction BD51 (ALE -> Extensions -> Inbound -> Define settings for input modules)
u2022 Click on New entries
u2022 Enter 0 for mass processing in the output column
u2022
Maintain process codes (WE42) Client dependent
A process code needs to be maintained on each client. It then needs to be linked to the message via the partner profiles on each client. This allows the various clients to use a unique function module for the same message type.
To maintain the process code follow these steps:
u2022 Log on to the appropriate receiving system client
u2022 Execute WE42 (ALE -> Extensions -> Inbound -> Maintaining process codes inbound)
u2022 Choose Inbound with ALE service
u2022 Choose Processing with function module
u2022 Click on Processing with function module and choose create icon
u2022 Click on New Entries
u2022 Type in process code XXXXXXX and give it a description and save
u2022 Now you are asked to Please maintain codes added in ALE entry methods, enter and choose XXXXXX and copy it. You should choose a FM similar to your one.
u2022 Enter your process code XXXX
u2022 Enter your function module XXXXXX
NOTE: The next 6 steps are used in workflow error handling.
u2022 Enter IDPKFIDCMT in object type
u2022 Enter MASSINPUTFINISHED in End event
u2022 Enter IDOCINVOIC in IDoc object type
u2022 Enter INPUTERROROCCURREDFI in IDoc start event
u2022 Enter INPUTFINISHEDFI in IDoc End event
u2022 Enter IDOCINVOIC in Application object type
You will need to determine the task associated with object XXXXXXXX, and then assign the appropriate position to it. This position will then receive the application error messages via workflow.
To set up the workflow area please consult the Workflow config guide.
Create inbound partner profile
For each message type you need to maintain the inbound partner profiles.
Maintain receiving system partner profile (WE20) Client dependent
To maintain inbound partner profiles read the document ALE configuration procedure:
u2022 Add the message type XXXXX with process code XXXX.
u2022 Enter the output mode (background, immediately) for inbound processing and NO message code.
Test
Once the inbound function module has been debugged the scenario should be ready to test in its entirety. If problems occur, read through the relevant areas of this document to check your configuration or code.
You can find all the inbound and outbound processcodes in we64.
Regards,
SMS.

Similar Messages

  • Need of Process code in ALE Inbound Processing?

    Hi All,
      What is the need of process code in ALE Inbound Processing? Why do we need to reach the function module through process code? we can as well directly point to function module.

    Hi Ravi,
    Please chcek this link perhaps it may help.
    http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b804043d711d1893e0000e8323c4f/frameset.htm
    Regards,
    Ferry Lianto

  • Error while creating inbound process code

    Hi gurus,Iam creating a custom idoc.
    800 -> sender
    810 -> Receiver
    i have completed outbound processing on 800.
    On 810, completed following steps for inbound processing.
    1.) I have added my Inbound FM in BD51.
    2 ) Assigned my FM to Message type and Idoc type in WE57.
    3 ) When adding my FM to process code in BD67, it is showing error that
    “Entry ZSATPC does not exist in TEDE2 - check your entry”.
    { zsatpc is my custom process code }.
    4) While Creating Process Code in WE42 with options [processing with ale service / Processing
    by FM] and saving it is giving error that
    " " is not a valid language.
    And when I saw help (?) regarding this error, the following text appeared in a window.
    Diagnosis
    A key with language "" "" was specified for table "EDE2T". This is not a valid language.
    This applies to field "LANGUA"
    System Response
    The system rejects the key.
    Procedure
    Enter a valid language. This is usually the language you logged on in.
    You logged on in language "EN".
    Table T002 contains a list of valid languages.
    Please solve this error. Give me steps to create inbound process code.
    thanx in advance. Hoping replies soon........
    Satish.

    Dear Satish,
    Very peculiar. The language should come from your log on language. Try to login into the system again. Call we42 again and see if it works.
    Regards, Rakesh

  • Inbound Process Code for ARTMAS

    Hello,
    Can any body help me which Inbound Process Code I need to use for Message type ARTMAS.
    When I used process code AFSA, Idoc created with status 51 and it says Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT
    We are using SAP Retail 4.6C version
    Thanks in Advance,
    Regards,
    Murali

    Hello,
    Let me explain the Issue again,
    I have two system, One is pre production and other one is Quality system. Both are SAP Retail systems
    Article Master data is maintained in Pre Production, now we are trying to get this to Quality system.
    I have made the follwoing settings in
    Pre production: (Sender)
    1. WE20 Maintained Partner Profile (LS)
    2. BD64 Maintained ALE setting (ARTMAS is defined as a
          BAPI: RetailMaterial.Clone)
    Quality: (Receiver)
    1. WE20 Maintained Partner Profile (LS)
    2. I have tried the Process code AFSA, MATA, MAT2 in the Inbound permeate, however Idoc is still in Status 51.
    In the Sender system Idoc is created and the status is 03
    In the Receiving system Idoc is created and the Status is 51.
    Error says Function module not allowed and the application object type which were determined are not valid for this IDoc I have tried with Process code AFSA, MATA, MAT2 however I have same problem.
    Please help me which functional module I need to use for creating Article in SAP Retail system.
    Regards,
    Murali

  • Inbound Process Codes for LOIWCS and LOIROU

    We are trying do ALE for  Workcenters and Routings using tcode: POIM.
    What are the inbound process codes that i need to setup in the partner profile?
    Thanks for the help.
    Gopi.

    Hi John,
    thank you very much.
    1. I created a new program which use program ROUTING_CREATE_SAMPLE_FILE to create a idoc.
    *& Report  ZALEROUTE
    REPORT ZALEROUTE.
    DATA: seltab    TYPE RANGE OF i,
               rspar     TYPE TABLE OF rsparams.
    SELECTION-SCREEN BEGIN OF BLOCK selection WITH FRAME TITLE text-001.
       PARAMETERS: receiver LIKE tbdlst-logsys.
       rspar = VALUE #(
            ( selname = 'RECEIVER'
              kind = 'S'
              sign = 'E'
              option = 'BT'
              low  = receiver ) ).
       SELECTION-SCREEN END OF   BLOCK selection.
       submit ROUTING_CREATE_SAMPLE_FILE VIA SELECTION-SCREEN with SELECTION-TABLE rspar.
    2. In BD64 I created BAPI Object ROUTING Method Create
    3. In BD64 I created Partner agreement via Enviroment
    4. In WE42 I assigned message type routing_create to process code BAPI
    Kind regards,
    Herbert

  • Interface for function module is incorrect in ALE inbound processing

    I have created a custom function module and i assign this FM
    to the custom process code for ALE INBOUND process and  i already assigned this Fm to message type and basictype in Tcode we57.i have assigned this process code to the msgtype in WE20 also.
    But while trying to execute the inbound function module through WE19, I get an error message: "interface for the function module is incorrect". What could be wrong?

    Hi
    if you ibserve clearly all the FM's will be having same parameters. Your function module also should contain same interface. Ensure that your FM does contain the same.
    *"  IMPORTING
    *"     VALUE(INPUT_METHOD) LIKE  BDWFAP_PAR-INPUTMETHD
    *"     VALUE(MASS_PROCESSING) LIKE  BDWFAP_PAR-MASS_PROC
    *"  EXPORTING
    *"     VALUE(WORKFLOW_RESULT) LIKE  BDWF_PARAM-RESULT
    *"     VALUE(APPLICATION_VARIABLE) LIKE  BDWF_PARAM-APPL_VAR
    *"     VALUE(IN_UPDATE_TASK) LIKE  BDWFAP_PAR-UPDATETASK
    *"     VALUE(CALL_TRANSACTION_DONE) LIKE  BDWFAP_PAR-CALLTRANS
    *"  TABLES
    *"      IDOC_CONTRL STRUCTURE  EDIDC
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_STATUS STRUCTURE  BDIDOCSTAT
    *"      RETURN_VARIABLES STRUCTURE  BDWFRETVAR
    *"      SERIALIZATION_INFO STRUCTURE  BDI_SER
    *"  EXCEPTIONS
    *"      WRONG_FUNCTION_CALLED

  • IDOC DEBMDM and inbound process code

    Hi ya.
    Do you know if there is a standard inbound process code for IDOC DEBMDM in R3?
    Regards
    Agnieszka

    I can not make it working at the moment. I am getting message: IDOC_INPUT_DEBITOR_MDM called up.
    I can not find an error in my config at the moment.
    Function module IDOC_INPUT_DEBITOR_MDM is assigned to message type DEBMDM and IDOC DEBMDM06.
    Any clues ?

  • Inbound process code for LOIPRO

    Hi,
    Can anyone tell me the inbound process code used for LOIPRO(Production Order)message type?
    Regards,
    Jeyananth

    Hi,
    Inbound process code used for LOIPRO(Production Order)message type are
    ABI_AIDN_IN
    ED00
    ED00_XML
    ED08

  • IDOC: LOIPRO, inbound Process Code?

    Hello everyone,
    I'm trying to create a Production Order using IDOC: LOIPRO. I'm in the process of configuring the Partner Profile and I need to define the inbound Process Code for message type: LOIPRO. Does anyone know which Process Code to use for that message type?
    Warm regards,
    Glenn

    Hi Glenn,
    Message Type: LOIPRO
    Receiver Port: The one created in step u201CDefining a Logical Portu201D
    Basic Type: LOIPRO01
    if want to more about it pls do chk this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/201769e0-3174-2910-e287-baa58d198246
    if found wort pls do te req
    Thanx
    Sampath

  • Custom Inbound Process Code

    Hi all,
    i have created a custom inbound process code in transaction we42. I am trying to assign a function module related to the process code.
    However, i could not find my function module in the drop down list. My function module has already been activated.
    Appreciate any advice.

    I realize we need to create a new entry in transaction BD51 before we can use it.

  • How to process inbound process code by populating its value

    hi friends,
    we have created a inbound process code for ticket creation and actualisation, for process an inbound idoc and we need to test by populating values to it
    As i am a newbie to IDOC processing please help me in this regards by giving step by step
    thanks in advance
    S.Janagar

    answered

  • Question regarding Inbound process codes

    When I look into WE64 (inbound process codes), I can see that some messages have only the following process codes:
    - ABI_AIDN_IN
    - ED00
    - ED00_XML
    - ED08
    Can someone please tell me exactly what each of these process codes does?  I can find very little information (and none of it helpful) about these process codes.
    <b><REMOVED BY MODERATOR></b>
    Thanks
    Terri
    Message was edited by:
            Alvaro Tejada Galindo

    Anji - thanks for your reply.
    I've looked in WE42, and can see the entries.  This still does not give me any additional information about how these process codes work.  For example, I know that TXT1 is a process code tied to a workflow task that will process a TXTRAW01/02 idoc.  The TXT1 process code is tied only to that IDOC.  However, the process codes listed in  my original message are tied to all inbound idocs.
    Hence my original question, what exactly do these process codes do?
    Thanks,
    Terri

  • Add new inbound process code we42

    i am using we42 to add process code mbgm post goods movements identification appl_idoc_inputi for processing with ale service for processing by function mode
    i am getting choose the key from the allowed namespace next to the process code.
    I think i read that in transaction sm31 i need to look at table v_tbd51 so i did
    i see function module appl_idoc_inputi
    now what do i do?
    the bottom line is when i go in bd87 i get function module not allowed so i am trying to correct this by adding a process code for mbgm

    when i go into bd87 i see idoc 631763
    idoc in inbound processing
    application document not posted
    mbgmcr
    function module not allowed APPL_IDOC_INPUTI
    when i go into we02 is see control rec idoc 631763 message MBGMCR02 i see several data records(6 segments)
    when i go to performance assistant is says the following
    1. Please check that the process code in the inbound partner profile is correct.
    2. If this is the case, you should check the ALE inbound methods ALE inbound methods for the process code and see whether the specified function module and application object type are correct.
    so i am trying to add to the message mbgmcr02 the process code mbgm
    am i thinking correctly
    how do i do this

  • [HELP] ALE inbound process and Workflow handling problem

    Hello,
    first of all, i have to apologize about my english level. I will try to explain my problem (thanks for your patience ).
    Well, I'm implementing an ALE inbound interface. My development at this point are:
    - Customer Idoc Inbound function (with correct interface).
    - Customer Basic Type
    - Customer Message Type and correct assignment to the Basic Type (Tx WE81 and WE82)
    - Customer Object Type (Subtype of IDOCAPPL)
    - On BD51 I put "1" for my function.
    - On WE57 I put this:
    Processing by --> My function and type "F"
    IDOC type --> My Basic type (without any extension)
    Message --> My message type (without any message code or msg. function)
    Object --> My object type (subtype of IDOCAPPL)
    Direction --> "2" (Inbound)
    - I created a process code for this interface (on WE42):
    It is processed with ALE service and by a function module (my function).
    On "Module(Inboud)" part I put my function and maximun number of repeats "0". On IDOC part I put my Object type with start event "INPUTERROROCURRED" and end event "INPUTFINISHED".
    On application objet I put my Object type.
    Rests of fields are blank.
    - I defined a partner (WE20) with this new message type and process code.
    - Also I created a Task (PFTC) for handle exceptions in inbound process. It has a rule for agent determinate.
    I think it is all.
    My problem is: when I process an IDOC (from WE19 for example) and it gets 51 status (error), it has to launch an event that trigger my task, is this way? Well I'm not getting any event.
    I have all Workflow customizations OK (in this systems are running some Workflows).
    In my function code, when I detect any error I put an error in the status table and put in WORKFLOW_RESULT the number '99999'.
    Why I'm not getting any event? What I'm doing wrong?
    Thanks in advance. Regards.

    Hello again,
    finally I've solved the problem. The solution for me, was a config on tx. WE42 and some missing code in the function, I only fill WORKFLOW_RESULT with '9999', but I didn't add any register to RETURN_VARIABLES table.
    Regards.

  • Inbound process codes

    Hi
    I'm trying to post inbound idocs to ztables. For this I have created a custom FM z_idoc_input_delvry and assigned it a custom process code. I would like to know what are the values for the ALE table fields in WE42 like Application-object type, start event,etc.
    Thanks,
    A.P.

    Hi A.P,
    The IDoc tab section is used to setup methods and events for error processing of IDocs of a specific message type.
    For example, message type INVCON will use object type IDOCINVCON.
    Please check this link for more information on inbound processing with object methods including error handling.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    Hope this will help.
    Regards,
    Ferry Lianto

Maybe you are looking for

  • Component BI_CONT: SP level 0001 is incorrect, expected 6

    Hello! I faced with problem after installed  the Solution Manager 7.01 (with SP26) In step INSTALLATION CHECK on the Diagnostics Prerequisites I get status "Activity Error" with explanation Component BI_CONT: SP level 0001 is incorrect, expected 6 Ma

  • Need to select and move images across multiple pages...

    Hi, I am using Indesign CS2 on a Windows machine and have a 25 page document with 4-up photos (4"X6") on individual pages. I used the ImageCatalog javascript to load these images so I don't seem to have any control from the Master page. I would like

  • How to ignore a node while reading data from XML file

    Hi All, I have a XML file that i am reading that XML file using XMLStreamReader and then i need to create another XML file that has specific nodes(from the database). I need to ignore nodes(with values) that are not in the database and while creating

  • How to prepare for SMLT: repost of post from the blogs

    In a post here: <a href="/people/david.halitsky/blog/2006/11/08/was-dem-einen-recht-ist-ist-dem-anderen-billig and a series of posts here: <b><font color=blue> <a href="/people/david.halitsky/blog/2006/11/16/the-diachronic-metadata-repository-dmdr-as

  • Adobe DPS Folio and Content Viewer Query

    Hello, I am currently creating folios using the Foilo Overlays and Folio Builder and then previewing them on the Content Viewer on the iPad. My question is after the 1st May will I still have the ability to do this? I don't create app just preview th