Reg:how to create transactional rfc's

Hai to all,
I want to create a trfc function module
how to create that function module.
could any body please tell me
regards,
Chaitanya

Hi,
Check the link,
http://help.sap.com/saphelp_nw70/helpdata/en/22/042aa3488911d189490000e829fbbd/content.htm.
Hint: Search SDN or help.sap.com before posting questions.
Regards,
Sesh

Similar Messages

  • How to create an RFC for MIGO transaction?

    How to create an RFC for MIGO transaction?
    I want my RFC to accept all details as accepted in MIGO transaction.
    For the entered PO no, display the materials against it and allow user to enter the quantity for the same.
    Then the user should be able to post the PO by executing the RFC.
    Kindly revert asap.
    Thanx in advance,
    Bhakti

    Put good movement header data in structure header
      l_header-pstng_date = sy-datum.
      l_header-doc_date = sy-datum.
      l_header-ver_gr_gi_slip = space.
    Assign goods movement code
      l_wa_goodsmvt_code-gm_code = c_gm_code.
    Add material, plant, and other line item details in
    goods movement item table
      l_wa_goodsmvt_item-material = l_wa_selected-matnr.
      l_wa_goodsmvt_item-plant = l_wa_selected-werks.
      l_wa_goodsmvt_item-stge_loc = l_wa_selected-lgort.
      l_wa_goodsmvt_item-batch = l_wa_selected-charg.
      l_wa_goodsmvt_item-move_type = l_wa_selected-mov_type.
      l_wa_goodsmvt_item-entry_qnt = l_wa_selected-deviceid.
      l_wa_goodsmvt_item-entry_uom = l_wa_selected-meins.
      l_wa_goodsmvt_item-move_plant = l_wa_selected-zwerks.
      l_wa_goodsmvt_item-move_stloc = l_wa_selected-zsloc.
      l_wa_goodsmvt_item-move_batch = l_wa_selected-rec_batch.
      l_wa_goodsmvt_item-serialno_auto_numberassignment = space.
      APPEND l_wa_goodsmvt_item TO l_i_goodsmvt_item.
      CLEAR l_wa_goodsmvt_item.
      l_wa_serial_num-matdoc_itm = l_c_mat_doc_item.
      l_wa_serial_num-serialno = l_wa_selected-sernr.
      APPEND l_wa_serial_num TO l_i_serial_num.
      CLEAR l_wa_serial_num.
    To call BAPI BAPI_GOODSMVT_CREATE to transfer material of transfer
    type one step
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header       = l_header
          goodsmvt_code         = l_wa_goodsmvt_code
        IMPORTING
          goodsmvt_headret      = l_goodsmvt_headret
        TABLES
          goodsmvt_item         = l_i_goodsmvt_item
          goodsmvt_serialnumber = l_i_serial_num
          return                = l_i_return.
    cheers
    Aveek

  • How to create transaction for a maintenance view, Thank you.

    How to create transaction for a maintenance view,
    Thank you.
    deniz...

    Hi Deniz,
    Go to se93.
    Then create the new T.code.
    Under that select parameter Transaction.
    Then give the sm30 in the t.code in default values tab.
    check the checkbox skip initial screen.
    in classification tab.
    click checkbox inherit gui attributes..
    Now below..
    In the default values..
    select
    viewname and give ur table name.
    UPDATE= Xsave
    view - table name ( Should be upper case
    update X ( should be upper case).
    http://www.sap-basis-abap.com/sapbs011.htm
    Hope this helps you.
    Regards,
    Viveks

  • How to create a RFC destination for extracting data to HANA

    Hello All,
    Could someone help me in providing a document or note on how to create a RFC destination for extracting data from SAP data source to HANA using SAP LT replication server ?
    I am able to create a data base connection while transforming data from non SAP data source,but wasnt able to transform data which is from SAP abap tables .

    Hi Venkatesh,
    In SM59 t.code we create RFC destinations.
    Go thru the video link for creating RFC destinations step by step
    How to setup a trusted RFC connection between SAP systems: a step-by-step guide - YouTube

  • How to create t-code for a table and how to create transaction variant???

    Hi,
    I have created a custom table zsark.
    Now my requirement is : I have to create a transaction variant zsark_var for sm30 and table zsark. I have to disable the output of the first screen. I have to assign the transaction variant to the transaction code of table zsark.
    Now,
    1.     how to create transaction code to a table. Can any one give me the 
                    staps??
    2.     how to create transaction variant for the above requirement???
    Thanks & Regards,
    Sarkar

    Hi
    1 Goto SE93 transaction
    2 Choose 5th option Transaction with parameters
    3 Give transaction : SM30, Check Skip Initial Screen Press Enter
    4 Goto Bottom left corner, click F4 select viewname, on right hand side give table name
    5 Press one more time F4, choose update , mark it X on right side.
    6 save the transaction.
    Thanks
    sandeep
    reward if helpful

  • How to create transaction code for a Z-table

    How to create transaction code for a Z-table?
    Se93 --> then which radio button to be selected? and what is the program nam e to  be given

    Hi Sam,
    <b>Procedure to create a TCODE for ZTABLE:</b>
    Create a table maintainance/View for the Z* Table.
    Once you create the view goto SE93>Select Parameter transaction and give the short desc.>
    Give the transaction as SM30(Skip the first screen-optional)>Check all check boxes under GUI support>In the default values(grid)section first row give the VIEWNAME as you created initially and the second row UPDATE as X.
    <u><i>Se93 --> then which radio button to be selected</i></u>
    Select the parameter transaction as a radio button.
    <u><i>what is the program nam e to be given</i></u>
    no need to give any program name. Instead you have to give the transaction code name as SM30.
    Pls mark the helpful answers.
    Thanks
    Eswar

  • How to create transaction code for maintenance view

    hai friends,
    i hope every thing goes good.
    i have doubt, how to create transaction code for maintenance view. I created view for tranperant table and now i want to create transaction code for the view.
    i tried and i donot know the screen number and program name and where can i give the view name.
    if any one know please post in details.
    thanks in advance.

    Hi Elam,
    You need to create a "Parameter Transaction".
    What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.
    Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).
    Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.
    Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.
    Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.
    Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.
    Now save the transaction and there you have it.
    Hope this helps.
    Cheers,
    Pat.
    PS. Kindly assign Reward Points to the posts you find helpful.

  • How to create Transaction code for ABAP and execution by other user

    Hi All,
    Could someone please let me know how to create transaction code in detail for ABAP program. Step by step procedure expected. I would like to know how other user can execute the report using same transaction code which I have created.
    More about authorization.
    Thanks in advance.

    Hello,
    You can create transaction code from se80 as well.In object navigator,right click on your program name and create->transaction code.You can create transaction and select if it is only a report,a report with selection-screen depending on your requirement.You can run your report directly by entering the transaction code in the command field.
    You can authorise the users who can use your transaction:
    <b>Authorisation objects</b> are used to restrict certain transactions to users.Critical data must be protected from unauthorised users.For example,the head has access to certain data.But it cannot be accessed by his subordinate.For this we need to define <b>roles</b>.
    •Create an authorization object with transaction SU21.
    An object usually consists of the ACTVT (activity) field and one other field,which specifies the data type to be protected.By ACTVT, we can decide if the data is accessible for change,display only etc.
    •Add authorization fields to the authorization object created.
    •Assign the authorization object to the transaction using SE93.
    Attach the authorization object to the role using transaction PFCG.
    If you want <b>to assign roles</b>,use transaction PFCG.Create a new role.In the AUTHORIZATIONS tab,you can get a self generated profile name and a profile text by clicking on the icon next to it.Then go to the "Change Authorization data" and choose an authorization template.Then you can choose to display/change/create an activity and after the selection,click on the red and white circle.The profile will now be created.
    In the user tab,you can give the user details who can use this role.
    <b>Also check this link:</b>
    http://www.*********************/r3_security/r3_security_tips.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/6716a6439b11d1896f0000e8322d00/content.htm
    <b>Very helpful guide:</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c
    Regards,
    Beejal
    **Reward if answer is helpful

  • How to create transaction routine formula(ie, TOUPPER)

    how to create transaction routine formula(ie, TOUPPER)

    Hi Murali,
    Welcome to SDN!!
    Goto the transfer rules and select whichever info-object you want in upper case. You would options line constant, formula and routine. Select formula and enter as TOUPPER(). The incoming data for the info-object would be converted to upper case.
    Bye
    Dinesh
    (Assign points if useful)

  • How to create transaction for FM

    Hi All,
    Can anybody please let me know How to create transaction for FM which can direct run by passing value and return the result.
    I want to create transaction code for my function module.Please let me know how we can achieve that. tahnsk in adavance.
    Regards,
    Kalpana
    Message was edited by:
            kalpana k

    Hi,
    You can create transaction code for your FM. First create a report program in SE38. and call you FM as shown in below example.
    report Zxyz.
    constants: gc_viewname like dd02v-tabname value 'YFIT_COST_RATE'.
    start-of-selection.
      call function 'TABLE_CUSTOMIZING_MAINTENANCE'
           exporting
                tabname  = gc_viewname
           exceptions
                no_views = 1
                others   = 2.
      if sy-subrc <> 0.
        message a007(e2) with gc_viewname.
      endif.
    similar to this FM you can call your FM and you can write your processing logic after FM call.
    thanks,
    sksingh

  • How to create transaction table in R/3

    Hi Gurus,
                  I have created master data table in R/3 with zempid as a primary key. I need to create transaction table for employee and visitor. how can i relate 2 transaction table with employee master table while creating tables in R/3 SE11.
    Notes: both employee and visitor transaction table has zempid.
    please let me know how to create table with relations.
    Thanks & Regards,
    Bharath

    Hi,
    In a normal database (say Oracle), this referential integrity is taken care of by PK-FK (primary key - foreign key) relationships. As far as OLTP - SAP R/3 is concerned, these are exisitng for the tables defined by SAP.
    Speaking about BW:
    1. You will bring master data from R/3--> BW first (its always a good practice), which should mean that empid 1000 - 1007 will flow to BW. Also your OLTP system ensures that there can be no transaction data (due to PK-FK relationships), for any emp. id other than 1000-1007.
    2. There could be another case that when the master data has been transferred to BW, due to time lag, in between master data and transaction data are created in R/3... meaning thereby that R/3 now has both master data about say emp.Id 1008 and transaction data as well.
    3. Now the transaction data is extracted from R/3, which will bring the transaction data for 1008, eventhough the master data for 1008 (loaded in step 1) has not come down to BW.
    4. Such situation can be controlled in BW, there are options wherein you can control this. the options are:
      - Load data even if there is no master data (this will create master data record with key values and nulls in other attributes) - record for 1008 will get loaded in such cases.
    - Do not Load data when there is no master data - The record with 1008 emp. id will not be loaded in such a case.
    Hope this helps.
    Cheers,
    Sumit

  • How to create Transaction code for Table Maintanance generator.?

    Hi,
    I have created a Z Table. and I maintained the Table maintenance generator for the same. Now, my requirement is.. I have to create Transaction code for maintain and Display of this Z table.
    Can someone help me how to create the transaction code for Maintain and Display of the table. I know that we have to create a Transaction code for 'SM30'. Can someone tell me the steps to do the same. When I goto SE93 and say CREATE transaction, I get 5 options, Which one to select and what are the details should I provide in the subsequent screens.
    Thanks in advance.
    Best Regards,
    Paddu,

    Hi,
         Check the below steps......
    1. Go to Tcode u2018se93u2019.
    2. Select ' Transaction with parameters'.
    3. Then Transaction 'SM30' with click on skip initial screen
          VIEWNAME : XXX9tABLE NAME)
          UPDATE   : X
    4. Maintain the  Table maintenance generator
      Authorization group : &NC&
      Authorization object :
      Function group : name(xxx)
    Maintenance Screens :
    Maintenance type : One step
    Maint Screen No : Overview screen (2)
    If still u have problem I will send u steps with Screen shot ...send me Yr id.
    Regards,
    Biswanath

  • How to Create Transaction code for a Report

    Hi Gurus,
    I created some reports and I wants those reports
    should be placed in the SAP Menu(initial screen) not
    in the User menu in the form of Transaction codes.
    I would really appreciate if any one can please send the process to create transaction codes for the User reports/Report groups in R/3 and how to add those created Transaction codes to the SAP MENU.
    Thanks in Advance
    Danial

    Try to insert it into the main menu if you must change S000 (there is a function module for everything)? Perhaps SAP protects their menu trees from foreign subnodes in SE43?
    Also note that for report transactions you do not need to give the user transaction code start_report. If you do, then they could enter it directly and potentially start many other reports too. The system will call start_report for submitting the report internally without authorizations for it required (unless start_report is maintained in SE97).
    Regarding DE, this also confuses me sometimes and I noticed that it generally indicates that I am doing something which has an implication for a SAP standard object. Try either hitting the enter button to see what the next screen is, or, choose original language in the previous screen, or, logon in sy-langu = DE and (remember the path if you dont speak German) change it, or, follow JCs advice to create your own menu.

  • SHDO-how to create transactional ,screen , standard variants for a t code..

    hi experts,,,,,
    1)can u explain the use of it.......
    how to create diff type of variants.......
    2)......how to give batch number assignment alpha numerically.......
    here in the system only numbe\rically available, and i have to assign the batch number  internal assignment.........for a particular production order.

    Hi,
    <b>creating Transaction Variants</b>
    Step 1:
    Execute transaction SHD0 and create a Transaction Variant against the original transaction.
    Step 2:
    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
    Step 3:
    When you are back on the Transaction Variant (SHD0) screen, press shift+F6 or click the goto menu and press the create variant transaction button. Through this transaction SE93 will be executed. Enter the transaction name you want to create and any other required field and now press the save button.
    Step 4:
    Now execute the transaction you create through create Transaction Variant and enjoy the results.
    Case two for creating Transaction Variants
    Step 1:
    Create a dialogue transaction through SE93 and enter the program name and screen number of the original transaction you want to make a variant on (e.g., PFCG). Press the save button and check whether the replica transaction (PFCG) has been created successfully by executing it on a new session.
    Step 2:
    Execute transaction SHD0 to create a Transaction Variant. Specify the transaction name (replica of PFCG) which you have just created and create a Transaction Variant against the replica transaction.
    Step 3:
    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
    Step 4:
    When you are back on the main screen of the SHDO (Transaction Variant) click the edit option on the menu tab and activate Standard Variant. Through this a Standard Variant will be assigned to the transaction specified (replica transaction).
    Note: Make sure you activate the Standard Variant against a replica transaction and not on the original one.
    Regards
    Sudheer

  • May i know how to create Transactional Infocube, Data from cube to cube

    Hi All,
    I need to create a Transactional Infocube. Can anyone help me how to create that. and how it differs from Basic cube while creating Transactional Infocube.
    My other question is how to load data from one cube to another.( is it possible from basic to transactional )
    It's urgent.
    regards,
    Ali

    Hi Ali,
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/7b/a90e78d10311d4b3490050dadfb23f/frameset.htm
    Transactional InfoCubes differ from Basic InfoCubes in their ability to support parallel write accesses. Basic InfoCubes are technically optimized for read accesses .
    Use
    Transactional InfoCubes are used in connection with the entry of planning data. See also Overview of Planning with BW-BPS. The data from this kind of InfoCube is accessed transactionally, meaning data is written to the InfoCube (possibly by several users at the same time). Basic InfoCubes are not suitable for this. You should use Basic InfoCubes for read-only access (for example, when reading reference data).
    transactional infocubes can be filled with data using two different methods: using the transaction of BW-BPS to enter planning data and using BW staging, whereas planning data then cannot be loaded simultaneously.
    Anyway, the data from this kind of infocube is accessed transactionally, meaning data is written to the infocube (possibly by several users at the same time); basic infocubes are not suitable for this. I think this is the only proper use of this type of cube...
    We have an option to switch the Tranasaction cube such as "Loding allowed and Planning not allowed" and "Planning allowed and loading not allowed".
    please check these links,
    http://help.sap.com/saphelp_nw04/helpdata/en/39/100c38e15711d4b2d90050da4c74dc/frameset.htm
    function module to read and write to a transactional infocube
    read and write to transactional infocube
    read and write to a transactional infocube
    Regards,
    Priyanka

Maybe you are looking for

  • Fields in User settings not filled

    Hi Under user settings in tab "Position" the field Dept. and Position is not filled. The user is correctly maintained in PPOMA_BBP. The user was maintained in SRM with the use of transaction USERS_GEN. What could be wrong? This causes some dumps for

  • Playback of unticked songs

    Because of limited space on my iPod, I have unticked items in my iTunes library, so they don't sync. But I still want to listen to entire albums in sequence on my PC, even though only a couple of those tracks have been ticked to transfer to the iPod.

  • Controller for View, Window, Interface, and Configuration Cannot Be Created

    Hi All,   In our  Web Dynpro ABAP applicaton we  have a window and when we edit the conent of window and try to press "Cancel" button we are getting below error. Controller for View, Window, Interface, and Configuration Cannot Be Created The terminat

  • Scan etc

    How to enable scan to computer This question was solved. View Solution.

  • Youtube vids blank?

    Hi, I'm having issues with youtube videos tonight. All of our youtube videos are built using web content boxes, they all appear fine (placeholder and play icon etc), but if you press play they all go blank (10 videos and counting). This is for all pr