Doubt in using "PBWW"

HI ,
i am doing one scrpit by using standard text like ,
i am using the ""PBWW'"" transaction code here i selected ww-invitation ,
and i changed that to my zz-invition ,but i have to write some logic in that stadard text,
but i find out all tables and everything ,but i am not able to find out where we have to write our code ,how we have to write the code,
plz let me know,
this is very urgent,
thanks and regards,
saikrishna.

Hi Sai Krishna,
please have a look at transaction SPRO (SAP Reference IMG>Personnel Management>Recruitment>Applicant Selection>Applicant Activities-->Applicant Correspondence).
You will find the setup and documentations concerning the correspondence with the applicant there.
Brief description:
1. Create a structure with the new fields
2. Create a Modulpool named "ZPAP3CUS"
3. Create several forms as described in the documentation mentioned above
4. Finished!
It's a piece of cake!
Good luck!
Regards
CHRIS

Similar Messages

  • Doubt about using automation testing in mtm and vs 2012

    Hi
    Ive a doubt in using mtm and vs 2012. I wanna test a software by automation method
    1) whether i should record the steps in visual studio and attach the recorded file to mtm and test
    or
    2) can i record the script(steps) in mtm and run the automation testing in mtm, if you say yes what are the step.
    Plz help me out for both 1 and 2 by tell the steps.
    Thank you
    Reguards
    Pavan kumar R 

    Hi Pavan,
    It is based on the detail requirement to choose them.
    Do Coded UI test in visual studio 2012, we could record the action and playback, link tests to test case that in MTM, we also could base on the detail requirement to modify the code.
    Do manual or automated test in MTM 2012, we also could record the action and playback, but can’t modify the code (need do it in vs), we could do automated tests in lab environment
    # System Testing Your Application Using Microsoft Test Manager
    http://msdn.microsoft.com/en-us/library/jj635157(v=vs.110).aspx
    For the automated test in MTM, you could refer to these steps below:
    Create tests
    Check in TFS
    Link test methods to test case
    Queue a build
    Create lab environment in mtm
    Do automated test
    More information, please refer to:
    # Essential Guide for Running Automated Tests from a Test Plan
    http://msdn.microsoft.com/en-us/library/ff472576(v=vs.110).aspx
    If we record the action (script/steps) in the MTM, we could
    playback the test, if we want do the automated test for that recording, we could generate the code in VS and link that test to the test case, after that we could do automated tests.
    # Generating a Coded UI Test from an Existing Action Recording
    http://msdn.microsoft.com/en-in/library/dd286652(v=vs.110).aspx
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Doubt in using :Function Module : MS_CONVERT_TO_OTHER_CURRENCY

    Hi ,.
    In the Function Module :MS_CONVERT_TO_OTHER_CURRENCY.
    I have to export following parametes:
    DATE            
    FROM_CURRENCY   
    FROM_AMOUNT     
    TO_CURRENCY     
    COMPANY_CURRENCY
    RATE  (optional)    .
    Here my doubt is :what is the purpose of COMPANY_CURRENCY .What value i have to populate here , how i have to find the  company currency?
    I think we have to find this COMPANY_CURRENCY  based on the sales organization.
    Please update me regarding this COMPANY_CURRENCY .
    Thanks,
    Suresh.

    Have you tried using 'CONVERT_TO_FOREIGN_CURRENCY' instead?
    DATA: v_amount TYPE p DECIMALS 2.
    CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'
    EXPORTING
    date = sy-datum
    foreign_currency = 'INR'
    local_amount = '1.00'
    local_currency = 'USD'
    IMPORTING
    foreign_amount = v_amount
    EXCEPTIONS
    no_rate_found = 1
    overflow = 2
    no_factors_found = 3
    no_spread_found = 4
    derived_2_times = 5
    OTHERS = 6.
    IF sy-subrc = 0.
    WRITE: / 'US dollar to Indian rupees - ', v_amount.
    ENDIF.

  • Doubt  in using html:checkbox in struts

    Hi all,
    In my jsp page i have 2 checkboxes name mandatory and active.
    <html:checkbox property="mandatory" value="true"/>
    <html:checkbox property="active" value="true"/>
    Insertion of data works fine,and now my doubt is about the edit mode.
    In edit mode,depending on th value of thethese fields wheteher 0 or 1,checkbox should be checked.how can it be done?
    In th corresponding for,the properties I declared as boolean values.Also reset method is provided .
    Anyone pls help.
    thanks

    It's rather nasty, but you could wrap all your strings in <html></html>. Even so you still have to use entities, but the
    following displays what you want:JLabel lbl = new JLabel("<html>&lt;html>&lt;/html></html>");

  • Doubt about uses of OBIEE

    I have some doubts about the possible uses of OBIEE. It happens that using OBIEE sometimes users demand report of an "analytical" type, that is aggregated analysis through OBIEE’s Answers, selecting data from dimension tables and measures from fact tables. That’s the ordinary purpose of business intelligence tools!!!
    Some other times though, users demand to perform through Answers analyses of an "operating" type, that is simple extractions of some fields belonging to dimension tables, linked between each other through joins, (hence without querying fact tables): that happens because some of the tables brought in the datawarehouse are not directly linked to any fact table. In this way users want to use Answers to visualize data even for this kind of extractions (or operating reports).
    Is this a correct use of the tool or is it just a “twisted” way of using it, always leading eventually to incorrect extractions? If that’s the case, is it possible to use instead BI Publisher, extracting the dataset through the "Sql Query" mode in a visual manner? The problem of the latter solution, in my case, relies in the fact that users are not enough skilled from the technical point of view: they would prefer to use Answers for every extraction, belonging both to the first type (aggregations) and the second one (extractions), that I just described. Can you suggest a methodology to clarify this situation?

    Hi,
    I understand your point... But I think OBIEE doesn't allow having dimension "on their own", they must be joined to a fact table somehow. This way, when you do a query in answers using fields of two dimension tables a fact table should be always involved. When dimensions are conformed, several fact tables may be used, and OBIEE uses the "best" one in terms of performance. However, there are some tricks that you can do to make sure a particular fact table is used, like using the "implicit fact column" in the presentation layer.
    So back to your point, using OBIEE for "operational" reporting as you call it is a valid option in my experience, but you have to make sure that the underlaying star schema supports the logic that your end users expect when they use just dimension fields.
    Regards,

  • Doubts about use of REPORTS_SERVERMAP with Forms11g HA

    Hi,
    I'm configuring a Linux 64bits Forms/Reports 11g HA environment, the point is that i have two nodes, each one with its Forms and Reports servers, let's say FormsA and ReportsA for the first node and FormsB and ReportsB for the seconde node.
    i want FormsA to be able to call reports from ReportsB and FormsB to be able to call reports from ReportsA.
    I've been reading about REPORT_SERVERMAP
    http://docs.oracle.com/cd/E12839_01/bi.1111/b32121/pbr_conf003.htm#autoId5
    But i have some doubts about its use:
    1. I will not use a shared cluster file system or any way of cache solution, i will only have my rdf files on each node, and i'm wondering if just by configuring this parameter i will be able to get the effect mentioned above ??
    2. The link provided says "Using RUN_REPORT_OBJECT. If the call specifies a Reports Server cluster name instead of a Reports Server name, the REPORTS_SERVERMAP environment variable must be set in the Oracle Forms Services default.env file"
    In fact i'm using RUN_REPORT_OBJECT but
    what is the Reports Server cluster name ?? and where do i find that name ??
    3. Is this configuration well defined:
    REPORTS_SERVERMAP=clusterReports:ReportsA;clusterReports:ReportsB
    4. At forms applications when using RUN_REPORT_OBJECT, can i assume that the report server name will be the cluster name specified at the REPORTS_SERVERMAP ??
    5. Which files should i modify rwservlet.properties or default.env ??
    Hope you can help me :)
    Regards
    Carlos

    Hi,
    1. I will not use a shared cluster file system or any way of cache solution, i will only have my rdf files on each node, and i'm wondering if just by configuring this parameter i will be able to get the effect mentioned above ??
    --> In such case what could go wrong is
    Suppose Run_report_object executed jobs successfully to ReportsA
    But web.show_document command for getjobid failed ( as ReportsA went down by this time)
    --> You will not get the output shown ( though job was successful)
    If shared cache was enabled, then Even if ReportsA is down, other cluster member ( say ReportsB)
    will respond back to web.show_document.
    Point 2,
    --> Under HA is it highly recommended to use web.show_document ( a servlet call) to execute reports. This is to help use all HA features at the HTTP , Webcache or load balancer level.
    However if there is migrated code or Run_report_object is must, then the recommendations as you see in the pointed document is must.
    REPORTS_SERVERMAP setting needs to be configured in rwservlet.properties file and also in default.env Forms configuration file to map the Reports Server cluster name to the Reports Server running on the mid-tier where the Load Balancer forwarded the report request.
    For example FormsA, ReportsA, cluster name say rep_cluster
    default.env file
    REPORTS_SERVERMAP=rep_cluster:ReportsA
    Where "rep_cluster" is the Reports Server cluster name and "ReportsA" is the name of the Reports Server running on the same machine as FormsA
    rwservlet.properties file
    <reports_servermap>rep_cluster:ReportsA</reports_servermap>
    At default.env this is not a valid entry
    REPORTS_SERVERMAP=clusterReports:ReportsA;clusterReports:ReportsB
    what is the Reports Server cluster name ?? and where do i find that name ??
    --> This is created via EM on the report server side.
    Would recommend to refer following documents at the myoracle support repository
         How to Setup Reports HA (High Availability - Clusters) in Reports 11g [ID 853436.1]
         REP-52251 and REP-56033 Errors When Calling Reports From Forms With RUN_REPORT_OBJECT Against a Reports Cluster in 11g. [ID 1074804.1]
    Thanks

  • DOUBT IN USING AN APPROPRIATE STRUCTURE!!

    Good Morning guys,
    I have a doubt in selecting an appropriate structure in forms builder , in order to store the results of a select statement, but i also want this structure to have the ability to retrieve some results parametrically. My basic application is written in Powerbuilder 7 and i want to transfer it in forms builder. Powerbuilder as the most of you know, has datawindows and my basic target is to find an appropriate structure which will have similar properties with datawindows, in order to use them in forms builder. I hope to be clear. So if anyone has dealt with powerbuilder and forms i hope to help me. Are there any structure except from recordgroup and datablocks i can use, and if no which one of thse 2 have i to use?
    Thanx in advance,
    Bill.

    If you need this structure to have the ability to retrieve some results parametrically,
    you can use data block based on a ref cursor, table of record, or FROM clause.
    See Forms help:
    Building and Running a Form
    - Modifying a Form
    -- Adding a Block
    --- Creating a data block from a procedure that uses a ref cursor
    --- Creating a data block from a procedure that uses a table of records
    --- Creating a data block from a FROM clause
    Regards,
    Zlatko Sirotic

  • Doubt with use of PCD Tools

    Dear Experts.
    I am changing  the texts of the the pages and Worksets used for Manager Self-Service(I am using MSS with BP 1.41). For this I am using the PCD Tools and translate the text to the Spanish.
    I have the following doubt:
    The change that i did when I want transport the package to the enviroment of production, this change also pass?
    Best Regards.
    Carmen

    Carmen,
    yes you can do that
    check these links
    http://help.sap.com/saphelp_sm32/helpdata/de/10/521640b7b6dd5fe10000000a155106/content.htm
    portal content translation transport
    Thanks
    Bala Duvvuri

  • Some doubts in using resource-ref,connection pool n Data-source

    Hi all ,
    I need little bit clarification in the following points.
    1) Does the connection pool which is created can be displayed in JNDI Tree???
    I am seeing only DataSOurce in the JNDI Tree Only.
    2)In case of Bean Managed Persistance, in ejb-jar.xml,
    I had given the following info.
    <resource-ref>
             <res-ref-name>ramukkDataSource</res-ref-name>
             <res-type>javax.sql.DataSource</res-type>
             <res-auth>Container</res-auth>
         </resource-ref>Does the <res-ref-name> refers to Datasource Name??
    In weblogic-ejb-jar.xml
    <reference-descriptor>
           <resource-description>
              <res-ref-name>ramukkDataSource</res-ref-name>
              <jndi-name>ramukkpool</jndi-name>
           </resource-description>
         </reference-descriptor>Here <jndi-name> refers to connection pool as per weblogic bible book.
    If so when i deployed my ejb into the server iam getting Datasource cant be found.
    If i had given like the following,
    In ejb-jar.xml
    <resource-ref>
              <res-ref-name>jdbc/ramuJndi</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
         </resource-ref> In weblogic-ejb-jar.xml
         <reference-descriptor>
              <resource-description>
               <res-ref-name>jdbc/ramuJndi</res-ref-name>
               <jndi-name>jdbc/ramuJndi</jndi-name>
           </resource-description>
        </reference-descriptor>Then only my ejb code is successfully deploying doing some work which is as per xpectation.
    Can any body tell why I have to give the same name for <res-ref-name> n <jndi-name>??
    I am working on this problem from last one week. Still not found the solution.
    Connection Pool Creation
    GENERAL::
    Name : ramukkpool
    url : jdbc:mysql://localhost:3306/test
    Driver Classname: com.mysql.jdbc.Driver
    Properties :
    user = root
    Password = XXX
    create
    TARGETS::
    i had shifted myServer from left side to right side n clicked >>Apply
    (Techncially can we say this as deploying the connection pool into server ???????????
    If not how to deploy the connection pool into server??)
    I did not get any errors in the console.
    Now i am creating a datasource
    CONFIGURATION:
    Name : ramukkDataSource
    JNDIName: jdbc/ramuJndi(Does we have to follow this convention only?? i.e JNDIName should start with jdbc/ only)
    PoolName: ramukkpool
    create
    TARGETS::
    I had shifed myServer from left to right n >>Apply.
    Now also i did not get any errors in the console.Thanx(in advance),
    ramu

    I have read the documentation.
    I changed my class to oracle.jdbc.pool.OracleConnectionCacheImpl from
    oracle.jdbc.pool.OracleConnectionPoolDataSource
    I observed in the EM that the Open JDBC Connections and Total JDBC Connections are the same. When I used oracle.jdbc.pool.OracleConnectionPoolDataSource my Total JDBC Connections was increasing and Open JDBC Connections remains 0.
    My question still remains unanswered, could some kindly help.
    Q? I have defined a data source in JDeveloper using
    oracle.jdbc.pool.OracleConnectionCacheImpl
    In my java bean I am using the code pasted below to make a connection to database.
    Can some one tell whether I am using the correct method of connection pooling mechanism or do I need to make some changes? This application uses JSP and used by lots of people which hits database very frequently.
    Any help is highly appreciable.
    Thanks in advance.
    *******Code to make connection*********
    private javax.naming.InitialContext context = null;
    private javax.sql.DataSource jdbcURL = null;
    private static final String url = "jdbc/ProdCoreDS";
    public boolean openConnection()
    try
        DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    context = new javax.naming.InitialContext();
    jdbcURL = (javax.sql.DataSource)context.lookup(url);
    con =  jdbcURL.getConnection();
    return true;
      catch(Exception e)
           System.out.println("Error in the Connection  "+e);
        e.printStackTrace();
                 return false;
         }}

  • Doubt in using SO_NEW_DOCUMENT_ATT_SEND_API1

    Im haveing a problem in this same FM.
    I want to send via e.mail the file attach of service object .
    I use the fm SO_DOCUMENT_READ_API1 to to read file.
    The problem is that I can not get the FM, I think I wrong to set some information, since sending is correct but the file is not readable.
    Someone has to send me an example?
    tanks in advance

    Hi,
    check out this sample code:
      data: objcont like solisti1 occurs 10 with header line.
      data: doc_data like sofolenti1.
    call function 'SO_DOCUMENT_READ_API1'
             exporting
                  document_id    = '545645555'
             importing
                  document_data  = doc_data
             tables
                  object_content = objcont
             exceptions
                  others         = 1.
    reward appropriate points.
    Regards,
    mansi.

  • Doubt in using replace statement

    Hi all,
       I have a requirement where user will enter more than 1 label no in a screen, which will be populated internally in a table by SAP with ## for every ENTER button pressed by the user. the internal table populated by SAP will be having values like this. 11111111111##22222222222##3333333333
    I need to separate the values from ## and move it to another internal table. I used replace statement to replace ##. But its not working.  I dont know what could be the problem. Can any one suggest me in doing this.
    POINTS PROMISED
    Regards,
    Buvana

    You will need to use the replace, but you need to be searching for cl_abap_char_utilities=>CR_LF in the REPLACE statement, the ## is an internal representation of the CR_LF,  so use 
    replace  cl_abap_char_utilities=>CR_LF  with .....
    Regards,
    RIch Heilman

  • Doubt in using for all entries

    friends,
        my 1st int. table itab_qmsa contains list of vendor number, audit year, etc. In the select statement i want to fetch all the details from zqalsqave table pertained to all the vendors in itab_qmsa..here itab_qmsa table contains 100 vendors..for each vendor, there are about 1000 records in zqalsqave...i expect the for all entries addition to fetch all the records from zqalsqave for each and every vendor..as this is not in a loop, will the statement correctly identify each and every vendor in the zqalsqave table? i.e. fetch records from zqalsqave for vendor 1 in itab-qmsa, fetch records from zqalsqave for vendor 2 in itab-qmsa, etc like this for all the 100 vendors...the order of the fields in the select statement and my int. table are in the same manner.so i haven't used "corresponding fields of" addition or should i use that? the problem is, it's going to dump after an inevitably long time saying "ABAP/4 processor: DBIF_RSQL_SQL_ERROR" -- SNAP NO NEW ENTRY..where am i wrong?
        SELECT PRUEFLOS WERK LIFNR MATNR LMENGEIST LMENGE01 LMENGE02 LMENGE03 LMENGE04  LMENGE05 LMENGE06 LMENGE07 VCODE VDATUM INTO TABLE ITAB_ZQALSQAVE FROM ZQALSQAVE
        FOR ALL ENTRIES IN ITAB_QMSA
        WHERE LIFNR  EQ ITAB_QMSA-LIFNR AND
              WERK   EQ S_WERKS AND
              VDATUM BETWEEN STQ_DATE AND EN1_DATE.

    hi
    Do not use the operators LIKE, BETWEEN, and IN in comparisons using internal table fields.
    may be a reson.
    check for further clarification
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a1f358411d1829f0000e829fbfe/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a1f358411d1829f0000e829fbfe/frameset.htm</a>
    regards
    shiba dutta

  • Doubt & Error Using Dynamic SQL

    Hello,
    According to oracle documentation for Dynamic SQL using ' Method 2 ' ... which says ...
    Method 2
    This method lets your program accept or build a dynamic SQL statement, then process it using the PREPARE and EXECUTE commands. The SQL statement must not be a query. The number of placeholders for input host variables and the datatypes of the input host variables must be known at precompile time. For example, the following host strings fall into this category:
    'INSERT INTO EMP (ENAME, JOB) VALUES (:emp_name, :job_title)'
    'DELETE FROM EMP WHERE EMPNO = :emp_number'
    Now for trying this method i created a procedure .. named .. 'aj_proc_1'
    CREATE OR REPLACE PROCEDURE aj_proc_1(p_id IN NUMBER)
    IS
    BEGIN
         EXECUTE IMMEDIATE 'delete from aj_test_1 where id = :p_id';
    END aj_proc_1;
    And the table which m using in this procedure is ...
    SQL> select * from aj_test_1;
    ID NAME
    1 aijaz
    2 melwin
    3 aasim
    4 satish
    5 ashok
    So now whn m calling this Procedure & wanted to delete the record with id '2' ... m getting an Error...the way m executing this procedure is ...
    SQL> execute aj_proc_1(2);
    BEGIN aj_proc_1(2); END;
    ERROR at line 1:
    ORA-01008: not all variables bound
    ORA-06512: at "FA.AJ_PROC_1", line 4
    ORA-06512: at line 1
    Please Help me .. As i have no idea ..wats goin wrong over here...

    Now whats Wrong with this 1 ....
    CREATE OR REPLACE PROCEDURE aj_proc_1(p_id IN NUMBER)
    IS
         val_name varchar2(34);
    BEGIN
         EXECUTE IMMEDIATE 'select name into '||val_name||' from aj_test_1 where id = :p_id'
                        USING p_id ;
              dbms_output.put_line(val_name);
    END aj_proc_1;
    SQL> exec aj_proc_1(2);
    BEGIN aj_proc_1(2); END;
    ERROR at line 1:
    ORA-00936: missing expression
    ORA-06512: at "FA.AJ_PROC_1", line 5
    ORA-06512: at line 1
    -----------------------------------------------------------------------------------

  • Doubt in using alv's in FM

    Hi Folks,
    I am trying to use alv grid list display in function module with at user-command event to call specific transaction in my report. But its not working,its going to short dump. when i am doing this fucntionality in report its working fine but i want to do in FM and call this FM in my report. Is it possible to use at user command How to achieve this.
    I have one more qsn: i am displaying KUNNR values in internal tab, but i want to avoid leading zero's in itab-kunnr, how to do this.
    Thanks in advance.
    regards
    Rajesh

    Hi vijay, I have done necessary changes as u suggested but its again giving short dump. But its working fine if do in report without calling FM, i am sending the code what i written in FM and short dump message. Pls check it and guide me. Many thanks in advance.
    I TRIED THE FORM STATUS USING IN THE REPORT AS WELL INSTEAD IN FM. i HAVE CREATED STUTUS WITH NAME STANDARD.
    FUNCTION ZFI_DEALER_PROPOSAL.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(P_LAUFD) LIKE  REGUH-LAUFD
    *"     VALUE(P_LAUFI) LIKE  REGUH-LAUFI
    *"     VALUE(P_XVORL) LIKE  REGUH-XVORL
    TYPE-POOLS SLIS.
    TABLES : REGUH.
    CONSTANTS : user_command TYPE slis_formname VALUE 'USER_COMMAND'.
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    DATA : T1_EVENTS TYPE SLIS_T_EVENT,
           FS1_EVENTS TYPE SLIS_ALV_EVENT.
    DATA : I_LAUFD TYPE REGUH-LAUFD,
           I_LAUFI TYPE REGUH-LAUFI,
           I_XVORL TYPE REGUH-XVORL.
    *DATA : ITAB_REGUH LIKE IT_REGUH OCCURS 3.
    *DATA : ITAB TYPE REGUH OCCURS 3.
    *DATA : BEGIN OF IT_REGUH OCCURS 3,
          LAUFD LIKE REGUH-LAUFD,
          LAUFI LIKE REGUH-LAUFI,
          XVORL LIKE REGUH-XVORL,
          VBLNR LIKE REGUH-VBLNR,
          KUNNR LIKE REGUH-KUNNR,
          NAME1 LIKE REGUH-NAME1,
          BNKN1 LIKE REGUH-ZBNKN,
          RBETR LIKE REGUH-RBETR,
          RPOST LIKE REGUH-RPOST,
          ZBNKY LIKE REGUH-ZBNKL,
          END OF IT_REGUH.
    I_LAUFD = P_LAUFD.
    I_LAUFI = P_LAUFI.
    I_XVORL = P_XVORL.
    SELECT LAUFD LAUFI XVORL VBLNR KUNNR NAME1 BNKN1 RBETR RPOST  ZBNKY
    INTO TABLE IT_reguh
    FROM REGUH
    WHERE VBLNR <> ' ' AND LAUFD = I_LAUFD AND LAUFI = I_LAUFI AND XVORL = I_XVORL.
    FS1_EVENTS-NAME = 'TOP_OF_PAGE'.
      FS1_EVENTS-FORM = 'FORM1'.
      APPEND FS1_EVENTS TO T1_EVENTS.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
       IT_LIST_COMMENTARY       = T1_COMMENTS
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-FIELDNAME = 'LAUFD'.
    WA_FIELDCAT-seltext_L = 'RUN DATE'.
    wa_fieldcat-key       = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-FIELDNAME = 'LAUFI'.
    WA_FIELDCAT-seltext_L = 'IDENTIFICATION'.
    WA_FIELDCAT-ddictxt = 'L'.
    wa_fieldcat-key       = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-FIELDNAME = 'XVORL'.
    WA_FIELDCAT-seltext_L = 'INDICATOR'.
    wa_fieldcat-key       = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-FIELDNAME = 'VBLNR'.
    WA_FIELDCAT-seltext_L = 'PAYMENT DOC.NO.'.
    wa_fieldcat-key       = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-FIELDNAME = 'KUNNR'.
    WA_FIELDCAT-seltext_L = 'Dealership No.'.
    wa_fieldcat-key       = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-FIELDNAME = 'NAME1'.
    WA_FIELDCAT-seltext_L = 'Dealer Name'.
    wa_fieldcat-key       = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-FIELDNAME = 'BNKN1'.
    WA_FIELDCAT-seltext_L = 'Bank account No.'.
    wa_fieldcat-key       = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-FIELDNAME = 'RBETR'.
    WA_FIELDCAT-seltext_L = 'Local Payment Amount'.
    wa_fieldcat-key       = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-FIELDNAME = 'RPOST'.
    WA_FIELDCAT-seltext_L = 'No of items paid'.
    wa_fieldcat-key       = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-FIELDNAME = 'ZBNKY'.
    WA_FIELDCAT-seltext_L = 'Routing No.'.
    wa_fieldcat-key       = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      I_PROGRAM_NAME               = ''
      I_INTERNAL_TABNAME           = ''
      I_INCLNAME                   = ''
        I_STRUCTURE_NAME       = 'IT_REGUH'
      CHANGING
        CT_FIELDCAT                  = IT_FIELDCAT.
    *CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_CALLBACK_PROGRAM                = 'ZFI_DEALER_PROPOSAL'
      I_STRUCTURE_NAME                  =
      I_CALLBACK_PF_STATUS_SET          = 'STATUS'
      I_CALLBACK_USER_COMMAND           = user_command
      IT_FIELDCAT                       = IT_FIELDCAT
      IT_EVENTS                         = T1_EVENTS
    TABLES
       T_OUTTAB                          = IT_REGUH.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = 'ZFI_DEALER_PROPOSAL'
       I_CALLBACK_PF_STATUS_SET          = 'STANDARD'
       I_CALLBACK_USER_COMMAND           = user_command
      I_STRUCTURE_NAME                  =
       IT_FIELDCAT                       = IT_FIELDCAT
       IT_EVENTS                         = T1_EVENTS
      TABLES
        T_OUTTAB                          = IT_REGUH.
    ENDFUNCTION.
        FORM user_command USING r_ucomm     like sy-ucomm
             rs_selfield type slis_selfield.
        DATA : IT_TEMP LIKE IT_REGUH.
        case r_ucomm.
        when '&IC1'.     "At Line Selection
          read table IT_REGUH index rs_selfield-tabindex into IT_TEMP.
          CASE RS_SELFIELD-FIELDNAME.
          WHEN 'KUNNR'.
          set parameter id 'KUN' field IT_TEMP-KUNNR.
          CALL TRANSACTION 'FD03' and skip first screen.
          ENDCASE.
        ENDCASE.
    ENDFORM.
    FORM STATUS USING P_EXTAB TYPE SLIS_T_EXTAB.
    *- Pf status
      SET PF-STATUS 'STANDARD' excluding p_extab.
    ENDFORM.

  • Doubt in using the function module SO_DOCUMENT_SEND_API1

    Hi ,
    My requirement is sending an excel sheet to the mail id's given in excel sheet.I am using the FM:SO_DOCUMENT_SEND_API1.I complete the program. It is working good.My problem here is once I received the excel sheet , if the amount value is 123.00. i can see only 123. As if the amount value is 123.78, i can see the value 123.78.I can see the value perfectly in debug mode , but the valus has been truncated in excel sheet .
    Can anyone give me the idea how to correct this ?
    Thanks,
    Suresh.

    Most likely reason seems to be that Excel is being overly friendly and fixing formats for you - e.g. if you have a column containing a PO reference such as 4500001234 then it will assume this is a number that can be included in calculations for format it as general, and not a text string that just happens to contain only numbers.  You can fix this once the data is in Excel by formatting the cells the way you want.
    Jonathan

Maybe you are looking for