Custom idoc [ related to function module]

HI ALL,
sorry for repeating the question
i had an requirement to create a custom idoc for catsdb table with 4 fields
1. pernr
2. workdate
3. lstar ......
and to transfer it from one application server to another.i had created it n transfered it to another application server. now my problem is in receiver side the data in idoc is not posted into database of catsdb [ at receiver side].
can any one give the code for Custom function module at receiver side so that when idoc is received [from sender] it must be updated to databse tables via this FM.
its very urgent . help me ........................
any suggestions are highly appreciated.
with regards,
Suresh Aluri.

Hi Suresh,
In the receiver system you have to :
1. Create a process code and link with message type using WE42
2. Create an inbound function module using SE37.
    For example: BAPI_IDOC_INPUT1
3. Link function module with basic type and message type using WE57
Regards,
Hendy

Similar Messages

  • Customer : Exception 7 in function module VIEW_KUxxV

    Hi,
    While Billing facing this problem
    00 Customer : Exception 7 in function module VIEW_KUxxV
    10 The bill-to party could not be determined
    10 The payer could not be determined
    tx in advance
    Bhushan Kolte

    Hello Colleague;
    Please check the account group assignment to the partner functions in   
    transaction VOPA click on partner function button then environment      
    then Account group assignment. Please ensure that this is all configured
    correctly for the partners.                                                                               
    Please also review the note                                    
    -> 80233   Debit-side settlement: Customizing, error messages                                                                               
    In particular the section:                                              
    VF083: 'Customer &: Exception & in function module VIEW_KUAGV'                                                                               
    The error message is generated because of a program error that          
    has since been corrected. The correct error message is VP304,           
    'Customer belongs to customer group & and thus cannot be the            
    sold-to party'.                                                                               
    The partner roles in the customer master are incorrectly set, see       
    below.                                                                               
    Recommendation: Assign the customer an account group which              
    already fulfills these criteria. (In the standard system, this is       
    Account group '0001).                                                                               
    I hope this helps resolve the error.
    Regards
    Ruy Castro

  • RE:Idoc type and function module

    HI All
    What are the generic IDoc types and function modules used for the following objects ??We are on SAP R/3 4.7.
    Invoice Release (inbound)
    Payments (outbound)
    Purchase Orders (outbound)
    Goods Receipts (outbound)
    Cost Centers (outbound)
    GL Codes (outbound)
    Internal Orders (outbound)
    WBS (outbound)
    Materials (outbound)
    Invoices (inbound)
    Invoices Blocked (outbbound)
    And How do i judge which IDOC types and function module fit my requirement( I mean what are the things i have to keep in mind while choosing idoc types and function modules)?
    Any help will be very much appreciated
    Thank you
    Steve

    Hi Steve...
    You can find the IDOC types in Tcode WE30 , WE60.
    Invoice Release (inbound)
      INVOIC03
    Payments (outbound)
    Purchase Orders (outbound)
      ORDERS03
    Goods Receipts (outbound)
      ACC_GOODS_MOVEMENT02
    Cost Centers (outbound)
    GL Codes (outbound)
    Internal Orders (outbound)
    WBS (outbound)
    Materials (outbound)
      MATMAS04
    Invoices (inbound)
      ACC_INVOICE_RECEIPT03
    Invoices Blocked (outbbound)
    <b>REWARD IF HELPFUL.</b>

  • Fill structure of IDoc via a function module

    Hi all,
    I have a special requirement that an IDoc has to be filled over a function module and then is sent. The IDoc is PROACT01.
    So I'm looking more or less for a function module which does the same as you can do in transaction we19 (IDoc test tool). You should be able to fill the interface of the IDoc. Do you know if there are some standard function modules to do that?
    Thanks for any hints
    Regards
    Berthold

    Try this for starters - VMI_MASTERIDOC_CREATE_PROACT.  You could incorporate this into your custom program if you need to control the output of the IDoc data.

  • IDOC inbound processing ( Function module Rquired )

    Hi,
    I am working on IDOC inbound, I am looking for a standard FM for Production order confirmation which i need to assign in WE57 along with the standard Message type(Production order confirmation).
    Could you please let me know where i can get the standard inbound function modules for the standard idoc types,
    for eg: IDOC_INPUT_ORDERS for sales order.
    Thanks.
    Krishnakumar

    Hi,
    Go to WE42 for inbound processing codes and WE41 for outbound.
    OR
    We  have WE19 which is a test tool for IDOC processing.
    Provide the IDOC number  then press F8, then in the next screen , you will have inbound function module.
    Click that  button. Then enter the text in search criteria.
    Then you can get related function module.
    Reward points if helpful.
    Thanks and Regards

  • Unable to generate IDOCS using IDOC_INPUT_ORDERS Function Module

    Hi,
    I have written a program to post IDOCS using function module IDOC_INPUT_ORDERS .
    In the debugging mode,I found that after the call of this function-module,sy-subrc is set to zero which means that this function-module is getting successfully executed.
    But when I go to WE02 transaction code , i do not see any IDOCS being generated for IDOC Type ORDERS05 .
    Please could someone help me out with this .
    Regards,
    Sushanth H.S.

    hi
    check your ALE configuration:
    go thru the links:
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappoint.com/presentation.html
    http://www.allsaplinks.com/idoc_search.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.erpgenie.com/sapedi/idoc_abap.htm
    reward points for useful ans
    Regards
    Aarti

  • IDOC types by Function Module

    Hello,
    I would like to find the IDOC types available by function module.  For example, all idoc types for Production Planning module.  Is there an easy way to get that info?
    Thanks

    Hi,
    Go to Repository Browser (SE80) -> select Appliction Hierarchy and filter it down by Function Modules. you can now go to individual functional area (SD, MM , PP, etc) and drill down EDI objects hierarchy. You can very well judge the IDOC types based on IDOC Processing function modules.
    Hope this will help...
    regards,
    PB

  • IDOC from inbound function module

    Hi All,
    I have a inbound function module..
    I dont know its Idoc type.
    Ho to find the IDOC based on Inbound Function module
    Thanks
    Amruta

    Hi Amruta
    Inbound Function Moduel always in the format of IDOC_INPUT_XXXXXXX
    xxxxxx is the your Message type...
    Based on you message type u can get you idoc type....
    if function moduel is Standard one ...
    Thanks
    Ram

  • IDOC error 51- Function module not allowed:

    Hi,
    I am getting following error in IDOC inbouond.I verifyed all parameters mentioned in error.
    Issue still not resolved.
    When debugged from WE19 this issue dosnt arise.
    Kindly guide.
    Function module not allowed: ZIDOC_INPUT_MATCLASS
    Message no. B1252
    Diagnosis
    The function module ZIDOC_INPUT_MATCLASS and the application object type BUS1001 which were determined are not valid for this IDoc.
    Procedure
    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.
    3. If this is also the case, then the function module and the application object type are not permitted for the logical message type, message variant, message function and basis type that are contained in the IDoc control record. You should check whether the correct values have been assigned to these fields in the control record. If they do have the correct values, then the assignment to the function module and the application object type needs to be maintained.

    Hi,
    Check in WE42, for the process code, you have assigned this function module and given the correct process code in the partner profile.
    Sujay

  • Idoc error 51 - "Function module not allowed - APPL_IDOC_INPUT1'

    Hello everyone,
    We are uploading GL balances from legacy to SAP using the LSMW Bapi
    object - bus6035
    method - post
    message type - ACC_DOCUMENT
    Basic type - ACC_DOCUMENT03
    When we run the lsmw, idoc is created, however with an error 51 saying
    "Function module not allowed - APPL_IDOC_INPUT1'
    The partner no. is the logical system (the system on which the lsmw is executed)
    In the partner profile, we have defined this as LS. In the inbound parameters, we have defined message type = ACC_DOCUMENT, the process code is APL1 and the corresponding function module is - APPL_IDOC_INPUT1
    Please let me know if we are missing something or doing anything wrong ?
    Since the data in the LSMW will be read frmo a file on the presentation server, do we need to have a port configuration for the same ?
    Thanks,
    Sushil Joshi`

    Hello Sushil
    The long text of message B1(252) is quite informative for error analysis:
    NA B1252
    Short Text
         Function module not allowed: &
    Diagnosis
         The function module  and the application object type  which were
         determined are not valid for this IDoc.
    Procedure
         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.
         3.  If this is also the case, then the function module and the
             application object type are not permitted for the logical message
             type, message variant, message function and basis type that are
             contained in the IDoc control record. You should check whether the
             correct values have been assigned to these fields in the control
             record. If they do have the correct values, then the assignment to
             the function module and the application object type needs to be
             maintained.
    On ECC 6.0 this long text contains 3 transactions for analysis:
    - WE20
    - BD67
    - WE57
    Regards
      Uwe

  • CUSTOMER PARTNER INTERCHANGE, BAPI, FUNCTION MODULE or LSMW ??

    Hi Guys,
    I have a requirement to replace a partner with a new partner for a customer.
    Input for the same requirement is, below mentioned data in the format of a file.
    1. Customer No.
    2. Sales Organisation.
    3. Division.
    4. Distribution Channel.
    5. Partner Function to be deleted.
    6. Partner Number to be deleted.
    7. Partner Function to be added.
    8. Partner Number to be added.
    If anyone can suggest anything, Please let me know which one will be best to do this. BAPI, Function Module or LSMW.
    Let me know ASAP.
    Regards,
    Mayank.

    use bdc to tcode vap2
    A.

  • Calling custom screen inside a function module

    This is regarding calling a screen as a pop up from a function module.How do I capture the values that would be entered in the fields of that pop up screen?Do I use ABAP memory or SAP memory or is there any other alternative?Please suggest.

    Hi savitha,
    When you create the Custom Screen, you can attach that custom screen to the main program of the function module itslef.
    The TOP Include variables can be used as screen fields and hence you don't need to store the data entered in the screen, anywhere else.
    The data will be readily available in the global variables itself in the whole function group..
    Thanks and Regards,
    Kunjal Patel

  • IDOC OUTBOUND NAMING FUNCTION MODULE

    Is there any way to debug the function module that is called to name the outbound idoc through the file port?
    Ross Goodman

    Hi
    are   you not able to reach by  applying break point. Try checking the option system debugging and uodate debugging and then Try
    Naresh

  • How to create customer By using SD_CUSTOMER_MAINTAIN_ALL function module

    Hello all,
    I want to create customer By passing( T_CUST_HIER_IP - customer no, account group, company code, distribution channel, division, name1, search team, city, country).
    using BAPI or function module I am using SD_CUSTOMER_MAINTAIN_ALL
    LOOP AT T_CUST_HIER_IP INTO W_CUST_HIER_IP.
        MOVE-CORRESPONDING W_CUST_HIER_IP TO W_KNA1.
        MOVE-CORRESPONDING W_CUST_HIER_IP TO W_KNB1.
        MOVE-CORRESPONDING W_CUST_HIER_IP TO W_KNVV.
      CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
       EXPORTING
         I_KNA1                              = W_KNA1
         I_KNB1                              = W_KNB1
         I_KNVV                              = W_KNVV.
    ENDLOOP
    But it gives error SALES_AREA_NOT_VALID.

    Hi,
       Check in TVKO and TVTA  master tables, for Sales Area (Sales OrganizationDistribution ChannelDivision) is vaild or not..
       If no entreis availble , it will raise the exception SALES_AREA_NOT_VALID.
    -somesh
    reward points if it is helpful

  • Procedure for Mapping two types of Idocs from RFC function Module

    Hi
    My Scenario is RFC -- XI -- IDOC
    Here i have 2 custom Idocs
    First IDOC for Creation
    second is for Deletion/Changing
    Based on the condition from RFC it should trigger either one of the IDOC above.
    Please provide me the procedure to do in IR and ID..
    Regards,
    Yeswanth.

    YeswanthRaj:
    I found your conflicted statements
    The following statement you say you just have one receiver, to receive two IDOCs
    But i have only one receiver where the 2 IDOcs needs to be send based on the condition..
    The following statements showing that you have more than one receiver,
    the condition editor for receiver determination usually used for multiple receivers based on XPATH or Context Object condition
    It is mapped based on the condition that is given in Receiver Determination and i has two interface Determinations.
    It seems that the first scenario is your situation.
    If your answer is yes, and your source interface is just one,and target interface is two (two IDOC), then this should be typical
    muti-mapping scenario, and the propose I gave to you should fit
    Regards.
    Liang

Maybe you are looking for