Create new abap program

my usual practice in creating new abap program is in se80 then type the desired program name then the sap will display that the program name is not existing and will ask if i want to create it.
however in my new company when i do the above step it just display that the program is not existing and no question if i will create this. in line with this i would like to ask how would i create new abap program?
thanks.
donna

Hi Donna,
Do you have the relevant authorisations? Maybe you donot have authorisation to create new objects? Check your profiles via SU01. Personally I always ask for SAP_ALL and SAP_NEW in the Development system.
Cheers,
Pat.

Similar Messages

  • Problem creating new ABAP Technical System in SLD

    I newly installed a ECC 5 IDES system (ABAP + JAVA) on my computer for ABAP and Webdynpro learning.
    I got problem when I try to create new ABAP Technical System in SLD.
    I put my steps of installation here so you know my full story.
    1. Install Central Instance (Non-unicode);
    2. Install Database Instance (Non-unicode);
    3. Install Java add-in on ABAP;
    4. Configure the HTTP connection parameters in J2EE Engine Visual Administrator
    All of the above steps are successful.
    Now my Webdynpro application need to access a Function Module, so I want to create a JCo connection in Webdynpro Content Administrator, but both application server and message server are not available, so I can't create any connection.
    I go back to SLD to register ABAP Technical System step by step below:
    1.      Choose Home ® Technical Systems.
    2.      Choose New Technical System.
    3.      Select the AS ABAP radio button.
    4.      Choose Next.
    5.      Enter system details (Installation number, host name).
    6.      Choose Next.
    7.      Enter message server and central application server details.
    8.      Choose Next.
    9.      Choose Next.
    10.    Add New Client 800, leave logical name blank, click Add.
    11.    Choose Next.
    12.    Here the system says 'No product available', the whole effort make no sense.
    I tried every possible settings, but at step 12 it keeps telling me 'No product available'.
    This is the problem I want to fix.
    Can anyone help me?
    Thanks a lot in advance.

    hi,
    use th following thread,
    No products installed while adding a Technical ABAP System in the SLD.
    Regards
    Jayapriya

  • Where does Abap Dataflow create the Abap program

    Within Abap dataflow properties i have to give program name: which i gave as : Z_MaraXtract
    The abap dataflow extracted data perfectly fine. it created a dat file in working folder and also populated data to template table.
    Where does this Abap program "Z_MaraXtract: gets created?
    Thanks a lot for the helpful info.

    Hi Raj,
    You are probably looking for Z_MaraXtract on your DS box. This is the same thing I was looking for, for a long time.
    This is the Abap program name. The file that DataServices uses is in the folder you defined in the data store, advanced,  Generated ABAP directory.
    To the the OS filename on your DS server , rightclick on the ABAP Dataflow, properties, select the tab options and you will see a "Generated Abap filename" field. The name you put there is the physical filename on, say Windows. If you open that file (with notepad) you will see the ABAP program name  Z_MaraXtract.
    Norbert

  • New ABAP Program to check Direct UPDATE in Database Table

    Hi all,
    As per customer requirement , I have to develop ONE  Program which find out that  in which ABAP Program , Programmer has used Open Sql command like  UPDATE , DELETE , INSERT , MODIFY to direct update in Database Table.
    Have a look on all Z-ABAPs, find out if there are statements with "update", "delete", "insert" or "modify" in the coding, then find out if updates to sap-Tables are done
    How can I achived that ?
    Please , If anybody is having idea , than please let me know..
    Thanks You ,

    Hi
    Kindly refer to the below link. This has step by step how you can achieve the checks.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/12659a90-0201-0010-c18b-9d014f9bed0d]
    But if you want to check if any program they have used 'UPDATE' then you can do like below.
    Go to SE38
    Utilities---> Find in Source Code-
    Find --- UPDATE
    In program - Z* or ZX* if you want to search only in Exits
    Regards,
    Vijay V .

  • Create New ABAP WebDynpro

    Hi
    I have completed a working approval process in ECC6 for trip expenses. This will be eventually used via ESS in the portal. (EP7).
    As part of the process in ECC6 I have a couple of new Dialog screens that allows the user to choose an approver.
    My question is, how do I (and what do I use) to convert these new ABAP screens into components of (would they be components, not sure of terminolgy) ABAP WebDynPro, so that they can be seen and used from within the portal.
    Thanks
    John

    Hi,
    you can use [screen design time conversion|http://help.sap.com/saphelp_nw70/helpdata/en/30/f2156a26fb4b4d86c5b0ce9f86bfb3/frameset.htm] for the screen layout. For portal integration, see the [documentation|http://help.sap.com/saphelp_nw70/helpdata/en/42/f81cfe63291bc9e10000000a11466f/frameset.htm]
    Regards, Heidi

  • Creating new abap report

    Is there a shortcut in the abap editor which i can use to create a new report instead of going back to se38

    Hi Megan,
    I am not aware any short cut for SE38 other than go to SE38 and click on create/change button. You may want to try SE80 also. But again no short cut.
    By the way, how is your coding on updating ZTABLE?
    Any update?
    Regards,
    Ferry Lianto

  • Creating Infoset query based on ABAP program

    Hello
    I have 3 tables FEBEP, BKPF and BSEG and I need to join the 3 tables based on:
    FEBEP-MANDT = BKPF-MANDT = BSEG-MANDT
    FEBEP-NBBLN = BKPF-BELNR = BSEG-AUGBL
    FEBEP-GJAHR = BKPF-GJAHR = BSEG-GJAHR
    Then I have a few view fields from all the 3 tables. After this I can build an infoset query based on structure + ABAP program, and a generic datasource on top of it.
    Can someone give me the ABAP code to be written SE38? Also should I select integrated program/external program in the infoset query?
    Thanks,
    Srini.

    Hi,
    Even if you create an ABAP program for infoset, you will writing a SELECT statement from BSEG table which is quite huge.
    And you will putting JOIN with other tables.
    Performance wise this is not advisble.
    Why do not try the following other tables and check if the fields you need are available?
    You can't join BSEG as it is a Cluster Table.In the place of BSEG you can use:
    Account Recivables data use BSID and BSAD tables
    GL Account Related data use BSIS and BSAS tables
    Account payables data use BSIK and BSAK tables
    Thanks.

  • How to check whether a batch input session is completed in ABAP program

    I have created a ABAP program to create a batch input session (reference to RSBDCSUB). After the creation of the batch input session, I kick it to start and read the execution log. However, sometimes I cannot read anything from the execution log as the execution of the batch input is a synchronized process to the execution of my program, i.e. at the time being that I try to read the log of a particular transaction, that transaction is being processing / haven't start processing.
    How can I check whether a batch input session is completed in the program?
    The code that corresponding to the triggering of batch input session:
    SUBMIT (SUBREPORT)
       USER MTAB-USERID
       VIA JOB MTAB-GROUPID
       NUMBER JNUMB
       WITH QUEUE_ID  EQ MTAB-QID
       WITH MAPPE     EQ MTAB-GROUPID
       WITH MODUS     EQ 'N'
       WITH LOGALL    EQ LMODUS
    Or is there any method to wait here until the process is completed before further processing?

    Hi gundam,
    1. Or is there any method to wait here until the process is completed before further processing?
    There is no such direct method to wait.
    2. Immediately after submitting in background,
       we cannot wait
      neither can we LOOP and go on detecting
      whether the b/g process has completed or not !
    3. To over come such problems,
      we have to use another technique.
    4. we have to submit another
       job which will get triggered
       on event SAP_END_OF_JOB
       ie. when the original job will finish,
      our new job will AUTOMATICALLY get triggered,
    5. This new job / program
       will do the FURTHER actions !
    regards,
    amit m.

  • ABAP program to load an infocube

    Hello All,
    I am new to BW and have learnt the basic concepts only. I now have to write an ABAP program to load one of the infocube after receiving the data in the form of a flat file from an external system. Any ideas on how I can go about this will be greatly appreciated and rewarded!  Thanks in advance.
    Regards
    Veena

    Hi,
    I guess you can try to raise an event to trigger the PC or IP to load the cube.
    You should raise the event through your ABAP code and schedule the PC or IP to run once this event is raised.
    Create event in tcode SM62
    Use FM: BP_EVENT_RAISE to raise an event
    Use after event in the start variant of the process chain.
    You create user events in SM62. In SM62, next to "User even names", click on Maintain and press Enter. Click on the Create icon to create a new event (let's call it ZEVENT).
    Next, in your process chain, change the Start variant to be scheduled "After event", and put in ZEVENT for the event name. Also, click on the "Periodic job" at the bottom. This will automatically reschedule the jobs for the process chain after it executes.
    Next, create an ABAP program (let's call it Z_EVENT_RAISE) to call the function module BP_EVENT_RAISE. You're code can look like this:
    codeREPORT Z_EVENT_RAISE.
    PARAMETERS: P_EVENT LIKE TBTCO-EVENTID.
    CALL FUNCTION 'BP_EVENT_RAISE'
    EXPORTING
    EVENTID = P_EVENT.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.[/code]
    This ABAP program will prompt for an event name, so you will need to create a variant (let's call it ZEVENT) which will save the value of the event name (also ZEVENT). You will need the variant name to be able to trigger the event in a batch job.
    Now all you need is the batch job. Use tcode SM36 to create a batch job where you call the ABAP program (Z_EVENT_RAISE) using the variant (ZEVENT).
    Raise an event to trigger process chain in BI
    http://sapbwneelam.blogspot.com/2007/09/how-to-start-process-chain-through.html
    how do we raise an event to trigger process chain in BI
    Hope this helps.
    Thanks,
    JituK

  • ABAP program and FB for value mapping replication

    Hi,
    we are using a 40B system and I want to use the value mapping replication in XI. To refill the data into the XI database I must write an ABAP and a function module to transfer the data out of R/3 into XI (via RFC). Has anybody an example how the program (and the FB) must look like? i.e I want to read table mvke and extract the materialnumber and the prodhierarchy.
    Thanks and best regards
    Arnold

    Hi Arnold,
    First you need a table type with a structure like follows:
    operation
    groupid
    context
    identifier
    agency
    scheme
    (corresponding to the Interface ValueMappingReplication)
    All used data elements should have type string or charXX
    for example: operation - char10, groupid - char32, rest - char120
    Next you create a function module with attribute 'remote-enabled module'.
    The import parameter is your new table structure.
    Next you create an ABAP program. Here an example:
    report z_value_mapping .
    tables mvke.
    data:
    p_value_mapping type zvalue_mapping,
    p_value_mapping_table type zvalue_mapping_table.
    p_value_mapping-operation = 'Insert'.
    p_value_mapping-context = 'http://xi.com/Material'.
    select * from mvke where matnr between '170' and '501'.
    check not mvke-prodh is initial.
    * Create a value mapping group to join two entries.
    * use a unique 32 digit number.
    concatenate '00000000000000' mvke-prodh into p_value_mapping-groupid.
    translate p_value_mapping-groupid using ' 0'.
    * Store the mapping source as first entry to the group
    p_value_mapping-identifier = mvke-matnr.
    p_value_mapping-agency = 'SenderAgency'.
    p_value_mapping-scheme = 'MATNR'.
    append p_value_mapping to p_value_mapping_table.
    * Store the mapping target as second entry to the group
    p_value_mapping-identifier = mvke-prodh.
    p_value_mapping-agency = 'ReceiverAgency'.
    p_value_mapping-scheme = 'PRODH'.
    append p_value_mapping to p_value_mapping_table.
    endselect.
    * Push data to XI
    call function 'Z_VALUE_MAPPING' in background task
      destination 'IS_XID'
      exporting
        value_mapping       = p_value_mapping_table.
        commit work.
    Import the RFC to the Integration Builder, create a mapping between your RFC and the interface ValueMappingReplication.
    Check this Blog for additional steps:
    /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Choose names for context, agency and scheme which are useful your scenario.
    Regards
    Stefan

  • ABAP Program and Execution Caching?

    Hi All
    We have a strange problem with custom ABAP program possibily caching a SQL statement. Here is the problem:
    Transaction: ZTRANS_C1
    This transaction is about 4 years old and we have noticed a problem with a SQL statement withing the program which is causing a timeout and shorts dumps (runs for 600ms). We managed to fix the statement and change the program but it is still taking 600ms and timing out.
    So we created a new transaction ZTRANS_C2 which is an exact copy of ZTRANS_C1 and ran it. This took only 65ms.
    So is there any way in SAP or SQL where we can stop it caching the statements or is this some other problem?
    Thanks
    Phil

    Hi Arnold,
    First you need a table type with a structure like follows:
    operation
    groupid
    context
    identifier
    agency
    scheme
    (corresponding to the Interface ValueMappingReplication)
    All used data elements should have type string or charXX
    for example: operation - char10, groupid - char32, rest - char120
    Next you create a function module with attribute 'remote-enabled module'.
    The import parameter is your new table structure.
    Next you create an ABAP program. Here an example:
    report z_value_mapping .
    tables mvke.
    data:
    p_value_mapping type zvalue_mapping,
    p_value_mapping_table type zvalue_mapping_table.
    p_value_mapping-operation = 'Insert'.
    p_value_mapping-context = 'http://xi.com/Material'.
    select * from mvke where matnr between '170' and '501'.
    check not mvke-prodh is initial.
    * Create a value mapping group to join two entries.
    * use a unique 32 digit number.
    concatenate '00000000000000' mvke-prodh into p_value_mapping-groupid.
    translate p_value_mapping-groupid using ' 0'.
    * Store the mapping source as first entry to the group
    p_value_mapping-identifier = mvke-matnr.
    p_value_mapping-agency = 'SenderAgency'.
    p_value_mapping-scheme = 'MATNR'.
    append p_value_mapping to p_value_mapping_table.
    * Store the mapping target as second entry to the group
    p_value_mapping-identifier = mvke-prodh.
    p_value_mapping-agency = 'ReceiverAgency'.
    p_value_mapping-scheme = 'PRODH'.
    append p_value_mapping to p_value_mapping_table.
    endselect.
    * Push data to XI
    call function 'Z_VALUE_MAPPING' in background task
      destination 'IS_XID'
      exporting
        value_mapping       = p_value_mapping_table.
        commit work.
    Import the RFC to the Integration Builder, create a mapping between your RFC and the interface ValueMappingReplication.
    Check this Blog for additional steps:
    /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Choose names for context, agency and scheme which are useful your scenario.
    Regards
    Stefan

  • I want recover in ABAP program a "Long Text"

    Hi, 
    In FB01 transaction when you go to "Enter Fixed Asset posting: Correct G/L account item", there are a button with a label: "Long Text". When you push this button appear a little window with name "Long Text for Document Line Item" and you can write a long note for a document. I want to recover this long note in a ABAP program. I want know where SAP keeps this texts and how I can recover it. 
    A lot of thanks in advance. 
    Regards.

    Now, my code is:
    report zutil060.
    data: l_thead like thead.
    data: it_text like  tline occurs 0 with header line.
    call function 'ZREAD_TEXT'
         exporting
              id       = '0001'
              language = sy-langu
              name     = 'EV1000000811282006001'
              object   = 'DOC_ITEM'
         tables
              lines    = it_text.
      l_thead-tdobject = 'DOC_ITEM'.
      l_thead-tdspras = 'ES'.
      l_thead-tdid = '0001'.
      l_thead-tdname = 'EV1000000811282006001'.
      refresh it_text.
      clear it_text.
      it_text-tdline = 'Hola caracola'.
      it_text-TDFORMAT = '*'.
      append it_text.
      call function 'SAVE_TEXT'
        exporting
          client          = sy-mandt
          header          = l_thead
         insert          = 'X'
          savemode_direct = 'X'
        tables
          lines           = it_text
        exceptions
          id              = 1
          language        = 2
          name            = 3
          object          = 4
          others          = 5.
      if sy-subrc <> 0.
      write:/ sy-subrc.
      endif.
    If i comment "insert          = 'X'" sy-subrc is 0 but text note dont change.
    My finally mission is to makes an interface (ABAP program) and this program should pick up the long notes from another system and to create new ABAP notes.
    Now i only need to know how i can insert or change a new long note.
    a lot of thanks for your time.
    regards.

  • Triggering Event in BW through a ABAP Program in R/3

    Hello Friends,
    I am working on triggering a process chain in BW using ABAP program in R/3.
    1.  I have created a test process-chain in BW which sends test email upon running. This process chain is triggered by an event "Z_START_PC".
    2.  I created a function module "ZBW_EVENT_RAISE" which triggers this event.
         ( This function module is "remote enabled module")
    3.  I tested running the process chain, with function-module (SE37), which works fine.
         ( i.e. I do receive test-email after..)
    4.  Now I created a ABAP program "ZBW_EVENT_RAISE" in R/3.
         The code of which is as follows:
         REPORT  ZBW_EVENT_RAISE.
        parameters: rfcdest like t000-logsys.
        parameters: bwevent like tbtco-eventid.
        call function 'ZBW_EVENT_RAISE'
        destination rfcdest
         exporting
         eventid = bwevent.
    5.  When I try to run this ABAP program in R/3 (SE38),
         The process chain does not get triggered.
      (a)  The "<b>rfcdest</b>" i got from SM59 - RFC Destinations -
            R/3 Connections - BW Development Server Client
            Value is "BWDCLNT999".
    How do I go about debugging this issue? I know for sure, the BW- function module -- to Trigger -- to Process-chain is working fine. Only part is R/3 to B/W function module starting.
    Any help is appreciated.
    I promise to award points.
    Thanks
    PK

    in ST05 there is an option for RFC trace. Not sure how much detail that will give you but you can try.
    It is possible that your userid doesn't have an RFC call authorization in R/3. Do a SU53 immediately after running the program.
    Also, replace the FM with any other FM that you know for sure runs  (eg some BAPI FM) and run it - either in SE37 in R/3 with RFC destination for BW, or, from your code itself and see if that works (you can check return code).

  • How can I trigger an event from an ABAP Program

    Hi everyone,
    I have a requirement, where I have to create an ABAP program, that has to execute (trigger) an event which belongs to a Process Chain. when I run the program, the Process Chain has to run.
    So, how can I do it?
    Thanks for your help, Federico

    HI ,
    The program can call function module BP_EVENT_RAISE to raise the event. you can create vent in sm64 and sm62 .There you give the parameter of the event same as what you will define in the event of start variant of your process chian ..
    Regards,
    shikha

  • Creation of New Abap User

    Hi experts,
    Our client has purchased only one developer key license . We have already Developer users in dev and qty . My Question is Can i create new Abap developer user in dev & qty as license is only for production system ? or can i delete the old users in dev & qty and Generate a new developer key for my new users.
    hope my question was clear.
    Thanks & regards,
      Krishna teja

    Hi,
       SAP provides license based on users only for the users in Production system.
    You can create any number of users in DEV & QUA...
    But make sure you abide with the user license agreement in the production system.
    Thanks and Regards,
    Vimal

Maybe you are looking for