Abap sub

hi guys, i have a set of questions in abap. kindly answer. looking forward for ur available guidence.
1. how to do BDC for transcation code FA00.
2.how to debugg smartforms
3.in reports selection screen, does the text elements get transported along with the program

Hi,
2.Follow these steps.
1. Execute the smartform.It will open a FM in se37 screen.
2. Press Display.
3. Press find(CTRL+F).
4. Enter command here at which you want to put the break point.
5. Select the radio button 'in main program'.It will open the point at which you want to put the breakpoint.
6. Put the breakpoint here and execute the smartform again.It will stop at the point where you put the breakpoint.
Use SMARTFORM_TRACE to trace smart forms.
Regards,
Priyanka.

Similar Messages

  • Separate ABAP sub-forum for ABAP HR developments?

    Dear Moderators
    Can we have a separate category under ABAP for ABAP-HR developments? 
    This would be helpful for many ABAP-HR issues to be addressed at the earliest and also search a solution in the relevent forums only.
    Please give it a thought.
    Regards,
    Rupesh Mhatre
    Edited by: Thomas Zloch on Mar 2, 2011 9:28 AM - subject enhanced

    Moved to suggestions & comments.
    This request has some history:
    Separate ABAP-HR Forum?
    Moderators cannot decide that, it's up to SCN administrators. I believe they want to see enough demand for a sub forum before creating it, and no good arguments against.
    Personally I'm undecided. We don't have sub-forums for all other SAP modules. I know HR/HCM is technically different in some ways, but don't know enough about it to really make a call.
    Thomas

  • Form - Perform and ABAP coding

    Hi:
    I have a requirement to get vendor address from database and print on the form. I could print only one field only Name1, but not details like Street or country Etc are not getting printed. Even if we pass multiple variables as input and putput variables using perform of form, I think we need to declare only one input as INTTAB  STRUCTURE ITCSY and one out put variable as OUTTAB  STRUCTURE ITCSY in the ABAP program. In the program I am using Index option like 1, 2 and modifying details of OUTTAB. Is it correct?.
    Still I am unable to print complete address on the form.
    For this I am unsing Perfom option in the form.
    Can you please help in the following:
    1) Can I pass one value vendor from form using perform and get back a structure from ABAP program?.
    2) I am using following:
             DEFINE &VENDOR_NAME& = ' '
             DEFINE &VENDOR_STREET& = ' '
             PERFORM GET_DATA IN PROGRAM Z_TEST
                       USING &VENDOR_NO&
                       CHANGING &VENDOR_NAME&
                       CHANGING &VENDOR_STREET&
             ENDPERFORM.
    For Printing I am using inthe form
                        &VENDOR_NAME&
                        &VENDOR_STREET&
    In the ABAP program I am using
    FORM GET_DATA TABLES INTTAB  STRUCTURE ITCSY
                         OUTTAB1 STRUCTURE ITCSY.
      IF SY-SUBRC EQ 0.
        SELECT SINGLE NAME1 STR_SUPPL1
           FROM ADRC
           INTO (V_NAME1,V_STR_SUPPL1)
           WHERE ADDRNUMBER = V_ADRNR.
        IF SY-SUBRC EQ 0.
    *- Name1
          READ TABLE OUTTAB1 INDEX 1.
          MOVE V_NAME1 TO OUTTAB1-VALUE.
          MODIFY OUTTAB1 INDEX SY-TABIX.
    *- Street
          READ TABLE OUTTAB1 INDEX 2.
          MOVE V_STR_SUPPL1 TO OUTTAB1-VALUE.
          MODIFY OUTTAB1 INDEX SY-TABIX.
      ENDIF.
    Can you please check above code and let me know if I am doing mistake anywhere?..like passing variables, printing variables on the form and ABAP sub-routine etc.
    Please do not copye again same code what is find in SAP ABAP help.
    Thanks in advance for your help.
    Thanks,
    Rama

    Naren:
    Your code did not work...
    Sorry I did not paste my complete code(when I posted message )as too much code might be confusing. Please find my code below:
    FORM GET_DATA TABLES INTTAB  STRUCTURE ITCSY
                         OUTTAB1 STRUCTURE ITCSY.
      DATA: V_ADRNR          LIKE LFA1-ADRNR,
                V_NAME1          LIKE ADRC-NAME1,
                V_STR_SUPPL1 LIKE ADRC-STR_SUPPL1,
                V_LIFNR             LIKE LFA1-LIFNR.
      READ TABLE INTTAB INDEX 1.
      V_LIFNR =  INTTAB-VALUE.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = V_LIFNR
        IMPORTING
          OUTPUT = V_LIFNR.
      SELECT SINGLE ADRNR
        INTO V_ADRNR
        FROM LFA1
         WHERE LIFNR = V_LIFNR.
      IF SY-SUBRC EQ 0.
        SELECT SINGLE NAME1 STR_SUPPL1
           FROM ADRC
           INTO (V_NAME1,V_STR_SUPPL1)
           WHERE ADDRNUMBER = V_ADRNR.
        IF SY-SUBRC EQ 0.
    *- Name1
          READ TABLE OUTTAB1 INDEX 1.
          MOVE V_NAME1 TO OUTTAB1-VALUE.
          MODIFY OUTTAB1 INDEX SY-TABIX.
    *- Name1
          READ TABLE OUTTAB1 INDEX 2.
          MOVE V_STR_SUPPL1 TO OUTTAB1-VALUE.
          APPEND OUTTAB1.
        ELSE.
          READ TABLE OUTTAB1 INDEX 1.
          MOVE 'NO NAME' TO OUTTAB1-VALUE.
          MODIFY OUTTAB1 INDEX SY-TABIX.
        ENDIF.
      ENDIF.
    ENDFORM.
    I am not sure where the mistake can be in the SAP-Form or in the ABAP Subroutine code....
    Thanks,
    Rama

  • Sticky Threads in ABAP Forum

    After the most recent upgrade, all of the sticky threads of all of the ABAP sub-forums appear at the top of the main forum. This pushes new threads further down the list. As a result we have to refresh more often and put more pressure on the SDN servers.
    So could the stickies just appear at the top of the sub forums like they used to?
    Rob

    I second that!!! 
    Regards,
    RIch Heilman

  • Material Master upload problem (LSMW)

    Hi
      I am using Standard Batch input program (RMDATIND)  for MM upload i need to validate the old material number if it is already existed in MARA it should throw an error at the end of the processing saying that "Old material number" already existing in MARA . Flat file will have thousands of records.
    One solution like, we can move all the error records in one internal table in code of Filed mapping conversion rule step , but the problem is where we can write the error records?
    Another question when we use Standard program for conversion is it possible to show error log at the end of the processing?
    Its very urgent  Kindly help me ........
    Rgds,
    bhanu.......

    Hi,
      YOu can populate error messages in LSMW. To achieve this you add code in LSMW.  Follow the below procedure to add code in LSMW.
    In Display FieldMapping and Conversion rule Step of LSMW click the button Display Variant. A screen will pop up. Check the boxes - Global Definitions and ABAP Sub Programs. This will allow you to add code in LSMW.
    At check the error records follow the below mentioned procedure...
    <b>Error messages in the conversion log</b>
    How can user-defined error messages be added to the conversion log?
    1.     Use of  WRITE  command in the Coding
    a.     Example: WRITE: ‚Error during conversion of field xxx’
    2.     In the editor use ‚Insert -> Message’ to use a message already existing in the SAP system.
    a.     Example (Coding after using the menu function and filling the fields):
    WA_ERRORTAB-ID = '/SAPDMC/LSMW'.
    WA_ERRORTAB-MSGNO = 012.                         
    WA_ERRORTAB-PAR1 = 'A'.                          
    WA_ERRORTAB-PAR2 = 'B'.                          
    WA_ERRORTAB-PAR3 = 'C'.                          
    WA_ERRORTAB-PAR4 = 'D'.                          
    INSERT WA_ERRORTAB INTO TABLE G_ERROR_TAB. 
    The message will be added to the log.
    For further reference click the link below
    http://www.erpgenie.com/sapgenie/docs/Lsmw.zip.
    Regards,
    Vara

  • GRC PC 10 - Source Connector update impact to AC 10

    Hello
    We had an issue with one of our controls where we were utilizing an ABAP sub scenario. The job would not finish and remain "in progress" for any scenarios involving a GRC satellite system (e.g. ECC, SRM). SAP advised us to change the source connector in the "Maintain Connectors and Connection Types" in SPRO so that the source system is GRC instead of the satellite system. We tested the updated assignment and noted that the update worked.
    Our concern is what, if any, impact these changes will have to our AC side. I have done a bit of research and noticed that the "source connector" field is not needed for AC so there may not be an impact. We are going to test provisioning to confirm but also wanted to query the SCN to see if anyone else had experience with this. I've included a screen shot below that displays the updates we made to the source connector.
    Does anyone know if updating the source connector will have an impact on the GRC AC side?

    Hi Stacey,
    Updating the source connector should not impact any AC functionality, you make a test and in case
    it impacts then could be some other reason which we can check.
    Regards,
    Silky Sharma

  • SAP Script debug

    Hi,
    I designed SAP script. I used standard SAP program. Now I am getting problem.
    The problem is the script is working fine for TW10 plant location,
    but the same script is not working for TW90 plant location. I want to debug the script.
    Is it possible. Give me any advice.
    Thanks.
    Moderator message: script debugging = FAQ, please search before posting, use correct ABAP sub forum when posting.
    locked by: Thomas Zloch on Oct 1, 2010 3:27 PM

    Hi Meghna,
    Open SE38 give prog name RSTXDBUG and execute. By thuis Sapscripr form debugger will be activated. Then you execute your code and it will stop when the control comes to sapscript.
    Regards,
    Amitava

  • How to call a sub screen from abap report

    Hellow friends,
    how to call sub screen 1001 prog name SAPLMGD1
    and main program SAPLMGMM screen 4000 of tcode MM02.
    i need to call the sub screen from abap report

    Hi Rajesh,
    You can use FM MATERIAL_MAINTAIN_DIALOGUE to go to subcreen MRP1 in MM02.
    Please check this sample code from other thread and enter 'MRP 1' for p_dytxt.
    REPORT zsritest.
    TABLES mara.
    DATA: lv_bilds LIKE t133a-bilds,
    ls_t130m LIKE t130m,
    ls_rmmg1 LIKE rmmg1,
    lwa_view TYPE mbildtab,
    lwa_auswg TYPE mgauswg,
    lt_views TYPE STANDARD TABLE OF mbildtab INITIAL SIZE 0,
    lt_auswg TYPE STANDARD TABLE OF mgauswg INITIAL SIZE 0.
    PARAMETERS: p_matnr LIKE mara-matnr,
    p_werks LIKE marc-werks,
    p_dytxt LIKE mbildtab-dytxt.
    SELECT SINGLE * FROM mara WHERE matnr EQ p_matnr.
    CHECK sy-subrc EQ 0.
    CALL FUNCTION 'T130M_SINGLE_READ'
    EXPORTING
    tcode = 'MM02'
    kzrfb = 'X'
    IMPORTING
    wt130m = ls_t130m
    EXCEPTIONS
    not_found = 1
    wrong_call = 2
    OTHERS = 3.
    CALL FUNCTION 'BILDSEQUENZ_IDENTIFY'
    EXPORTING
    branche = mara-mbrsh
    materialart = mara-mtart
    tcode_ref = ls_t130m-trref
    * KZRFB = ' '
    IMPORTING
    bildsequenz = lv_bilds
    * KZ_BILDS_CHANGED =
    EXCEPTIONS
    wrong_call = 1
    not_found = 2
    OTHERS = 3.
    CALL FUNCTION 'SELECTION_VIEWS_FIND'
    EXPORTING
    bildsequenz = lv_bilds
    pflegestatus = mara-pstat
    TABLES
    bildtab = lt_views[]
    EXCEPTIONS
    call_wrong = 1
    empty_selection = 2
    OTHERS = 3.
    ls_rmmg1-matnr = mara-matnr.
    ls_rmmg1-werks = p_werks.
    READ TABLE lt_views INTO lwa_view WITH KEY dytxt = p_dytxt.
    CHECK sy-subrc EQ 0.
    lwa_auswg-auswg = lwa_view-auswg.
    APPEND lwa_auswg TO lt_auswg.
    CALL FUNCTION 'MATERIAL_MAINTAIN_DIALOGUE'
    EXPORTING
    irmmg1 = ls_rmmg1
    * IRMMG1_REF = ' '
    KZ_EIN_DARK = 'X'
    t_tcode = 'MM02'
    * FLG_MATNR_RES = ' '
    p_pstat = mara-pstat
    * FLG_STAT_ALL = ' '
    * CALL_MODE2 = ' '
    * IMPORTING
    * MATERIAL_NO =
    * UPDATE_OK =
    TABLES
    iauswg = lt_auswg[]
    EXCEPTIONS
    no_authority = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Ferry Lianto

  • How to create the sub type field in hr abap infotype

    hi ,
        how to create the sub type field in hr abap infotype.
    regards,
    venkat.

    Try like this also
    creating of infotype please follow these steps ...
    Step 1: Create Infotypes
    i. Goto Transaction PM01 – To create Infotypes:
    ii. Enter the Infotype Number and say create all.
    iii. The following message would display:
    i. PSnnnn Does not exist. How do you want to proceed?
    iv. Click
    v. A maintain Structure screen appears.
    Fill in the short text description and the PS structure of the Infotype.
    Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you required.
    vi. Once the PS Structure is created, save and activate the structure.
    vii. In the initial screen of PM01, now click on .
    Create a new entry for the infotype.
    Fill in the values as mentioned below and save.
    Infotype Characteristics:
    Infotype Name of the infotype_ Short Text: __Short Description________
    *General Attributes :
    Time constraint = 1
    Check Subtype Obligatory
    Display and Selection:
    Select w/ start = 3 “Valid record for entered data
    Select w/ end = 5 “Records with valid dates within the period entered
    Select w/o date = 6 “Read all records
    Screen header = 02 “Header ID
    Create w/o end = 1 “Default value is 31.12.9999
    Technical Data:
    Single screen = 2000
    List screen = 3000; List Entry Checked.
    viii. In the initial screen of PM01, now click on .
    Choose the infotype entry in the list.
    Fill in the values as mentioned below and save.
    Technical Attributes:
    In tab section,
    The following attribute values are given:
    Applicant DB Tab = PAnnnn “Infotype Name
    Subtype field = SUBTY
    Subtype table = T591A
    Subty.text tab. = T591S
    Time cnstr.tab. = T591A
    Prim. /Sec. = I Infotype
    Period/key date = I Interval
    and .
    ix. Infotype Screen Modification:
    Edit Screen 2000 from PM01 for the Infotype.
    ABAP Editor for the Infotype Program MPnnnn00 will be displayed.
    Click . Flow Logic will be displayed. There string coding of your own logic.
    Regards
    Pavan

  • ABAP Query SUB-TOTALS by Month

    Hi,
    I am making an ABAP Query and I am trying to create sub-totals per month.
    EX.          Quantity         Date
                        1           01/01/2008
                        2           01/02/2008
    sub-total        3
                        1          02/01/2008
    sub-total        1
    does anyone know how i can do this? (create sub-totals based on the date field)
    Thanks!

    I dont think standard ALV subtotalling will do like this. But there is one workaround
    I would suggest you to have one more column named Month. In that column save the month for that row. Then do the subtotalling based on that field Month instead of date field.
    Hope this will help
    cheers
    Kothand

  • Sub header in a salv grid in web dynpro abap

    Hi All,
    How to create sub header in a salv grid in web dynpro abap?
    Please help in this.
    Header
    Subheader1
    Subheader2
    Then after this columns will starts.

    I don't believe that is possible with the ALV directly:
    [http://help.sap.com/saphelp_nw70/helpdata/EN/86/641b88c9034eebacb26ba7fbb17981/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/86/641b88c9034eebacb26ba7fbb17981/frameset.htm]
    The closest you could probably get is to put your ALV within a Tray or Group and put your main header in the the Tray or Group caption.  Either that or just put a textview element above the ALV and set the design of the textview to one of the header values (depending upon the size you want).

  • Sub-total and Total for a column having checkboxes in WD ABAP ALV

    Hello Experts,
    I have used ALV in We bdynpro ABAP to display my output. There are 2 columns that are checkboxes in Output. I want a sub-total and total for those two columns. I know tht total and sub-total functionality is available only for numeric fields .
    Is there any other indirect way by which i can achieve the same ?

    Hi Ragini,
    Please refer this thread: [alv total and subtotal|How to display graphs;.
    I hope it helps.
    Regards
    Arjun

  • ABAP HR - New status/sub-status update in Appraisal forms

    Hi Abapers,
    As of now the program is generating status/sub-status using FM's: HRHAP_C_NAME_READ_D_STAT and HRHAP_C_NAME_READ_D_STAT_SUB. and generating appraisal forms in tcode: PHAP_ADMIN_PA.
    Now I have added status/sub-status and date fields in selection screen. Requirement is that the program should check this date against form creation date, If begin date of the form is not after any of three dates specified in selection screen then status/sub-status specified in selection screen is not used. else status/sub-status specified in selection screen is used.
    FM: HRHAP_DOCUMENT_PREPARE is used to generate appraisal forms where the status and sub-status are picked from infotype: 5026 and related tables. though i have modified program, new status/sub-status is not reflecting in appraisal forms.. how can i achieve this...
    Please help me.. i need your help..

    Hi Premraj,
    Selection screen: (assumptions)
    P_status:
    P_begda:
    P_endda:
    P_date:
    Assume that from creation date is system date:
    If  sy-datum >= p_begda and
         sy-datum >= p_endda and
         sy-datum >= p_date.
    Use the selection screen status/sub-status.(p_status)
    Else.
    What ever your condition.
    Endif.
    Please let me know if you need more information.
    Regards,
    Ramakrishna kotha.
    +91 9848468817.

  • ABAP Add-on certification on sub-contractor system

    Hi all,
    My company has some ABAP Add-on, which was developed for us by an outsourcing contractor on his system based on our design and instructions.
    This Add-on and all code sources are our property of course.
    Now we wish to certify this ABAP Add-on on our contractor system but the certification needs to be on our company name of course since this is our property.
    How can perform such a process?
    Thanks for the help,
    Roy

    Hi Anand,
    Has this question ever been answered?
    Is it possible to package BC-sets in a PAT file?
    if not, how do you package BC-sets for certification?
    If yes, how did you manage to do this?
    Thanks
    Stephan

  • Disabling the Sub Road map steps in web dynpro abap

    Hello Experts,
    I am using Floor Plan Manager for Road map(FPM_GAF_COMPONENT).
    I have 5 main road map steps of which the second one has 3 ( 2.1, 2.2 , 2.3 ) sub road map steps.
    I have a requirement of enabling only the sub road map step in which we are presently in.
    The other sub road map steps should be disabled.
    Like if i am in 2.2  then 2.1 and 2.3 should be disabled.
    I have solved this issue for main road map steps but unable to find a way for doing the same with Sub Road map steps.
    Please help me out in this.
    Thanks in Advance,
    Shravan Varma

    Substeps are not shown automatically, they are to be enabled at runtime .
    See in page 35/36 adding/activating substep
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0d500f5-5205-2e10-43a6-dd023a5d0818?QuickLink=index&overridelayout=true

Maybe you are looking for

  • JMS Topic - Deliver to only one Durable Subscriber

    Hi, Is it possible to put a message onto a topic but only have it delivered to a single durable subscriber? I realise this breaks the rules of what a topic is but this is for a scenario where a single subscriber has errored when processing the origin

  • Error while transporting Function module.

    Hi guys, A z fun. Module was already created by some user on client 150.I changed,Activated it on client 180 ,but when I transport it to production I get the follow Error when I checked in "SMTS" .Please guide.    Generation of programs and screens  

  • Up Volume button doesn't work!

    Hello,     Recently I dropped my BB into the river while fishing.   I dried it out and everything still works except the UP Volume button.  Does anyone know of an app that can control the volume using the touch screen or the keyboard?  I've searched

  • Driver Updates for Acer Aspire 5750Z Help

    I have successfully did a complete System Restore,which worked great. Bit I'm sure that some, ifnot allo, my drivers should be updated. Where do I get driver updates for Acer Aspire 5750Z. I have  never done anything like this before so if someone co

  • I have downloaded the Fliqio clock which is great - but I can only have it as a screensaver until I lock my phone

    I have downloaded the Fliqio clock on my iPhone 5s which is great - but i want to keep it as a screen saver when I lock my phone, but it does not allow this It will only appear if I do not lock it Can anyone help please?