Basic ABAP doubts

Hi Experts,
got some basic doubts..hope ppl can help me tackle them..
1. y is sapscript client-specific when smartforms are     cross-client ?
2. why exactly are reference fields required for Currency n Quantity Fields ?
3. In SE93, while creating a transaction for an executable program, no variant comes in F4 even wen we have created one for the program, n wen we type in the variant, it says the Transaction is inconsistent.. is it because transaction is cross-client whereas variant is not ??
4. where is DDIC placed?? i mean is it in database or Application server ?
5. why do we need to have a Value table ?
Please dont copy & paste from existing sources..it wud be great if u cud explain in ur own wrds...
all answers wud be appropriately rewarded..
thanks.
bikash

thanks for the reply guys..
Andreas,it wud ve been better if u explain ur answers.
pawan.
1. smartform when activated generates a function module which becomes part of DDIC. so client-independent ... ( arent transparent tables part of DDIC ??? they are client-dependent though )...
2. bcoz when u say amounts like 1000 rupees, 1000 refers to amount and rupees refers to currency unit.
thats ok pawan, but how does it matter if it is rupees or USD or EURO..its anyway a field with lets say 13 digits n 2 decimals..n also the field contains only 1000, not the rupees, that part anyway can be got from the currency field.....
3. did u test in a multiple-client system?? ie, it comes in IDES over here too, i think dats because IDES doesnt have multiple client..
  Also, if it has come in a multiple client system, wat ll happen if u run that transaction in a client in which that variant is not there..it ll throw an error right??
4. wat my doubt is that anything that is there, also the definitions has to be stored someweher right?? so isnt the database where everything including the dictionary is stored??
awaiting ur useful responses...
Message was edited by: Bikash  Agarwal

Similar Messages

  • Doubt in Basic ABAP.

    Hi Gurus,
    I have a small doubt in basic ABAP.
    What is the exact difference between the below statements.
    Types: Begin of ty_data,
                 matnr type mara-matnr,
              end of ty_data.
    Types: Begin of ty_data,
                 matnr type matnr,
              end of ty_data.
    Types: Begin of ty_data,
                 matnr like mara-matnr,
              end of ty_data.
    Types: Begin of ty_data,
                 matnr like matnr,
              end of ty_data.
    data: matnr type mara-matnr.
    data: matnr type matnr
    data: matnr like mara-matnr
    data: matnr like matnr.
    In those above statement which are correct. And the difference between those statements.
    Thanks,
    Srihari.

    hi,
    LIKE means the datatype of the variable is similar to the referenced variable.
    TYPE means it is a predefined data type.
    Eg:
    DATA int TYPE i.
    Here int is of integer data type.
    DATA var LIKE int.
    var IS a variable having same data type of int. which in turn is integer.
    You can find these helpful when you reference database table variables... You need not know what is the datatype defined.
    Also it adds to FLEXIBILITY.
    Whenever you make changes to your database tables and fields,
    that change is REFLECTED back to your program that is,
    You need not change all your program code when you change your table fields...
    Hope you understand and appreciate the flexibility that SAP provides to the programmers...
    Thanks
    Arun

  • Basic FICO doubt regarding posting expenses....

    Hi,
    I am an ABAPer. I have a basic FI doubt. We are using Project system in our company. Now for expenses, the employee enters the data in third party systems. Th third party systems then provide us with the data file which will be posted in SAP.
    The business says that if a given expense by an employee, has Project status released, then the amount for that expense should be posted to cost center otherwise the amount for that expense should be posted to the project(WBS).
    Now what does business people mean by posting expense amount to cost center or posting expense amount to Project (WBS). Where in FI can I see the option of posting amount to cost center versus posting amount to project ? Is there any transaction we can do that ?
    Regards,
    Rajesh.

    when you post to wbs element it is a cost collector which can be settled later, where as cost center is a department. When you have a project, it has on going expenese instead directly posting to a cost center , you are collecting costs in a wbs element and settling it later to cost center. you can post to the wbs element same way as cost center.

  • Basic ABAP information  urgent

    hi gurus
    i need some information about basic abap programming like archieving,periodical job,batch job , user exist,varients
    any info about batch job management?? (abap)
    help ful answers reward points
    [email protected]
    kishore

    Hi
    Follow this detail PDF File
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Regards
    Rehman
    Reward Points If Useful

  • Abap doubt basic

    wat is the diff between SE18 vs SE19

    Hi Kiran kumar,
      By using SE18---> Testing can be done.
                    SE19----> Testing cannot be done.
    Hope I am clear.
    Please let me know if you have any queries..!
    Thanks and Regards,
    Chandu.

  • Need information about basic ABAP Programs.

    Hi All!
    My self is Chandra. Past 2 weeks I am learning ABAP Language, for practices I need some basic examples of ABAP language. pls guide me where I can get this examples.
    Thanks,
    Chandra.

    Hi Chandra,
    You can go into these sites and find code examples.
    http://www.sapbrain.com
    http://www.sap-img.com
    http://www.sapgenie.com
    SAP Help site which contains topic wise tutorials.
    http://help.sap.com.
    Award points if useful.
    Regds,
    Ravi Sankara Kumar.

  • Help with basic ABAP code (merge internal tables, sort of...)

    Hello,
    Can someone please help write some basic code for a Basis guy with limited ABAP knowledge?
    Should be some easy points for an experienced ABAPer!
    I have identicaly structured internal tables I_A and I_B and I_C which have already been filled by function models I called.
    How will I code the following?:
    I want to read all the data of I_A into a new internal table I_MASTER (structured the same as I_A,I_B and I_C).
    Then I want to read I_B and:
    1)Update I_MASTER with NEW records
    2)Update existing records if the value of field MYFIELD in I_B is smaller than the value of MYFIELD in I_MASTER.
    Then I want to read I_C and:
    1)Update I_MASTER with NEW records
    2)Update existing records if the value of field MYFIELD in I_C is smaller than the value of MYFIELD in I_MASTER.
    Let me know if I can provide anymore information.
    Thanks in advance for you help!
    Adriaan
    Message was edited by: Adriaan
    Message was edited by: Adriaan

    Hi Adriaan ,
    I want to read all the data of I_A into a new internal table I_MASTER (structured the same as I_A,I_B and I_C).
    <b>i_master[] = i_a[] .</b>
    loop at i_b .
    read table i_master with key myfiled < i_b-myfield .
    if sy-subrc = 0 .
    append i_master from i_b .
    endif.
    endloop.
    loop at i_c .
    read table i_master with key myfiled < i_c-myfield .
    if sy-subrc = 0 .
    append i_master from i_c .
    endif.
    endloop.
    Let me know if this helped .
    Regards,
    Varun .
    Message was edited by: varun sonu

  • Basic ABAP knowledge for Functional consultants

    Hi Gurus
    I am interested in familiar with some ABAP knowledge as a Functional consultant.
    Please provide me some basic information
    Thanks
    Raju

    Hi,
    Use the following links....
    Reprots
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    Dictionary
    http://sapabap.iespana.es/sapabap/manuales/learnabap/
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb6e446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea31446011d189700000e8322d00/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBDIC/BCDWBDIC.pdf
    ABAP objects
    Please check this online document (starting page 1291).
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Also check this links as well.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.futureobjects.de/content/intro_oo_e.html
    http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm
    /people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action
    SAPScripts
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    Check these step-by-step links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    BAPI
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    List of all BAPIs
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    ALV programs.
    http://www.geocities.com/mpioud/Abap_programs.html
    . How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    ALV
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    Top-of-page in ALV
    selection-screen and top-of-page in ALV
    ALV Group Heading
    http://www.sap-img.com/fu037.htm
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    Pls U search our SDN also.
    Regards
    Rajesh.

  • Basic abap-oops material

    hi ,
    i am very new to abap-oops concepts please help me in getting the basic oops concept materials
    regards
    Nandini

    Refer these link,
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    Reward if found helpfull,
    Regards,
    K.Tharani.

  • Could you please suggest me the basic ABAP class names?

    I am trying to go to ABAP training, so l like to know the basic class name that i can take to learn ABAP. Please let me know. Thank you in advance.
    Aslam.

    Fundamentals is good, but you will also need these to really get you going.
    ABAP Objects
    http://www50.sap.com/useducation/curriculum/course.asp?rid=466&cid=60187182
    Advanced ABAP
    http://www50.sap.com/useducation/curriculum/course.asp?rid=466&cid=60208381
    Programming ABAP Reports
    http://www50.sap.com/useducation/curriculum/course.asp?rid=466&cid=60193497
    ABAP Dictionary
    http://www50.sap.com/useducation/curriculum/course.asp?rid=466&cid=60173823
    Regards,
    Rich Heilman

  • Basic Sensor Doubts

    Hi all,
    I am having some basic doubts regarding the functionality of the sensor.
    case 1
    Assume that sensor is in inline mode.Then
    1) By default "stop" atomic attacks
    2) By default "stop" attacks that span multiple packets
    3) By default block IP address or network addresses without "blocking" being configured?
    In the above case how is "stoping" an attack differnet from blocking it?
    case 2
    Assume that sensor is in promiscous mode
    1) By default "stop" atomic attacks
    2) By default "stop" attacks that span multiple packets
    3) By default block IP address or network addresses without "blocking" being configured
    Also in this case how is "stoping" an attack different from "blocking" an IP or network address?
    Thanks in advance
    MD

    Doesn't blocking actually drop all traffic from that IP for a specified period while dropping or stopping means it drops the packets as they are triggered?

  • Basic abap report queries

    IF sy-subrc IS INITIAL.
    LOOP AT gi_afko INTO gwa_afko.
          READ TABLE gi_mara INTO gwa_mara WITH KEY matnr = gwa_afko-plnbez.
          IF sy-subrc IS INITIAL.
            MOVE   gwa_mara-mtart TO gwa_output-mtart.
            MOVE   gwa_mara-pstat TO gwa_output-pstat.
            MOVE  gwa_afko-aufnr TO gwa_output-aufnr.
            MOVE  gwa_afko-gamng TO gwa_output-gamng.
            APPEND gwa_output TO gi_output.
          ENDIF.
        ENDLOOP.
      ENDIF.
    =======================================
    I am novice in ABAP. Please help me to understand the above coding portion.
    Q. 1. Why sy-subrc IS INITIAL is checked before loop at....into wa... statement. If it is not checked there, what problem will occur?
    Q.2. What does 'LOOP AT gi_afko INTO gwa_afko' statement mean?Does it mean that data of internal table
    of afko being shifted to it's work area with each and every loop pass?What is the exact definition of internal table and work area? internal table is a temporary storage i think and what is work area?or what's the relationship between internal table and work area.
    Q.3. what i've understood from the above coding portion that is data being read from internal table of mara to it's work area for the condition
    matnr = gwa_afko-plnbez and then again 'sy-subrc is initial'
    is being  checked. If sy-subrc is not checked here, what problem will occur?
    Q.4. What's the meaning of the statement
    'APPEND gwa_output TO gi_output'?
    Please help me to understand.
    Thanks a lot.

    Hi Cinthia,
    Ans 1 : Sy-Subrc is INITIAL means ,
                The Value of sy-subrc is 0. If it is 0 the condition is satisfied and then it executes your LOOP AT statement
    Ans 2  : While looping at gi_afko it moves one record into gwa_afko.
                 gwa_afko will consist only a single record at an instant of time and gi_afko will consist of a collection of records.
    Ans 3 : If this condition is not Initial the MOVE stmts will not get executed.
    Ans 4 : The Record in gwa_output will be added to the Internal Table gi_output.
    Please let me know if you need any further info.
    Regards,
    Sai

  • Answer these questions on Basic ABAP?

    hi all,
       answer the following,
    1)BAPI does not include
      a)import
      b)user dialogue
      c)export
      d)exception
    2)when will the TOP_OF_PAGE event will be triggered?
      a) when report starts
      b)when first write statement is executed
      c)when TOP_OF_PAGE event is triggered
      d)when START_OF_PAGE is triggered
    3)when sy-lsind = 0
      a)all secondary lists are deleted
      b)the basic list is re-displayed
      c)the basic list is overwriiten on current secondary list
      d) both basic n sec lists are deleted
    4)what parameters must be passed for search help?
      a)value
      b)nothing
      c)data element
      d)domain
    correct answer wil be rewarded high....!!

    hi asha,
    i think yesterday u atteneded timken written test. correct answers are
    1)BAPI does not include
    b)user dialogue
    BAPI works similar to Function Module, so it includes all the other terms....
    2)when will the TOP_OF_PAGE event will be triggered?
    b)when first write statement is executed.
    3)when sy-lsind = 0
    c)the basic list is overwriiten on current secondary list.
    If the list index is '0', then basic list is displayed....
    4)what parameters must be passed for search help?
    c)data element
    if helpful reward some points.
    with regards,
    Suresh.A

  • ABAP doubts/questions in developing Cusotmer Exit

    Hi,
    I found a customer exit for variables in one of the SDN docs and I have few ABAP questions in it. Function exit is EXIT_SAPLRRS0_001 and Include ZXRSU01. I would really appreciate if someone can help me with it.
    1.     What exactly is an Include? As in this case ZXRSU01?
    2.     What is the difference in the declaration DATA: xyz type d and DATA: xyz like ..
    3.     I have two declarations in a user exit DATA: L_S_RANGE TYPE RSSR SRANGESID and LOC_VAR_RANGE LIKE RRRANGEEXIT. What does RSSR SRANGESID and RRRANGEEXIT correspond to?
    4.     What is I_STEP, there is a statement which says I_STEP=2. What are the all the possible values for I_STEP. As in 2 here is after the popup.
    5.     Also what exactly is I_STEP?
    6.     What does I_VNAM and I_T_VAR_RANGE correspond to? (If I am not wrong it corresponds to variable name)
    7.     From where can I get a list of all such standard variables like I_STEP, I_VNAM…
    Thank you,
    sam

    Your explanation is good. But right now I am working developing a customer exit for BEx variable. Can you please explain questions above in context to the code below:
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
    Data: v_loc_date type d.
    Data: v_loc_date1 type d.
    Data: v_loc(4) type c.
    CASE I_VNAM.
    to calculate "month to date" user input is "Calday" Key Date
    WHEN 'ZPUTMNTH'.
    IF I_STEP = 2. "after the popup
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZPDATE'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(6). "low value, e.g.YYYYMM (200606) part of key date (20060625)
    L_S_RANGE-LOW+6(2) = '01'. “ low value e..g. YYYYMM01 (20060601)
    L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    EXIT.
    ENDLOOP.
    ENDIF.
    Thank you,
    sam

  • Basic ABAP

    Can anyone give me a simple example of using ABAP:
    1. when creating a custom planning function for Planning Applications
    2. when creating variable of processing type Customer exit
    3. when extending standard Extract Structures on SAP R/3 side by adding new fields and populate them
    Thanks )

    Hi,
    1. when creating a custom planning function for Planning Applications
       If your not statisfy the what sap given functions that time we go for the custom planning function.
         If want do some calculations this requirement sap given planning functions is not sutable for me that time i will go for the custome planning function.
    2. when creating variable of processing type Customer exit
        My user want to do the repport overdue of payments. this type of scnario we go for the customer exit.
    3. when extending standard Extract Structures on SAP R/3 side by adding new fields and populate them
        Most of the time we enhance the standard data source. Because what sap given fileds is not statisfy with the client requirement.
    Hope it helps you.
    Thanks and Regards,
    Venkat.

Maybe you are looking for