How to assign own Process code to a function module

Hi,
  In we42.
  How to assign own Process code to a inbound idoc
function module?
  Here function module name is not coming in the list.
Ansar.

Hi,
USe transactn: WE42, define ur process code, double click and assign func module...
To know all the transactions for ALE IDOC.. use
WEDI.. Goto SAP easy screen there just type WEDI in command box and enter.
Plz mark if useful..
Regards
Divaakr

Similar Messages

  • Assigning of process code to function module

    hi all,
    please let me know where to go for assigning teh process code to function module. i am unable to get the function module from the process code(we42).  please let me know
    thank you
    chan

    In WE42 itself we can assign the process code to a FM.
    select new entries.
    Enter a process code name & description.
    Enter Ur FM in Identification Field.
    Now select Processing by Function module in Processing type.
    Save it.
    For outbound do the same thing in WE41 tcode

  • How to Assigning the company code to the billing units from ecc to crm

    Hi,
    Iam doing the roll out project , i require the help.
    can any one suggest me how to assign the company code to the billing units from ecc to crm.
    Thanks
    Mustafa

    Hi Mustafa
    You can load this data from R/3 to CRM by going to transaction R3AS in your CRM system, and using load objects EQUIPMENT, MATERIAL, and CUSTOMER_MAIN.
    Best Regards
    Gavin

  • How to code a predifined function module in sap ,in se37.

    can any one tell me how to code a predifined function module in sap ,in se37.it's an immediate requirement.if u give a brief description it'll do.

    Hi Henry,
    There are two possible ways in which I can interpret your question.
    1. You want to create a new Function Module in SE37. you will have to refer to the <a href="http://help.sap.com/saphelp_47x200/helpdata/en/d1/801e9a454211d189710000e8322d00/frameset.htm">Function Builder</a> tutorial for that.
    2. You want to use an existing function module in your program. In the code of your program in SE38, click the button <i>Pattern</i>. On the pop-up, give the name of the function module that you wish to use in your program.
    Regards,
    Anand Mandalika.

  • How to create a transaction code for a function group with screen 100 as st

    Hello ,
    I have requirement where I need to create a function group and create screen 100, 200, 300 and include the function in the screens.
    Customer asked me to create a transaction with the screen 100 as the starting screen.
    Can you please let me know how to create a transaction code for a function group with screen 100 as starting screen.
    [ It is not a module pool program ].
    Thanks
    Prashanth.
    Moderator message - Please ask a specific question and do not ask the forum to do your work for you - post locked
    Edited by: Rob Burbank on Jun 2, 2009 11:49 AM

    Go to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
    Name of screen field:                               Value
    D_SREPOVARI-REPORTTYPE                RW
    D_SREPOVARI-REPORT                        ZPCA
    Save and transport accordingly.

  • How to insert a code for a function module into a Customer Exit Variable?

    I have two Key Figures viz., Net Prchs Rtl, and Net Prchs Unt. Both these Key figures have This Week (TW) and Last Week (LW). There is a variable for This week but there is no variable defined for Last week.
    I need to get data in the column LW (Last Week) for both the key figures.
    In function module EXIT_SAPLRRS0_001 one of the functions I have is:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    I need to create a new variable to get values in the Last week column for different key figures and use function “'DATE_TO_PERIOD_CONVERT'” in that variable.
    Can anyone please explain me the steps as to how to use a function module in a variable so that when the variable is used in a key figure it shows the output.
    In other words what I want to know is after creating a Customer exit variable of type Characteristic value how do I refer the above mentioned function moduel and insert the code for the function module into the Customer exit variable that I created.
    Thank you.
    TR.

    Hi Wond,
    Thanks a lot for your reply. I understand what you mean but I have never done this before so can you please explain it in a detailed manner. I have the following code:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
                EXPORTING
                  i_date         = ld_date
                  i_periv        = lc_periv
                IMPORTING
                  e_buper        = ln_poper
                  e_gjahr        = ln_bdatj
                EXCEPTIONS
                  input_false    = 1
                  t009_notfound  = 2
                  t009b_notfound = 3
                  OTHERS         = 4.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ELSE.
                lc_poper = ln_poper.
                CONCATENATE ln_bdatj lc_poper+1(2) INTO wa_e_t_range-low.
                wa_e_t_range-sign = 'I'.
                wa_e_t_range-opt = 'EQ'.
                APPEND wa_e_t_range TO e_t_range.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
    I believe I should now use the above code in my customer exit variable. If that's right can you please explain me the steps as to how should I do this so that the variable gets populated.
    Thank you.
    Regards,
    TR.

  • Process Chain Review Question: function module/ABAP program/Event

    Hi,
    1. Can you tell me a bit more about function modules such as RSPC_CHAIN_ACTIVATE_REMOTE
    2. What are function modules in general terms. i.e.  What is their role?
    3. How do I see all function module available?
    4. When is function module used instead of ABAP program?
    5. How do they help in the support and monitoring of Process Chains?
    6. I am getting confused over the following under process chains “job”, “event”, “function module” and “ABAP Program”
    Thanks

    2. What are function modules in general terms. i.e. What is their role?
    Function module return a value ( most of the time), they return some value either a single value of rane of value or even a table. Example: FM to return fiscal period gieven the fiscal vaeiant and system date.
    3. How do I see all function module available?
    Go to Se37 and this is function builder. You will find FM starting with RS* more useful. You cna also create your own in Se37.
    4. When is function module used instead of ABAP program?
    In addtion to answer I gave in 3 above, program is used to check some logic and update some tables or give screen output.
    You may note FM is also a program.
    5. How do they help in the support and monitoring of Process Chains?
    As I said, for monitoring chains, use Sm37  and logs in RSPC.
    6. I am getting confused over the following under process chains “job”, “event”, “function module” and “ABAP Program”
    I am not clear what are you looking for.
    You cna schedule a FM or a program to run in a chain. Is that what you mean?
    Ravi Thothadri

  • How to refer to the class in regular functional module

    Hi ABAP guru's
    I wish to get details of GET_REQUID parameter of method IF_RSBK_REQUEST_GENERAL that is available in
    class CL_RSBK_REQUEST.
    I am writing a ABAP function module and I wish to use this class in that function
    module. Can someone help to write this code on how to read value of GET_REQUID in my function module?
    Thanks for your help in advance
    Ag

    Hi Allgon,
    welcome to the SAP Community Network. I hope you become a valuable member by contributing regularly.
    You need to appreciate a few things.
    Firstly read Welcome and Rules of Engagement.
    It includes the following suggestions...
    Please...
    - Use the correct or most appropriate forum,
    - Do not cross-post or multiple-post, and
    - Search for information before asking basic questions, again.
    Cheers
    Graham Robbo

  • How to Create Customer by BAPI or by Function Module

    Hi all,
    I am new to this forum...
    Please can anyone tell me how to Create Customer by BAPI or by Function Module.....?
    I have tried many of the function modules posted in the threads.. but it couldn't help me out...

    > The only official solution is batchinput and idoc (CREMAS).
    Note that when an IDoc exists, it is often possible to call the function module that is just behind it (see WE57 transaction). SAP would not support that direct call, but if you need to contact SAP support about an issue, you can create the IDoc manually and there's no reason that this issue doesn't arise.
    The only difference with the IDocs is that you don't have any IDoc stored in the database, and even no log in database (so you won't be able to see anything in WE02, etc.).
    Note that it is important to know if this function module does a database commit or not: you can look at the BDFG transaction (I assume there's no BAPI related as it is the initial assumption of my post) to see if IDoc packet processing is allowed or not: if packet processing is allowed, there's no database commit in the function module, otherwise there's one.

  • How to upload Excel file in BI using function module in abap program

    How to upload Excel file in BI using function module in abap program?

    Hi Anuj,
    To upload the file , you can try a standard program "RSEPSFTP" .
    while you execute the program , a selection screen appears in which the inputs should be give as
    RFC destination - The target server name
    FTP command- PUT
    local file - your file name
    local directory - path of your local file
    remote file - your target file name
    remote directory - where it has to be stored
    Hope this is useful for you
    Thanks & regards
    Anju

  • Unable to write, type anything in source code of a function module.

    Hi all,
    We have a registered name space for our client called /ABCD/EFG.
    I need to create a function module in the name space.
    So first I created a Function Group called /ABCD/EFG_FG in /ABCD/EFG. I activated it in se80.
    Then I created a Function Module called /ABCD/EFG_FM in /ABCD/EFG. I declared the import and export paramters and now I am trying to add the code in source code and the editor does not let me change the source code donu2019t know why.. and every thing is in grey color.
    Can some one tell me what is going wrong? Cant we write any logic in the function module that we create in registered name spaces? When I created the same function module as a local object in $TMP package I dint have any problem. Similarly I created the function module in a Z package and I dint have any problem but if I try to create the same function module in a registered name space it is getting created but it doesnu2019t not let me type anything in the source code of the function module.
    Did any body encounter this problem earlier? Kindly please help.
    Regards,
    Jessica Sam

    Rich,
    Thanks a lot, that worked. Now it lets me type and change the source code of the editor.
    But while i was turing off the assistant it showed me 2-3 messages saying that "i cannot track the changes" and that "during upgrade i cant track the changes " etc.
    So now i can type in source code and i am able to change in source code..but will the trurning of this assistant cause any problmes in future or during upgrade?
    Regards,
    Jessica Sam

  • How to know the process code of an IDOC

    Hi All,
    If I want to know the process code of a standard SAP IDOC, how do I do it. Is it we42 or any table/transaction, which can show me all the possible process codes for an IDOC.
    I need to know this so that I can use this accordingly in my partner profile. ( I do not have any idoc in mind, but its avery general question. How do I know what process code belongs to which IDOC)
    Many thanks

    Hi,
    U can check using We41 and We42 tcode for both inbound and outbound case. For each process code a function module is attached check the same for required functionality.
    WE60 and WE64 transaction.will list the std IDOC in SAP.
    chirag

  • How to search for a string in ALL Function Modules source code

    Hello,
    I want to search for the string "HELLO" in all FUNCTION MODULES source code(FM, no reports/programs).
    Is this possible? How?
    Cheers,
    Andy

    hi,
    Execute RPR_ABAP_SOURCE_SCAN to search for a string in the code ... Press where-used-list button on the program which takes to the function group or the function module where it is used ..
    Regards,
    Santosh

  • How can I get the code of a Custom Module?

    Hi guys.
    I'm in a new client, and they have a problem in one of their interfaces. The PI version is 7.1.
    The interface uses the Mail Adapter, and there is a Custom Module there. The company that did this module is no longer in this client, and they did´nt leave any document about this module.
    So, how can I find the code of this Module?
    Regards,
    Eric Freitas

    Hello,
    Check Vadim's reply
    Checking code in custom adapter module
    Thanks
    Amit Srivastava

  • How to search custom T Codes for SAP SD Module

    Hi All,
    I have searched over the net to figure that custom T Codes can be searched using table TSTC and putting 'Z' in the selection criteria 'T code'.
    This shows the list of all Z tcodes for all modules. How do I find the Z tcodes for SD Module. Please help here!!
    Thanks

    Dear Vaibhav,
    Krishna has explained good way to search it out but most of the time Authorization of T-code SE93 is missing so here is another way to find our transaction codes.
    1. Execute Transaction Code SE11 :
    2. Enter the table name "TSTC" & Click on display :
    3. Click on the icon as:
    4. Write Z* for custom transaction codes :
    5. It will show the T-code and also the Program Name & T-Code Description and related information :
    Regards,
    Suhaib Bin Aziz

Maybe you are looking for

  • How can I erase pencil/pen marks on a pdf using Acrobat 11?

    I have googled this question with no success. I know that you can erase pencil marks made with the pencil tool in Acrobat, but I need to erase physical pencil marks from a scanned document. I know that I can use Photoshop to erase, but I have seen an

  • BI 7.0 help

    Hi BI gurus, We have a new BI 7.0 box ready ....I am assinged a task of configuring the new BI content. I didnt understand that ....wht are the steps do we have to take when a new version of BI 7.0 is installed. I have been told that there is nothing

  • TRans slide show extension

    I recently downloaded the translide show from http://www.flevooware.nl/dreamweaver/extdetails.asp?extID=17 which was really great. I would like to insert the image in the middle of my page with the text on the buttom. If I just type the text as a sim

  • I've bought a secondhand iMac and can't install iLife

    I've bought a secondhand iMac. Since the previous owner's AppleID is related to this iMac, I reinstalled the iMac with the help of Apple supportdesk. Now everything should be clean and I want to install iLife with my AppleID, but I get an error tryin

  • SL510 0210 Stuck Key 02 with no keyboard attached

    Some liquid got spilled on the keyboard. Now it gets the subject message when turning on. I have taken the keyboard out and dried it with compressed air. No success. Same error. I also attempted to start the thinkpad without the keyboard attached and