Executable LSMW Object to a Transaction Code

Hello there,
Can anyone tell me the steps to assign a Executable LSMW Object to a Transaction Code?
Thanks much.

Hi Michael,
Assume that you could tie the frame program for periodic data transfer (/SAPDMC/SAP_LSMW_INTERFACE) to a transaction code.  When creating the transaction code you can determine which option (parameters, variant etc.) would be best suited for this.
Kind regards,
Robert

Similar Messages

  • How to created and assign one object to a transaction code

    Hello All,
    Please give some Idea about, how to assign an newly created object to a transaction code.
    I want to give authorization on co11n transaction code. by default there is no control on storage location level. I created a new object 'Z_AFRU_AWK' that incudes 4 fields. Activity, Order type, Storage Location & Plant'. How I can assign this object in the place of C_AFRU_AWK.
    I done this throught su24 but its not working. I am missing something. please help me.
    regards
    Lal

    Hi Kariyath  ,
    what object have you created is it a abap program or a script or a module pool what you are referein here.Please be clear.
    You can maintan the authorizations in the transaction PFCG.
    Select the role and then change the authorization data there.
    Reward points if helpfull.
    Regards,
    Vamshi.

  • Adding security object to a transaction code

    Greetings,
    I received a request from our Financial side of the house to restrict access to a particular fund type in the transaction codes FM5S and FM5I.  When I examine the objects required for those transaction codes, I don't see anything that is tied to the fund type.
    My questions:
    1.  Can I add an arbitrary object that is checked when a transaction code is executed?
    2.  How do I determine which object is appropriate?  For example, searching for a "*type" in SUIM, Authorization Objects by Field, Text, seems pretty chancy.
    Bill Bormann
    Purdue University

    > It's fairly straightforward to add an object that is required when a transaction code is added to a role, but, you still have to make some kind of modification (cosmetic or more) to the underlying code to check that object.
    Unless it is already checked in the code at the correct location you want to use it for control.
    > For these transactions (FM5I and FM5S), SAP supports a check for fund authorization groups...
    SAP "owns" the authority-checks in SAP standard code. In some cases you can influence them or how the system reacts to them - but not all.
    > ... and the object specifying the groups is automatically added when these transactions are placed in a role. 
    Only if instructed to do so via SU24.
    > Alas, we're not using fund authorization groups here, so if the business wants to restrict by type we're going to have to either find a SAP-supplied object that includes the fund type and modify the code...
    No. Only if there is no equivalent check and no enhancement / customer exit point available
    >...  (here, two transactions)
    Most likely it will anyway just be one and the same function module so is checked or can be changed centrally.
    > or assign the fund types to fund authorization groups.
    This is usually the easiest and least intrusive way. Take note that group type fields (typically called BEGRU) are mostly optional objects.
    The system only reaches the check at all if there is a value maintained. If not, the check is suppressed and you might not even see the trace of it in ST01 or SU53.
    I recommend contacting your functional support of the Funds Management "module" and go through the options with them. They should know what can be done and which is most sustainable.
    Cheers,
    Julius

  • How to execute a report using a transaction code?

    Hi team,
    I am new in ABAP and I want to do a very simple report and then call this report using a transaction code.
    Steps:
    1) create the report (SE38)
       the report is: Z_DEMO
    2) generate a transaction code for this report (SE93)
       note: the transaction code is ZDEMO
    3) call the transaction generated on step 2
    When I execute the report using SE38, everythig is ok and the records are inserted in my table zdemo2.
    But when I call my transaction ZDEMO there is no insertion. Why?
    The report ask for parameters and then fowards me to SAP's main menu.
    Thanks,
    Walter.
    The report is:
    REPORT  Z_DEMO.
    tables: zdemo2.
    parameters:
            nombre like zdemo2-nombre,
            edad like zdemo2-edad.
    data:
          begin of tabla occurs 0,
            nombre like zdemo2-nombre,
            edad like zdemo2-edad,
          end of tabla.
    zdemo2-nombre = nombre.
    zdemo2-edad = edad.
    insert zdemo2.

    Hi,
    While creating the transaction for your program
    1>Make sure u give the program name and screen number
    2>Important thing is a option "GUI SUPPORT"
    Check all the checkboxes or atleast SAPGUI for Windows to ensure that the Code runs in SAP GUI.
    Thank you.

  • How do i find authorization object for a transaction code?

    Hi SD Guru's
    I need to find the authorization object for both standard & Z transactions.
    How can i find this?
    Regards
    Ravi

    Hi,
    check the coding with SE38 for "authority-check" and you will get the objects or set a breakpoint on statement "authority-check" while you execute the transaction.
    Regards,
    Andreas

  • Execute selection report SDSPESTA first-transaction code v23

    we are into upgradation project  to ecc6
    when  i run the transaction  V23  (SD documents blocked for billing)  i am getting the information (Execute selection report SDSPESTA first)
    i need to get rid of this
    wt i need to do?
    Regards
    Anil

    Just do what it says - run SDSPESTA report in SE38 (or ask an ABAPer to do it for you if you don't have access). This program updates the Overall Block status in VBUP and VBUK tables. Obviously, in your system this status is not filled in currently (possibly due to a configuration change).
    Also see this thread:
    V23 not pulling any data

  • Authorization Object for Transaction Code

    Hi,
    Is there a report I can execute to give me the list of authorization object for this transaction code?
    Thanks.

    Check Transaction SU24
    Alternatively you can go to SE16-- enter the table name TSTCA, then enter the T CODE, you will get the object related to that T Code.
    Reward points..

  • Error while executing the payroll through transaction code PC00_M40_CALC

    Dear Sir/ Madam,
    While executing the payroll through the transaction code PC00_M40_CALC , i am getting the error as mentioned below :
    "Division by zero not performed "
    Calculation rule X0133****5            RTE = ISDIVP DIVID ARR ZERO=A   ADD
    I am not able to resolve this error. So request to guide me on this.
    Thanks & regards,
    vijaya.s.c.
    Moderator message: wrong forum, please have a look in the (I guess) ERP HCM forums.
    Edited by: Thomas Zloch on Jan 24, 2012

    Hi,
    Maintain have you changed any x013 rule?
    If not, just maintain attendance/time events then process the payroll.

  • Generic Object Services for a standard transaction code

    Hi,
    We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit trail we have been asked to use "Generic Object Services" in transaction code ABAA.
    Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Object Services" for a particular standard transaction code. Also, we have show the details of custom workflow that handles the approval process in order to depreciate the asset. How to show this workflow details using Generic Object Services. This is a very critical issue, any help will be very help ful.
    Please let me know should you require more information on this topic.
    Thanks,
    Ashish

    Hello Ashish,
    i dont think activating of GOS will solve ur probs..... GOS wont create a WF item ...... try to get some kind of GOS before u do anything in SAP systems.
    u can do like this ......
    1 create custom screen where u can enter asset details and store in custom tables....and generate one custom doc.number to track.
    2. trigger WF when user submits it for approvals.
    3.Upon final approvals.--->run BDC to do postings......
    4.Give a Option to attach documents to the parking documents. ( that GOS ).
    regards
    Prabhu

  • Finding Business Objects for Transaction Codes

    Hello,
    How to find out the Business Object for a transaction code. For instance I want to find out the Business Object for Tcode: BP.
    Please guide me!
    Regsrds,
    Khushboo

    Thanks Gerhard!
    But I am looking forward to the PROCESS STEPS to be followed for finding the BO for a TCODE.
    I had quoted TCODE: BP just as an example.
    Regards,
    Khushboo

  • Creation of transaction code

    hi,
    when i am coping a 'Z' program to another 'Z' program and trying to execute it by creating a transaction code it is going to short dump.
    What is the procedure for creating a user transaction code.
    thanks in advance

    Hi Deepthi,
    First of all, what is the short dump that the program is throwuing?
    Secondly,the procedure for creating a T-code is:
    1. Go to T-code SE93.
    2.Give the T-code name that you want to create starting with Z.
    3. Click on create.
    4. Give the short description.
    5. Then select the Start object from the options available.If the report is executable and has a selection screen,then select the second option Program a nd Selection Screen.Likewise, you can choose other options depending on the requirement.
    6.Click on the green tick mark.
    7. On the next screen,give the Program name and if you want leave the screen number blank and check all the options under GUI Support tab.
    8. Save.
    I hope I have tried to answer your query.
    For further info,please let me know.
    Regards,
    Puneet Jhari.

  • 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

  • Transaction listing for default "Current Settings" transaction codes in IMG

    I am trying to create a succinct list of the transaction codes used to access "current setting" functionality throughout the IMG.  More specifically ones for HR/Payroll related tasks.
    We are trying to implement a super user program where we hand off as much of the customization and maintenance of the system to the business.  In do this I wanted to get a list of the transaction codes that are already set up as defaults by SAP so we can immediately implement this while we are activating other functions.  We are on ECC 6.0 so the CUSAMEN table is no longer relavent to our situation and of the notes from SAP do not address how to do this.
    I have looked in the OBJH table and it lists all the objects that are flagged as "current setting" objects and it also indicates whether they are transaction codes, views, tables etc.  The transaction codes obviously do work but tables and views shown as objects but no t-code to execute the update.  I know there must be a key or way to link the Object to the transaction code created for it in SE93 but can't seem to find it.
    Any help or insight as to how to do this would be greatly appreciated.
    Regards,
    Bill

    Thank you Shahram for your reply but I'm still not getting the results I'm looking for.  For example, the transaction S_AHR_61000061 is used to change or View Tax Authorities per Resident Tax Area and is basically SM30 editing the table T5UTZ. 
    When I search for that transaction code in TSTCP using SE16 I can't find it.  I I also can't find any references to any of the other tax tables such as T5UTA and T5UTR.  When I look in the IMG, under Display IMG Activity and Maint.objects the assigned objects are showing T5UTZ being assigned to SM30 as a transaction with a subobject of 01.
    Is there another table that lists transactions and Objects?
    Thanks again.
    Bill

  • Transaction code for SAP query reports

    Hi All,
    I am trying to create transaction code for sap query report but couldn't go further.
    1) Created User group in SQ03
    2) Created infoset in SQ03 and assigned that to the user group
    3) Created query in SQ01 using the infoset.
    I executed the report in SQ01 and it is working fine.
    Now I try to create a transaction code in SE93 using the steps mentioned in the following link:
    Assign transaction code to SAP Query (created via SQ01)
    But when try to execute the report using the transaction code, it is giving error message 'User group xxxxxx is not yet created'
    Could any one advice me if I miss something? Or please help me to create this transaction code and transport to production?
    Thanks in advance

    HI,
    based on the thread you've already mentioned:
    In SE93, Create a Paramter Transaction
    -> Transaction = Start_report
    -> In default values, give the below details:
    D_SREPOVARI-REPORTTYPE = AQ
    D_SREPOVARI-EXTDREPORT = Name of the Query
    D_SREPOVARI-REPORT = User Group
    So check if the user group is typed correct in SE93 and check also if the user group exits in the system where you are trying to run the transaction.
    best regards, Christian

  • How to assign transaction code to a ABAP program?

    Hi,
    Need help in assigning transaction code to a ABAP program. Any method that will do the job?

    >
    sainath raj wrote:
    > hi
    > within my knowledge
    > Any ABAP program can have its own transaction code if and only if it is of type 'MODULE POOL' .
    > An EXECUTABLE program  cannot have a transaction code.
    >
    > So try with this .
    >  1) Go to the attributes of the program and change the program as type module pool
    >   2) then execute transaction SE93.
    >  3) give the appropriate program name and assign a transaction code as ur wish.
    Well Sainath,
    What u said is not correct, an executable report can have a transaction code, difference between module pool and executable program is that u neccesarily need to have a tcode for module pool but that doesn't mean that only module pool can have tcode.
    And secondly u should not answer these kind of simple questions, as people then continue posting simple questions without making an effort to serach for themselves.
    кu03B1ятu03B9к.

Maybe you are looking for