DIFF. BETN . ME97  &   WRITE OFF PROGRAM FOR PR

WHAT IS THE DIFF BETN THE ME97  & WRITE OFF PROGRAM FOR PR  RM06BW47

Hi Dieu,
I must admit that is a great achievement of SAP that ABAP has such a great upward compatibility.
But we all are still not too old to make some personal progress.
Try using new concepts as they are
- much easier to handle
- safe for future changes like i.e. web intergration
- the best way to create better software that may be maintained by someone except yourself
If you have some time to spare, have a look at
[e-learning|https://www.sdn.sap.com/irj/scn/abap-elearning]
especially this fantastic contribution about the current way of sending mail.
[BCS business communication|https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/c093d4e1-8264-2c10-c1bb-8b9535a2c99e]
Just give it a try to give your colleagues the impression you won't stay behind.
Regards,
Clemens

Similar Messages

  • Can any one please tell me how to write labview program for data logging in electric motor bike.

    Can any one please tell me how to write labview program for data logging in electric motor bike. I am going to use CompactRIO for getting wide range of data from various sensors in bike. I need to write labview program for data logging of temperature, voltage and speed of the bike. Can any one help me?

    Yes, we can.   
    I think the best place for you to start for this is the NI Developer Zone.  I recommend beginning with these tutorials I found by searching on "data log rio".  There were more than just these few that might be relevant to your project but I'll leave that for you to decide.
    NI Compact RIO Setup and Services ->  http://zone.ni.com/devzone/cda/tut/p/id/11394
    Getting Started with CompactRIO - Logging Data to Disk  ->  http://zone.ni.com/devzone/cda/tut/p/id/11198
    Getting Started with CompactRIO - Performing Basic Control ->  http://zone.ni.com/devzone/cda/tut/p/id/11197
    These will probably give you links to more topics/tutorials/examples that can help you design and implement your target system.
    Jason
    Wire Warrior
    Behold the power of LabVIEW as my army of Roomba minions streaks across the floor!

  • How to write print program for smartforms

    Hi all
    I need to develop new smartform and its print program.
    But Im not experience in writing print program for smartform.
    Ive gone through the simple print program sample that use only one table as input and one table for output.
    But my smartforms require few tables for input and output.
    How should I define the Data?
    Can anyone guide me on how to write it.
    Thanks & Regards
    az

    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    Reward points...

  • Need to write BDC program for Transaction VA01(Sales order creation)

    Dear Friends,
    I need to write a BDC program for uploading data into sap from an excel sheet file. The data contain Material Description,Customer Name,Date of Delivery,Quantity,Unit of measure etc.
    material desc customer date of delivery quantity unit of measure
    abcdf xyz ltd 24.12.2011 2 4 gm
    The transaction is VA01.How will I find the correct fields and related tables? What are the related fields needed in the transaction VA01.
    Thanking you
    Sacheen Pukhrambam
    Moderator Message: Put some self-effort before posting your question. Thread locked.
    Edited by: Suhas Saha on Nov 25, 2011 1:25 PM

    Hello,
    You could try using a BDC with VL04 but first preference would be to see if there are any BAPI functions (search for BAPI) that can do this.
    If BUS2032 doesn't have an attribute that you want (eg shipping point) then sub-delegate to ZBUS2032 and add the attribute, it's straightforward. You just have to know how to determine the value programmatically.
    regards
    Rick Bakker
    hanabi technology

  • Plz write a program for this

    hi
    i want this req ment
    selection screen feilds   otype = 'd'
                                       date =  select-options
    by useing HRP1000 table we have to get the value of OBJID by useing the above values as input
    and after getting OBJID from HRP1001 table we have to get sclas and sobid by giving input as OTYPE ='d' SCLAS = E/ET and OBJID of HRP1000 = OBJID of HRP1001
    from HRP1026 table by giving the otype as 'e' and objid as sobid of HRP1001
    we have get the AEDTM UNAME
    and we have to store thses values in the final internal table
    can u do this
    in the output i want all the feilds which i had used in the table must be displayed

    this forum is used to solve questions not to write whole program code.... may be u need to write ur code and if u find any error u can post the same asking to solve the error.
    Award points and close the thread...

  • Write skripts/programs for the iPod to transfer ANY media

    Folks,
    I have a basic question about the iPod. I would like to use the iPod as a "tank" for videos recorded with my JVC Everio. Now I'm not certain that the Belklin Media Reader will allow to copy this video to the iPod. Therefore my question here is: is the ipod able to run Apple Scripts or is there a way to program the iPod to read any folders from the Microdrive connected to the Media Reader and do some kind of backup of those files.
    Maybe there is something out there, maybe some enthusiast already has a solution. Please share your knowledge.
    Thanks
    Torsten

    I also have a digital media camcorder, the samsung x-105. The camcorder records to memory stick pro. I have an ipod photo but would just like to clear my media by dumping filmed content from memory card to my ipod
      Mac OS X (10.3.9)  

  • Please  Help me How write the BDC program for the MIGO inbound Delivery

    Please help me how to write bdc program for the MIGO Inbound Delivery in 4.7EE Version. Please help me.
    Not in LSMW.  Required call transaction or Session Method. Please help me.
    Mohan

    Run transaction BAPI . Select Logistics Execution/Shipping/InboundDelivery/SaveReplica.. You can use function module BAPI_INB_DELIVERY_SAVEREPLICA in your ABAP program.

  • How I can write a program with pythagoras?

    I have a problem. I�m a 14-kears old Java-beginner and I�ll write a program for school ( I will get a better mark when i write the program). This programm should multiply 3 letters 30-times. But how I can write the damn thing? I habe no idea, please help me!
    Thnax a lot Devproger
    (Sorry for the bad English but I am a German Student who is still learning this language)

    I will only have a better mark in Maths... and wirte this Programm...Yes, you'll get a better grade by writing that program. Start programming then!
    If you run into problems, post the code that's not working here, and tell us what it is that's not working.
    When posting code, read this: http://forum.java.sun.com/help.jspa?sec=formatting
    Good luck.

  • The JAVA program for "Philosopher Problem"

    When I learn the book of "Operating Systems (Design and Implementation)"(written by Andrew S.Tanenbaum), I try to write a program for the "Philosopher Problem" . In the book there is a sample of this problem in C language, and I write it in JAVA. The following is my program, I have tested it. It is correct, but maybe it is not the most efficient way to solve the problem. Can you think out a more efficient program in JAVA to solve this problem?
    * Philosopher Eating Problem
    * @author mubin
    * @version 1.0
    public class PhilosopherEating {
    //Philosophers' number
    private final static int PHER_NUM = 20;
    //Philosophers' state
    private volatile static int[] pherState = new int[PHER_NUM];
    //THINKING
    private final static int THINKING = 0;
    //HUNGRY
    private final static int HUNGRY = 1;
    //EATING
    private final static int EATING = 2;
    //Philosophers thread group
    public static Philosopher[] philosophers = new Philosopher[PHER_NUM];
    //finish indicator
    public volatile static boolean finished =false;
    //thread lock
    public static Object threadLock = new Object();
    public PhilosopherEating() {
    * Philosopher class
    * @author mubin
    * @version 1.0
    public static class Philosopher extends Thread{
    int pherNo ;
    public Philosopher(int no){
    this.pherNo = no;
    public void run(){
    while(!PhilosopherEating.finished){
    think();
    takeForks(this.pherNo);
    eat();
    putForks(this.pherNo);
    * Thinking
    private void think(){
    System.out.println("Philosopher"+this.pherNo+"is thinking...");
    try {
    Thread.sleep( (int)(Math.random()*100));
    }catch (Exception ex) {
    ex.printStackTrace(System.out);
    * Eating
    private void eat(){
    System.out.println("Philosopher"+this.pherNo+"is eating...");
    try {
    Thread.sleep( (int)(Math.random()*100));
    }catch (Exception ex) {
    ex.printStackTrace(System.out);
    * Take the fork
    private void takeForks(int no){
    //System.out.println("takeForks:no:"+no);
    synchronized (threadLock) {
    pherState[no] = HUNGRY;
    testPher(no);
    * Put down the fork
    private void putForks(int no){
    //System.out.println("putForks:no:"+no);
    synchronized (threadLock) {
    pherState[no] = THINKING;
    if( pherState[getLeft()]==HUNGRY ){
    philosophers[getLeft()].interrupt();
    if( pherState[getRight()]==HUNGRY ){
    philosophers[getRight()].interrupt();
    * Return the NO. of philosopher who is sitting at the left side of this philosopher
    * @return the NO. of the left philosopher
    private int getLeft(){
    int ret = (pherNo-1)<0? PHER_NUM-1 : (pherNo-1);
    return ret;
    * Return the NO. of philosopher who is sitting at the right side of this philosopher
    * @return the NO. of the right philosopher
    private int getRight(){
    int ret = (pherNo+1)>=PHER_NUM ? 0 :(pherNo+1);
    return ret;
    private void testPher(int no){
    while(true){
    if(pherState[no]==HUNGRY
    &&pherState[getLeft()]!=EATING
    &&pherState[getRight()]!=EATING) {
    pherState[no] = EATING;
    //Print and check the philosophers' state
    printPher(pherState);
    return;
    }else{
    try {
    System.out.println(" Philosopher "+this.pherNo+"is waiting a fork");
    threadLock.wait();
    }catch (java.lang.InterruptedException ex) {
    System.out.println(" Philosopher "+this.pherNo+"is interrupted and woken up to take fork");
    //when it is interrupted, do nothing. Just let it continue!
    }//end of while(true)
    * Print and check the philosophers' state.
    * To insure there are no two philosophers sit side by side
    * are eating at the same time.
    private static void printPher(int[] phers){
    System.out.print(" philosophers' state��");
    for (int i = 0; i < phers.length; i++) {
    System.out.print(" "+phers);
    System.out.println("");
    for (int i = 0; i < phers.length-1; i++) {
    if (phers[i]==EATING && phers[i+1]==EATING){
    System.err.println(i+" and "+(i+1)+"two of philosophers sitted side by side are eating at the same time!");
    if (phers[0]==EATING && phers[PHER_NUM-1]==EATING){
    System.err.println("0 and "+PHER_NUM+"two of philosophers sitted side by side are eating at the same time!");
    public static void main(String[] args) {
    for (int i = 0; i < PHER_NUM; i++) {
    PhilosopherEating.pherState[i] = THINKING;
    PhilosopherEating aPhilosopherEating = new PhilosopherEating();
    for (int i = 0; i < PHER_NUM; i++) {
    philosophers[i] = new Philosopher(i);
    philosophers[i].start();
    try {
    Thread.sleep(30000);
    catch (InterruptedException ex) {
    ex.printStackTrace(System.out);
    //End all the threads of philosophers
    PhilosopherEating.finished = true;

    this problem is about learning how to use threads/synchronise objects etc, the efficiency of the code isn't really an issue, if that's what you mean. As for the efficiency of the solution, it's very hard to tell how efficient it is, but as long as all the philosphers get to eat there's no problem. I haven't really scrutized your code, but I'm not sure that you have a deadlock free solution: as long as it is possible for all the phils to pick up one fork at the same time there's a problem, and it seems from your code that each philosopher will pick up "his" fork. Again, I could be wrong, I haven't really looked. If you haven't come up with a solution, try drawing it on paper and working it out, or if you're lazy a quick google will probably give you the answer, but I'm pretty sure nobody here will :)

  • Need to write a procedure for Log files (scheduled jobs)

    Hi,
    We have around 50 scheduled jobs.Jobs will run parallelly. In these jobs, some jobs will repeat at different timings.in these some jobs are daily jobs and some are weekly and some are monthly and some will run first and second working day of the month and some will run on some particular days.
    Now I want to write a procedure like, For every job it should create a log file like "
    <Job_Name> started on <Date> at <start_Time(timestamp)> and completed on <Date> at <End_Time(Timestamp)> successfully.
    <Job_Name> started on <Date> at <start_Time(timestamp)> and completed on <Date> at <End_Time(Timestamp)> abnormally.
    If all jobs complted successfully it should send an email to the mailgroup with attached log file (which contains the details of all the jobs) with format as follows.
    Jobname Start_date Start_time End_Date End_Time Status
    SALES 21-May-2011 12:00:00 21-May-2011 12:01:00 Completed Successfully
    21-May-2011 12:15:00 21-May-2011 12:16:00 Completed successfully
    Proudcts 21-May-2011 23:00:00 21-May-2011 23:16:00 Completed successfully
    ITEMS 21-May-2011 23:00:00 21-May-2011 23:16:00 Completed successfully
    If the status ="Completed abnormally" for any particular job
    immediately it should send an mail to the group like " FATAL_MESG_JOBANAME_Date_Time(timestamp)"
    for example if SALES job was failed at 15:00:00 then immediately it should send a mail.
    if ITEMS got failed then it should mail ( in between any job got failed it should send an email).
    if every thing is going cool then need send a final success mail to the group.
    so Please let me know how to write a program for this requiremnt.
    Thanks in advance.

    832581 wrote:
    Hi,
    Thanks for giving valuable link to gain the knowledge on DBMS_SCHEDULER.
    But here I didn't get clear idea to write a program which I need to schedule the job for every 1hr.
    Please suggest me to write the program..
    ThanksYou'll have to read the link i sent. Or google for an example.

  • I need someone local who can write the software for a new application.

    Hello:
    I need someone to write the program for a new application.
    This person should be local to the Pittsburgh area.
    I'm not really sure if this is the right forum for this as I am not computer literate.
    Any help is appreciated and I live in SW Pennsylvania.
    Thanks

    This isn't really the right place.  But you can try elance.com or others like it.
    Good luck.

  • Write off currency

    Hi,
    I need to write off currency for ledger account 135250 which got balance 7560 GBP and 0 USD.
    GBP is local currency and USD is Group currency.
    Is there anyway other than F.05 t.code to write off exchange rate differences for a ledger account automaticlly. I tried with F.13E but it is not picking up documents related to the account 135250.
    Please let me know.

    Hi,
       Did you set the currency to USD?
    The error message means that in the currency you are clearing in, the balance is not nil.
    regards

  • How to Write C Program in Eclipse

    Hi,
    I write a Java Program in MyEclipse 5.0.in that i wrote System.load("");to load a dll file of C program.But i dont no How to write a C program in Eclipse 5.0 verson.Can any one Pleace Help me to Write a C program in Eclipse 5.0.

    RaghuChowdary_kolikineni wrote:
    I have MyEclipse 5.0 version on my System.i want to write a java Program.in that i want to access the C functionality Using System.load("");so i write another program for C.So i want to write both Java and C programs are Same Eclipse version.how to write and which version is supported for that purpose.pleace spcify the steps to write the programs in that version u will toldTry asking in an Eclipse forum or in a MyEclipse forum.

  • ENTRY_ACT field in BDC program for Txn. IA05

    Dear Gurus,
    I want to write BDC program for IA05 transaction.  In that, Inspection Charatertics entries, I want to add more entries (more than one page - page down).  Please guide me how to handle RQPAS-ENTRY_ACT screen field.
    Please provide the logic in writing, if possible.
    Regards,

    Hi,
    I am having same problem.
    Can you give me the code as it shows solved at your end..
    -Maharshi

  • Program for Importing Transport Request

    Dear all,
    I am thinking of writing a program to perform the import of transport request into the system after the transport request is added to the buffer.
    The transport request is added to the buffer using FTP.
    Please kindly give me some guidance as to how can I write this program for importing transport request. Thank you.

    Hi Prashant,
    My 2 systems are not linked to each other, one is running SAP 4.7 and the other is running ECC6.0. Can I still use STMS_IMPORT?
    When I use STMS_IMPORT, I hit some errors. It is either "tp finished: A tool used by tp broke down" or "tp finished: A tool used by tp aborted". DO you have any idea what is wrong? Thanks for your help.

Maybe you are looking for

  • How do I make my wifi from my Airport express faster?

    My dorm doesn't have wifi, hence the reason to get a router. I plug my ethernet cable into the airport and I have wifi, but it's so slow that I can't even load a webpage, let alone any video. The macbook pro is 6 months old and we just purchased the

  • Photoshop opens in a self-contained window

    Sorry I'm having a hard time articulating the problem... When I open PS all the elements are "stuck" together in one self contained window. How do I get out of this "mode"?

  • DB Links AND Oracle Version Compatibility

    Both Client & Server running on Windows. We have an 8.0.6 Database that has a public Database link connecting to another 8.0.6 database. Using an OCI application to perform a simple select (using Oracle 9 Release 2 Client) :- "SELECT * FROM USER.TABL

  • Force a column in the query output  for FYPD  when no data exists

    Hi , I have a requirement, data available in the cube <b>FYPD-----Costcenter---- Emp#----StartPD---EndPd-- Amt</b> 2007001-----123456 789---2007004-2008012-- $10 In the variable input screen FYPD range is entered ex: 2007001 - 200704 expected report

  • ORA-01918 errors

    Hi all, I have done an export dump from 10g database and now using the dump file to import into an 11gR2 database. I thought that a FULL exp/imp is supposed to create the users, everything pretty much. So why am I getting the above errors....? any st