Current Position:Home > Guidence regarding creating  a test data and running any function module

Guidence regarding creating  a test data and running any function module

Update:11-30Source: network consolidation
Advertisement
hi pals,
   can you plz tell me how to create a test data, commit and run any function module, in details(step wise) ??

The Best Answer

Advertisement
Hi yawmark,
I appologise for including a poor code example ealier on, i had to come up with something quick. I will however, visit the sugeted sites you mentioned, thank you.
I did however, create a simple class that compiles and can be used to set, return, reset and print a few details about a person. I hope that is of better use than my previous example. here it is:
public class SimplePerson {
    int age = 0;
    String firstName = "";
    String lastName = "";
    /** Creates a new instance of SimplePerson */
    public SimplePerson() {
    /** Sets the age of this person */
    private void setAge(int takeAge){
        age = takeAge;
    /** Returns the age of this person */
    private int getAge(){
        return age;
    /** Sets the First Name of this person */
    private void setFirstName(String takeName){
        firstName = takeName;
    /** Returns the First Name of this person */
    private String getFirstName(){
        return firstName;
    /** Sets the Last Name of this person */
    private void setLastName(String takeName){
        firstName = takeName;
    /** Returns the Last Name of this person */
    private String getLastName(){
        return firstName;
    /** Resets the details of this person back to back to
     *  the default form.
    private void resetAll(){
        age = 0;
        firstName = "";
        lastName = "";
    /** Prints all the details this person has */
    private void printAll(){
        System.out.println("Age: " +Integer.toString(age)
                + "\n First Name: " + firstName
                + "\n Last Name: " + lastName );
}Cheers mate
  • Guidence regarding creating  a test data and running any function module Update:11-30

    hi pals,    can you plz tell me how to create a test data, commit and run any function module, in details(step wise) ??Hi yawmark, I appologise for including a poor code example ealier on, i had to come up with something quick. I will however, visit

  • How to create a generic data extractor using standard function module Update:10-11

    Hi, I have to generate report based on Function module(standard FM),client know only Fm Name n they have given FM Name n asked reports based on that, so can any one give me steps to create DS based on that. Thanks, Swapnacheck this blog /people/siegf

  • Generic data extractor using a function module Update:11-30

    Hi All, I want to create a generic data extractor using a function module within the BW system. i.e. the extractor will run in BW and and store the data in a cube( in BW). No R/3 is invloved. I proceeded as follows: 1. Created a structure through se1

  • Data Services XI3.1 function module files for SAP R/3 is not working Update:10-11

    Hi guys, Thank you for the quick response so far. I am very grateful to you all.  I got an issue and will try to explain as detail as I could and  hope ur guys won't mind. :P I pass the functions module to SAP tech guy to install to SAP using CTS  me

  • How to run ABAP Function Module in Background FOR LONG TIME? Update:11-30

    I am not that experienced with ABAP. I am on SAP BI 7.0. I WANT TO RUN A FUNCTION MODULE RSDRT_INFOCUBE_DATA_COPY. I used SE37 and then executed the module, I supplied  the parameters on the form which opped-up and then  program started running. . Pr

  • How to create Billing Plan in sales order using Function module /BAPI Update:10-11

    hi, How to create Billing Plan in sales order using Function module /BAPI i hv check few FM such BILLING_SCHEDULE_READ BILLING_SCHEDULE_GET_NUMBER BILLING_SCHEDULE_SAVE But unable to create billing plan for a sales order.....any other method to creat

  • Problem with R/3 Data Source based on Function module in SAP BI Update:10-11

    Hi, We have a data source based on functional module. When we load data from R/3 to BI we face the following error. " No end-confirmation arrived in the Warehouse from the source system." We are getting data but due to no end confirmation from t

  • How to run ABAP Function Module in Background Wchich Takes Long Time to Run Update:11-30

    How to run ABAP Function Module in Background FOR LONG TIME I am not that experienced with ABAP. I am on SAP BI 7.0. I WANT TO RUN A FUNCTION MODULE RSDRT_INFOCUBE_DATA_COPY. I used SE37 and then executed the module, I supplied  the parameters on the

  • Date of creation of function module Update:11-30

    Hi Guys, is there any possibility to find out the date of creation of a function module. For programs, it can be found in the table TRDIR. But I cant find any table for function modules. ErikTFDIR will give you the name of the function group program

  • Data source enhancement thru function module Update:11-30

    Folks, I am trying to figure relation between data source enhancement, package, function module etc? I see a function module where enhancement is done. when I go and try to see master data exit EXIT_SAPLRSAP_0002 ... I see include but I do not see re