How to share ABAP programs ??

Hi,
I want to share a program with my friend. The simplest way will be to copy in a text editor and send as email.
Does SAP provide any emailing facility/ tool that can help me in transferring the abap program(s) so that the person can simply do an upload kind of task and get the programs into his SAP system ??
thanks

SAP does not have any utility to send code via e-mail. You need to download code from SE38 using menu path (Utilities\More utilities\Upload.Download\Download) as text file and send it using e-mail.
If you have many programs to send then you can create a transport request and ask your basis team to give you the transport files. Your friend can ask his basis people to import that transport into his SAP system.

Similar Messages

  • How to add Abap program in process chain to check the another process chain status and do accordingly

    Hello All,
    My requirement is related to process chain 1 . I have one process chain in that i have to  put abap program in middle of that chain . This program will check the status of one another process chain 2 status ( whether it was completed or it is going on). if it is completed then continue the Process chain 1  to further activity else wait to complete Process chain 2 .
    Here i have to use process chain 2 as a parameter.
    Kindly provide me solution .
    Regards
    Saurabh

    Hi Saurabh,
    You need to create ABAP program in which you check the values for required process chain in
    following table
    RSPCLOGCHAIN (Feilds ANALYZED_STATUS LOG_ID)
    Depend on values you can trigger next process or you can wait unitil this process chain complete.you need to check status from table using ABAP.
    If you are not aware about how to write ABAP program then take help from ABAP Team.
    Regards,
    Ganesh Bothe

  • HOW TO WRITE ABAP PROGRAMMING IN JAVA BY USING NETWEAVER

    HI,
    i am working with bapi(mean is calling bapis in my java programs).
    please tell me the how to write abap programs in nwds
    Thanqqqqqqqqq
    Guru

    Hi,
    Refer the following links..
    http://manuals.sybase.com/onlinebooks/group-iaw/iag0203e/iadgen2/@Generic__BookTextView/24685
    and this blog
    /people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
    Regards,
    Uma

  • How to protect ABAP programs

    Hi experts
             I want to protect my ABAP programs from other users from changing it.
             How to protect my program by setting password or not allowing only display mode like.
             Please suggest me on this.
    Thanks in advance.
    Regards
    Rajaram

    Hi Raja,
    If in case you want to lock the development done by you in SAP,then while the report is open in the ABAP edtor,click on GoTo and then Attributes at the menu bar and then check the checkbox "Editor Lock".
    Nobody will be able to make any changes to your program unless and until logged by your user ID.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • How to call ABAP programs from Excel

    Hello everyone,
    Currently I'm investigating the integration of Excel and ABAP program. I find it's easy to call Excel from ABAP program, but does anyone of you know how I can first open and do some actions in an Excel sheet first, and then, for example, when I press the save button, the data will be transferred back to ABAP system? I think when openning the Excel, the logon of the backend system is needed.
    I've ever seen this functionality in some BW-reporting tools, but I cannot remember the details.
    Thank you very much and best regards,
    Leon

    yes in BW we are having this concept of creating wookbooks & queries.
    If u have BW server Go to Transaction RRMX  - u will get a Microsoft Excel sheet.
    Here it allows u to logon to the SAP system.
    For details see this link.
    <a href="https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=2553631">https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=2553631</a>
    <a href="https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=519862">https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=519862</a>

  • How to tranport ABAP program?

    I changed the include X (needed for report Y). How I can tranport the include X from Dev system to QA system? When I go to Adminstrator Workbench: Transport connection I can see All Object but which of them should I use to add ABAP program to be transported?
    TIA

    Hi,
    Go to SE38, Display your program.
    Then in upper menu bar, Go to "Goto" tab, there u will find the option of "Object Directory Entry". Here you can assign the package and then transport request.
    Transport the same request and your program will be moved to next system.
    Hope it helps.
    Regards,
    Yogesh.

  • How to call Abap Program from Javascript or html ?

    Hi All,
        I have developed a program using html, abap and javascript. I want to call an abap program while clicking on the button.
    How can I do it ?

    Hi Rajesh,
    What kind of program it is? is it a report or a transaction?
    If it's transaction, you can call the transaction as below from a link or button.
    http://<host>:<port>/sap/bc/gui/sap/its/webgui?~transaction=<transaction>
    Please replace the parameters in <..> with appropriate values before testing.
    Regards,
    Ravi

  • How to convert ABAP Programs into Chinese

    I have an ABAP program but the interface is in English. I want to translate all into Chinese Characters. How can I do it? Thanks in advance.

    Hi Gautham,
    Can you please explain further sir. It's like this, for example I have a parameter named p_bukrs. And in the selection text screen (Goto -> Text Elements -> Selection Texts), I put the a decription on it named 'Company Code'. How can I convert this one? Thanks a lot.

  • How to list ABAP programs that uses a SAP script form?

    Hello everybody.
    Can you please tell me how to list all ABAP programs that uses a particular SAPscript forms? That is, given a form name, I can then list all programs that uses that form.
    Thanks in advance. I'm trying to Google this same info but I'm having a hard time formulating my search terms.
    Thanks.
    -- Carl

    Hi Carl,
      You can get them from table TNAPR,
      Give the FORM NAME and all the programs are listed
    check this table also TTFXP ,   TTXFPT
    Message was edited by: Chandrasekhar Jagarlamudi
    Message was edited by: Chandrasekhar Jagarlamudi

  • How to finish ABAP program in the process chains

    Hello All,
    we have one ABAP program in the process chains which was created in the BW system only.
    this program we are using in the synchronous mode. according to my understanding we can not capture the failure of the ABAP program when it is in the synchronous mode.
    but i found a way through one this forum topic to capture the failure of the program through asynchrous mode by calling a function module RSPC_ABAP_FINISH but it was with the R/3 program in BW.
    can we use the same function module for BW program also.
    kindly let me know what steps we need to follow for the BW program in the process chains to capture the failure status.
    Regards,
    Ala.

    Hi Ala,
    we created an own processtype, look at this HowTo: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/45d8a990-0201-0010-a290-f22083728179
    and than also an abap which can end red or green:
    PARAMETERS: red   RADIOBUTTON GROUP radi,
                green RADIOBUTTON GROUP radi.
    IF NOT green IS INITIAL.
      MESSAGE i162(00) WITH 'Status' 'Green'.
    ELSE.
      MESSAGE e162(00) WITH 'Status' 'Red'.
    ENDIF.
    with i-message process ends green, with e-message process ends red.
    /manfred

  • How to find abap program name for web ui reports

    Hi,
    I need to know the abap program name which is developed and configured for
    web ui.In our project web ui application crm version 7.0.there reports links are available
    with label of business names.
    I assume that there will be SPRO configuration for these reports.
    Can anyone provide assistant on this to me.
    Regards
    Viren

    Hi,
    Which reports you are referring to? Are you referring to BI reports? If so then i suppose they are triggerred in BI and transferred to CRM.
    Regards,
    BJ

  • How to run ABAP programs in another client?

    Hi:
    If one user wants to run his ABAP program that resides in Client 900 with the data in Client 500, can he do it? both the clients reside in the same SAP system (the same physical SAP server).
    If you've some idea about this, please help.
    Thuan Nguyen

    Hi Christoph:
    Thanks a lot for your help on this.
    If the Client 900 is for ABAP development (the user creates ABAP programs inside this client) and the Client 500 stores the data, can the user log in the client 500 and run his ABAP programs in Client 500?
    Thanks
    Thuan Nguyen

  • How to Lock ABAP Program

    Hi all,
    I am using a module pool program,
    I want to ristrict the access of program to single user at a time.
    can some one give me some clues about program locks.
    Regards,
    Gaurav Sood.

    Hi
    Locking  All Users
    Sometimes it is useful to be able to lock all the users out of a client; for instance, during a client copy (you can also do this with tp locksys, but you have to issue that command from the OS level, and then you can only use DDIC or SAP* to log on). You can use this program to lock out all users except yourself.
    This program (un)locks all the users in a client, except for the current user, and the SAP* user. You might want to add somthing like SELECT-OPTIONS EXEMPTUS FOR USR02-BNAME to allow a list of usernames not to be processed.
    Un/Lock all users in a client
    *& Report YUSRLOCK *
    REPORT YUSRLOCK MESSAGE-ID Z1 .
    TABLES: USR02.
    PARAMETERS: LOCK AS CHECKBOX, LISTLOCK AS CHECKBOX.
    DATA: UFLAGVAL TYPE I, LOCKSTRING(8) TYPE C.
    ---- Authorization check -
    AUTHORITY-CHECK OBJECT 'ZPROG_RUN' ID 'PROGRAM' FIELD SY-CPROG.
    IF SY-SUBRC <> 0.
    IF SY-SUBRC = 4.
    MESSAGE E000 WITH SY-CPROG. "some message about authorization check failure
    ELSE.
    MESSAGE E005 WITH SY-SUBRC. "some message about authorization check failure
    ENDIF.
    ENDIF.
    IF LISTLOCK = 'X'.
    WRITE:/ 'List all locked users: '.
    SELECT * FROM USR02 WHERE UFLAG = 64.
    WRITE: / USR02-BNAME.
    ENDSELECT.
    EXIT.
    ENDIF.
    IF LOCK = 'X'.
    UFLAGVAL = 64. "lock all users
    LOCKSTRING = 'locked'.
    ELSE.
    UFLAGVAL = 0. "unlock all users
    LOCKSTRING = 'unlocked'.
    ENDIF.
    SELECT * FROM USR02 WHERE BNAME <> 'SAP*' AND BNAME <> SY-UNAME.
    IF USR02-UFLAG <> 0 AND USR02-UFLAG <> 64.
    WRITE: 'User', USR02-BNAME, 'untouched; please handle manually.'.
    CONTINUE.
    ENDIF.
    check that user has authority to make these changes
    AUTHORITY-CHECK OBJECT 'S_USER_GRP'
    ID 'CLASS' FIELD USR02-CLASS
    ID 'ACTVT' FIELD '05'.
    IF SY-SUBRC <> 0.
    IF SY-SUBRC = 4.
    WRITE: /'You are not authorized to lock/unlock user ',
    USR02-BNAME, USR02-CLASS.
    ELSE.
    WRITE: /'Authorization error checking user ',
    USR02-BNAME, USR02-CLASS, '(return code', SY-SUBRC, ').'.
    ENDIF.
    ELSE. "has authority
    UPDATE USR02 SET UFLAG = UFLAGVAL WHERE BNAME = USR02-BNAME.
    WRITE: / 'User', USR02-BNAME, LOCKSTRING, '.'.
    ENDIF.
    The SAP Lock Concept
    Reasons for Setting Locks
    Suppose a travel agent want to book a flight. The customer wants to fly to a particular city with a certain airline on a certain day. The booking must only be possible if there are still free places on the flight. To avoid the possibility of overbooking, the database entry corresponding to the flight must be locked against access from other transactions. This ensures that one user can find out the number of free places, make the booking, and change the number of free places without the data being changed in the meantime by another transaction.
    Lock Mechanisms in the Database System
    The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. Database locks are therefore never available longer than for only one database LUW. That means that in ABAP application programming, database locks can no longer exist than the duration of one dialog step.
    The physical lock mechanisms in the database system are therefore insufficient for the requirements of an ABAP transaction. The locks must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must not only apply on the application server that carries out the locking transaction, but on all installed servers of the SAP Web AS ABAP.
    SAP Locks
    To complement the SAP LUW concept, in which bundled database changes are made in a single database LUW, the SAP System also contains a lock mechanism, fully independent of database locks, that allows you to set a lock that spans several dialog steps. These locks are known as SAP locks.
    The complete documentation on SAP locks can be found in The SAP Lock Concept. This is a short introduction within the environment of ABAP programming.
    The SAP lock concept is based on lock objects. Lock objects allow you to set SAP locks for entire application objects. An application object consists of one or more entries in a database table, or entries from more than one database table that are linked using foreign key relationships.
    Before you can set an SAP lock in an ABAP program, you must first create a lock object in the ABAP Dictionary. A lock object definition contains the database tables and their key fields on the basis of which you want to set a lock. When you create a lock object, the system automatically generates two function modules with the names ENQUEUE_Name and DEQUEUE_Name. You can then set and release SAP locks in your ABAP program by calling these function modules in a CALL FUNCTION statemenT.
    Reward If Helpfull,
    Naresh.

  • How to transport ABAP programe from D-Q

    Hi,
    I generated one ABAP Programme to automate the selective deletion in Process chain. I transported the entire Process chain from D to Q. To Q, entire process chain was transported except the programme which was generated in Q. So I am unable to delete the content of InfoCube using Programme in Process chain in Q.So I generated the same programme in Q again. Plz advise me how I can transport the same programme to Q. I don't want to generate the same programme in Q and in P when I transport from Q to P.

    Hi,
       If you have the program name goto edit mode of the program and follwo the steps below:
    1. Goto -> Object Directory Entry
    2. Click on Edit and change the package to a transportable package
    3. It will prompt for a request .. create a new request and release and transport.
    hope this helps.
    Best regards,
    Kazmi

  • How to use ABAP program as datasource

    I want to use one program as datasource. Pls let me know if it is possible and how to use it. Many thanks!

    Hi Awa,
    It's regarding your questions..
    Yes you can make it ..
    You can create your data source program in your source system such as R/3, CRM, etc.
    There is template function that can be used for your program:
    RSAX_BIW_GET_DATA_SIMPLE.
    You can use that template, and alter the code as your business requirement.
    There are also blog, and tutorial as your references:
    Generic Extraction via Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/86/1c8c3e94243446e10000000a114084/frameset.htm
    Hopefully it can help you a lot.
    Regards,
    Niel.

Maybe you are looking for