ALE - error in custom  message type creation

HAI friends,
I am new to ALE IDOC, i am creating custom message type for custom table . i created segment, idoc, message type and executed  outbound program . in outbound client, status is dispatch ok. so problem in outbound.
my problem is in inbound . i created one function module idoc_input_zmsg. In test tool for idoc processing ie. TCODE WE19, i clicked my segment and then i clicked the inbound function module button . In function module text box my own function module idoc_input_zmsg is available. but when i click ok button, i am getting the following error.
"INTERFACE FOR FUNCTION IDOC_INPUT_ZMSG IS INCORRECT".
PLS HELP ME . THANKS IN ADVANCE.
WITH REGARDS,
SENTHIL KUMAR.R

All the IDOC processings FMs should have similar interface like this.
*"  IMPORTING
*"     VALUE(INPUT_METHOD) LIKE  BDWFAP_PAR-INPUTMETHD
*"     VALUE(MASS_PROCESSING) LIKE  BDWFAP_PAR-MASS_PROC
*"  EXPORTING
*"     VALUE(WORKFLOW_RESULT) LIKE  BDWFAP_PAR-RESULT
*"     VALUE(APPLICATION_VARIABLE) LIKE  BDWFAP_PAR-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
Check if you have different one. Even if the name of variables is not as above you may get the error message .
Cheers

Similar Messages

  • Problem to create change pointer for custom message type - Idoc creation

    Hi,
    We want to create IDOC and send it out when the data of "planning calendar" changes. So we are trying to generate change pointers whenever entries in Table T439I (Planniing calendar) data change.
    We created a message type, activated change pointers generally and maintained change relevant fields for message type (not sure if this step is done correctly). But not getting any change pointer in table BDCP2 when I create a new planning calendar in MD25.
    Can anybody help / guide?

    Thanks once again,
    I had linked idoc type and message type in we82. Now after i activate the change pointers. I try to generate the IDOC type using BD21. It gives me the error message :<b> "Message type ZP2PPROJ_MSG cannot be sent with change pointers"</b>
    whereas in my segments i am using all the master data only (i.e. PRPS, PROJ,PRHI). Please throw some light on this.
    Also please clarify, do i need to make an entry of this custome message type in the partner profile ?
    Rgds
    kewal.

  • Tcode to send custom data using custom message type in ALE

    I have ceated custom message type and i want to send data to say system B.I wanted to know Tcode to send custom data using custom message type in ALE.
      for example:
    material data...message type = matmas....tcode = BD10.
    like this.
      i hope you have got my question.
    plz guide me?
       regards
         mallikarjun mangalore

    Hi,
    Sending data through ALE is not a single-step process. Take a look at http://www.sapgenie.com/ale/. The paper at http://www.sapgenie.com/sapgenie/docs/ale_whitepaper.doc is a wonderful resource for the ALE process.
    Regards

  • Need Message Type Creation Steps for Different Scenarios

    Hi Friends,
    I have done following steps for Outbound IDoc [Extended IDoc]
    1. Create custom Message Type                           WE81
    2. Create custom Segments               WE31
    3. Create IDoc Extension               WE30
    4. Create IDoc Type [Basic+Extu2019n]          WE30
    5. Link Custom IDoc with Message Type          WE82
    6. Activate CP for Custom Message Type                     BD50
    7. Activate Change Pointers globally Flag on     BD61
    8. Maintain custom message type in CDM                     BD64
    9. Define partner profile for custom msgtype                    WE20
    After completion of the above steps.
    I am unable to do the following steps.
    10. Checking the IDoc Creation                          BD10
              or
    11. Execute CP IDoc generation Program     RBDMIDOC
    Here  these steps I am unable to find Message Type.
    If we create message type thru BD53 [std idoc] it will come.
    but my situation is for extended IDoc I need to create message type.
    If any one worked on this situation Help me out.
    Regards,
    Mutyapu4u.
    Edited by: naveen mutyapu on Jun 24, 2008 2:51 PM

    Hi,
    Check the link below:
    http://www.****************/Tutorials/ALE/ALEMainPage.htm
    Hope this helps..
    Regards,
    Sharath

  • Change pointer for custom message type

    Hi,
    I have a situation where in, i need to create a custom message type and need to track the changes in the table fields using the Change pointer technique.
    Can anybody guide me as to what are the step to be followed after i create the custom message type and how to register the fields of the message type ?
    Note : Change document (CDPOS) technique is ruled out in my requirement.
    Regards,
    Kewal.

    Thanks once again,
    I had linked idoc type and message type in we82. Now after i activate the change pointers. I try to generate the IDOC type using BD21. It gives me the error message :<b> "Message type ZP2PPROJ_MSG cannot be sent with change pointers"</b>
    whereas in my segments i am using all the master data only (i.e. PRPS, PROJ,PRHI). Please throw some light on this.
    Also please clarify, do i need to make an entry of this custome message type in the partner profile ?
    Rgds
    kewal.

  • Idoc serialization for custom message types

    Hello,
    We have a scenario where we need to serialize outbound messages where the message types are both custom and SAP standard. Can we serialize custom message types and how?

    Hi,
    you need to create a serialization group (in customizing) and assign all the IDocs (in specific order) to this group incl. your custom IDoc.
    When data is transfered first a SERDAT01 IDoc will be sent, after this your IDocs have to follow in specific order. At last again a SERDAT01 follows and triggers the processing in the destination system.
    Regards,
    Kai

  • Assigning filter criteria for custom message type.

    Hi everyone,
    In our requirement i have created a custom message type ZDEBMAS like debmas. now while creating a distribution model with this message type, i need to create a filter for this.
    only IDOCs of customers with Account group 0001, 0002 and 0012 has to be triggered. I'm able to create the filter with message type DEBMAS, but while i'm using message type ZDEBMAS i'm unable to create any filter. Can any help me in this.
    thanks in advance,
    Rajni

    Hi!
    Do you create filter with BD95 and  allocation with BD59 transactions?

  • Distribution model. Create filters for custom message type.

    Hello,
    I have created a model view, and added a new message type (copy of HRMD_A). I want to add filters, but the system does not allow it. Do you know if I can only add filters to a standard message type, and not to a custom one?
    Thank you,
    Elena.

    Thanks for your answer, but I think I didn't explain my question well.
    I have created a message type ZHRMD_A, and a basic type ZHRMD_A07 (both copies of HRMD_A and HRMD_A07)
    I am creating the distribution model, in transaction BD64.
       I created the model view.
       I inserted my messsage type.
    Now I want to add filters to the message type in the distribution model. When I add a standard message type, I can see under the message type the text 'No filter set'. Then I double click this text, and I can add filters. When I add the custom message type, I don't see this text, and I have no option to add filters. That's why I think I cannot add filters to a custom message type.

  • ALE distribution model - one message type to more than one recipient

    Hello colleagues,
    currently I'm working on an integration project between one SAP system and an e-shop system. The communication is established through IDOCs ( both inbound and outbound ). There is another system ( POS ) which is already integrated
    with SAP via IDOCs also.
       Now I'm facing the following problem regarding distribution of transactional IDOCs ( orders, deliveries, etc. ): when assigning one message type ( for example DESADV - Delivery: Shipping notification ) to more than one external system in ALE distribution model I receive a message alerting that one message type can be send to only one recipient.
    The distribution model is as follows:
    Model Views
       SAP to POS
          SAPDEV ( the SAP system )
             POS ( the external POS system )
                DESADV
       SAP to E-SHOP
          SAPDEV ( the SAP system )
             E-SHOP ( the external e-shop system )
                DESADV
       Well, the system message is clear and I did the obvious: create a complete copy to the original message type and than assign it to the E-SHOP system ( the original message type is already used in integration between SAP and POS ).
    As you can see I have found a workaround already but I think that it comes natural to SAP to communicate with other systems and to exchange same kind of documents to those systems and I can't believe that there isn't a standard solution for situation like this.
    FYI I'm working on SAP ECC 6.0
    Thanks in advance.
    Wish you nice day and successful week ,
    Vladimir

    I believe when ePrint server has received the email, it made the necessary settings and configured the job for printing and then it went for "Reply All" option. So here it cannot send the print job to your personal email ID and the error came up.
    The only option I can think of is add the printer email ID to your email contact list and give it a name like MyPrinter so you can remember easily , just like email contacts are added in Outlook.
    Mark this post as answered so that others can find it useful.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Problem with customized info type creation

    hi
    When i am creating customized info type using T-code PM01, i get error message like "package in non original system only modifiable with organizer tools".
    The above message is coming whenever save the infotype in either customized package or local package.
    As per my observation when i save the infotype, it default takes SAP package So i need to change that package.So how can i change the package in T-code PM01.
    Please tell me the solution to overcome the error.
    Thanks,
    Ali

    Hi,
    Since infotype attribute in table T582A is clent specific, so you should maintain the entries in the target client.
    Create the table entry of your infotype in the other client in view V_T582A (infotype attribute) or via t-code PM01 and click button 'infotype characteristics. Also you can transport CR from client to client via t-code SCC1 as well.
    Hope helps,
    Chen Jian

  • Problem in HR Custom Info Type Creation

    Hi,
    Created custom info type from PM01...
    Activated... This is working fine in the System and Client where I created.
    But its not working from other client..?
    I am getting error by saying that Info Type is not created... All the Structure and PAXXXX table got activated in both Clients.
    Earlier we faced same problem, at that time our team made some changes to info type and probelm resolved.
    I don't know where and what exactly we need to do...
    But,
    One of the problem I identified is,
    We are not getting T591A, T591S tables at Subtype Tab, Subtype text tab in INFOTYPE CHARACTERSTICS.
    I can enter these two from TECHNICAL ATTRIBUTES... but when I generate all aobjects from PM01, these two values getting deleted from INFOTYPE CHARACTERSTICS.
    (Above may be the reason)
    Please let me know if any solution for this.
    Thanks,
    Naveen Inuganti

    Hi Gautham,
    I deleted previous one, Created as your blog says. Still same problem.
    Venkat,
    Yes, you are correct. We need to release the Customizing request which contains Subtype , Subtype Text Tables with Info Type Entries.
    Problem with Info type Creation
    Thanks,
    Naveen.I

  • ZHRMD_A Custome message type issue with custom segments.

    Hi Experts,
    We have implemented ALE in HR system, we have all other ALE using HRMD_A and we have jobs scheduled for HRMD_A message type. We dont want this job should trigger our model and distribute the data. So we have reduced the HRMD_A messae type to ZHRMD_A for basic type HRMD_A06. Every thing fine. After upgrade of SAP FROM ECC6.O to EHP4, PFAL is not creating IDOC segements for custom segments Z*. for example Z1P0002....ETC, though there is personal data for PERNR.
    Please guid if you have come across such situation and solution.
    Thanks & Regards.
    Venkat.

    Hi Venkat,
    In the same way i too have one situation like...have different model view with same message types( and same extension type) for various countries from one sender system.
    Should i create reduced message type for each model view?
    Or can i use same message type HRMD_A for various model views?
    If i can use same message type and same extension type for various model views is there any restriction we need to write in USER EXIT  EXIT_SAPLRHA0_004?
    Regards,
    Lava.

  • Ale with user created message type

    Hello,
    I have a created a segment ,idoc and message type and done the assignment of Idoc with message type also.
    i have to send the material 800 to 810 client through ALE.
    By using the Standard Message type MATMAS i m getting the material on 810 client.
    But when i am using my message type ie ZMAT_MSG in tcode BD10 on client 800 to send the material it is saying error that message type does not exist.
    I am not getting the problem
    Or it is not possible to use your message type to send the material through Tcode BD10.You have to always use the standard message type MATMAS.
    If yes then how to use our own message type to transfer the data from client 800 to 810.
    Please reply .
    Manish

    Hi Vasu,
    Please try this.
    1. Create distribution model (BD64) for message type MATMAS_BAPI.
    2. Create inbound partner profile (WE20) for message type MATMAS_BAPI and IDoc type MATMAS_BAPI01 and process code BAPI.
    3. Create IDoc ports (WE21)
    4. Setup RFC destination (SM59).
    Hope this will help to start with.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Change pointers for custom message type

    Hi All,
      Please help me with questions.
    1. The requirement is to add two additional fields to CSCK table and then activate change pointers for COSMAS. My question is when I activate the change pointers for COSMAS will it send this two z fields when there is a change?
    2. I dont see a message type in BD50 for a standard IDOC Internal_order? Can I add that standard message type? How can I do this? WIll this create an IDOC when ever there is a change in data?
    Thanks.

    Hello Oscar,
    1. Which changes should be relevant for creation of COSMAS-IDoc, you have to define in BD52.
    2. You need to define INTERNAL_ORDER in WE20. In BD64 you add BAPI "InternalOrder.SaveReplica", filters can be added.
    Best Regards, Dirk

  • ABAP provider proxy error using Fault Message Type

    Hello experts,
    I'm using a provider ABAP proxy with a fault message type in the inbound service interface.
    In the ABAP code on the backend system, I need to fill a database table.
    in case the record exist --> fault + message back to SAP PI to be alerted.
    I do this with a RAISE EXCEPTION TYPE.
    I generated all necessary proxies.
    The error I got on the backend system (SXMB_MONI) is this:
    Application Error - Call Inbound Proxy
    SAP:Category>Application</SAP:Category>
      <SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="xxxxx">FMT_xxxxxx</SAP:ApplicationFaultMessage>
      <SAP:Stack>The application triggered an exception</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
    Can it be that I need to use something else instead of the RAISE EXCEPTION TYPE. to get something back to SAP PI?
    Now the error is logged in SXMB_MONI on the backend system.
    Please advice.
    Thanks a lot
    Dimitri

    Hi Dimitri,
    Check out these links -
    1. /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    2. http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm
    Regards,
    Sunil Chandra

Maybe you are looking for