Problem with abap code in lsmw.its urgent

Hello guys iam migrating open ar line items using lsmwand i need to create reconciliation key automatically so iam using below code which is working fine in abap editor but i inserted in the lsmw abap code block at step 5 mapping fields iam getting error as that function module does not exits .can any body go through the code and give me suggestion.your will be greatly appreciate.
types: begin of ty_fikey,
       fikey type fikey_kk,
       resob type resob_kk,
       end of ty_fikey.
data: wa_fikey type ty_fikey.
CALL FUNCTION 'FKK_FIKEY_CHECK'
  EXPORTING
    I_FIKEY                      = 'jana56481'
  I_OPEN_ON_REQUEST            =
  I_OPEN_WITHOUT_DIALOG        =
  I_FOR_MASS_POSTING           =
   I_RESOB                      = '24 '
  I_RESKY                      = ' '
  I_NON_EXISTING_ALLOWED       = ' '
  I_FOR_POSTING_IN_UPD         = ' '
EXCEPTIONS
  NON_EXISTING                 = 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.
select single  fikey resob from dfkksumc into corresponding fields of wa_fikey where resob = '24'.
e1bpdfkkko-fikey = wa_fikey-fikey.
Regards
Janapathi

Hi,
Refer link:
<a href="http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc">http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc</a>
Pls do reward points.
Regards,
Ameet

Similar Messages

  • TS3694 I am having problem with my iphone 3g update, its showing 1015 error. someone please help me out. Thanks

    I am having problem with my iphone 3g update, its showing 1015 error. someone please help me out. Thanks

    nomibutt wrote:
    ... its showing 1015 error.
    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743
    ERROR 1015...
    This Error Code is indicative of the Device being jailbroken / Hacked...
    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    You will need to look elsewhere.

  • Problem with php code. Please help!

    Hello!
    I'm using the following syntax to bring content into my
    websites' layout template:
    Code:
    <?php //check in the root folder first
    if(file_exists('./' . $pagename . '.php'))
    include './' . $pagename . '.php';
    //if it wasn't found in the root folder then check in the
    news folder
    elseif(file_exisits('./news/' . $filename . '.php'))
    include './news/' . $pagename . '.php';
    // if it couldn't be found display message
    else
    echo $pagename . '.php could not be found in either the root
    folder or the news folder!';
    } ?>
    What it's essentially saying is, if you can't find the .php
    file in the _root folder, look for it in the /news/ folder.
    It works perfectly if loading something from the _root folder
    but I get an error if I need to bring something from the /news/
    folder.
    Can anyone see any potential problems with my code?
    Thank you very much and I hope to hear from you.
    Take care,
    Mark

    I've never seen the code written like that before, but I'm
    assuming it's
    legal?
    Perhaps try:
    <?php
    $newsroot = $_SERVER['DOCUMENT_ROOT']."/news";
    if (!file_exists("$pagename.php")) {
    elseif (!file_exists("$newsroot/$pagename.php")) {
    else
    Or the other thing you can try is replacing the elseif
    statement with:
    elseif (!file_exists("news/$pagename.php"))
    If not - I'm sure Gary will be on here soon...
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "Spindrift" <[email protected]> wrote in
    message
    news:e5mled$272$[email protected]..
    > Hello!
    >
    > I'm using the following syntax to bring content into my
    websites' layout
    > template:
    >
    > Code:
    >
    > <?php //check in the root folder first
    > if(file_exists('./' . $pagename . '.php'))
    > {
    > include './' . $pagename . '.php';
    > }
    > //if it wasn't found in the root folder then check in
    the news folder
    > elseif(file_exisits('./news/' . $filename . '.php'))
    > {
    > include './news/' . $pagename . '.php';
    > }
    > // if it couldn't be found display message
    > else
    > {
    > echo $pagename . '.php could not be found in either the
    root folder or
    > the
    > news folder!';
    > } ?>
    >
    > What it's essentially saying is, if you can't find the
    .php file in the
    > _root
    > folder, look for it in the /news/ folder.
    >
    > It works perfectly if loading something from the _root
    folder but I get an
    > error if I need to bring something from the /news/
    folder.
    >
    > Can anyone see any potential problems with my code?
    >
    > Thank you very much and I hope to hear from you.
    >
    > Take care,
    >
    > Mark
    >

  • Please tell me what is the problem with this code

    Hai,
    Iam new to Swings. can any one tell what is the problem with this code. I cant see those controls on the frame. please give me the suggestions.
    I got the frame ,but the controls are not.
    this is the code:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ex2 extends JFrame
    JButton b1;
    JLabel l1,l2;
    JPanel p1,p2;
    JTextField tf1;
    JPasswordField tf2;
    public ex2()
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    setTitle("Another example");
    setSize(500,500);
    setVisible(true);
    b1=new JButton(" ok ");
    p1=new JPanel();
    p1.setLayout(new GridLayout(2,2));
    p2=new JPanel();
    p2.setLayout(new BorderLayout());
    l1=new JLabel("Name :");
    l2=new JLabel("Password:");
    tf1=new JTextField(15);
    tf2=new JPasswordField(15);
    Container con=getContentPane();
    con.add(p1);
    con.add(p2);
    public static void createAndShowGUI()
    ex2.setDefaultLookAndFeelDecorated(true);
    public static void main(String ar[])
    createAndShowGUI();
    new ex2();
    }

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ex2 extends JFrame
        JButton b1;
        JLabel l1,l2;
        JPanel p1,p2;
        JTextField tf1;
        JPasswordField tf2;
        public ex2()
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setTitle("Another example");
            b1=new JButton(" ok ");
            p1=new JPanel();
            p1.add(b1);
            p2=new JPanel();
            p2.setLayout(new GridLayout(2,2));
            l1=new JLabel("Name :");
            l2=new JLabel("Password:");
            tf1=new JTextField(15);
            tf2=new JPasswordField(15);
            p2.add(l1);
            p2.add(tf1);
            p2.add(l2);
            p2.add(tf2);
            Container con=getContentPane();
            con.add(p1, BorderLayout.NORTH);
            con.add(p2, BorderLayout.CENTER);
            pack();
            setVisible(true);
        public static void createAndShowGUI()
            ex2.setDefaultLookAndFeelDecorated(true);
        public static void main(String ar[])
            createAndShowGUI();
            new ex2();
    }

  • Vector, what is the problem with this code?

    Vector, what is the problem with this code?
    63  private java.util.Vector data=new Vector();
    64  Vector aaaaa=new Vector();
    65   data.addElement(aaaaa);
    74  aaaaa.addElement(new String("Mary"));on compiling this code, the error is
    TableDemo.java:65: <identifier> expected
                    data.addElement(aaaaa);
                                   ^
    TableDemo.java:74: <identifier> expected
                    aaaaa.addElement(new String("Mary"));
                                    ^
    TableDemo.java:65: package data does not exist
                    data.addElement(aaaaa);
                        ^
    TableDemo.java:74: package aaaaa does not exist
                    aaaaa.addElement(new String("Mary"));Friends i really got fed up with this code for more than half an hour.could anybody spot the problem?

    I can see many:
    1. i assume your code snip is inside a method. a local variable can not be declare private.
    2. if you didn't import java.util.* on top then you need to prefix package on All occurance of Vector.
    3. String in java are constant and has literal syntax. "Mary" is sufficient in most of the time, unless you purposly want to call new String("Mary") on purpose. Read java.lang.String javadoc.
    Here is a sample that would compile...:
    public class QuickMain {
         public static void main(String[] args) {
              java.util.Vector data=new java.util.Vector();
              java.util.Vector aaaaa=new java.util.Vector();
              data.addElement(aaaaa);
              aaaaa.addElement(new String("Mary"));
    }

  • Facing problem with the code for sending an .xls attachment via email, a field value contains leading zeros but excel automatically removes these from display i.e. (00444 with be displayed as 444).kindly guide .

    Facing problem with the code for sending an .xls attachment via email, a field value contains leading zeros but excel automatically removes these from display i.e. (00444 with be displayed as 444).kindly guide .

    Hi Chhayank,
    the problem is not the exported xls. If you have a look inside with Notepad or something like that, you will see that your leading zeros are exported correct.Excel-settings occurs this problem, it is all about how to open the document. If you use the import-assistant you will have no problems because there are options available how to handle the different columns.
    Another solution might be to get familiar with ABAP2XLS-Project. I got in my mind, that there is a method implemented, that will help you solving this problem. But that is not a five minute job
    ~Florian

  • I have a problem with a chart refreshing after its bound data provider changes.

    I have a problem with a chart refreshing after its bound data
    provider changes. After the subsetHighLowData.refresh() is called I
    would expect the chart to redraw, but it still looks the same. I
    even inspected the debugger to see if the slice had taken place and
    it had.
    Any ideas coding friends?

    "nikos101" <[email protected]> wrote in
    message
    news:gib6aa$prr$[email protected]..
    >I have a problem with a chart refreshing after its bound
    data provider
    >changes.
    > After the subsetHighLowData.refresh() is called I would
    expect the chart
    > to
    > redraw, but it still looks the same. I even inspected
    the debugger to see
    > if
    > the slice had taken place and it had.
    >
    > Any ideas coding friends?
    >
    > subsetHighLowData.source =
    >
    highLowData.source.slice(slider.values[0],slider.values[1]);
    Just use the ArrayCollection's removeItemAt, and it should
    handle the event
    dispatching for you.
    HTH;
    Amy

  • Problem with character code NCR (example : cộng h�a x� hội)

    Dear
    I have problem with character code NCR when display this string "c&#7897;ng h�a x� h&#7897;i" on web page using JSF. I print out like this c & # 7897 ; ng h � a x � h & # 7897 ; i
    Thanks for help

    jverd wrote:
    A better approach would be to take a char rather than a String in that method, since it's a better model for what you're converting. A char would also let you use switch statement.I was going to say this as well but you beat me to it.
    @OP, you really should use char for this. You're unnecessarily taking each char, converting it to a string, and working with the single-character string. That's not very efficient.

  • Inner join Vs Outer join with ABAP code...?

    Inner join Vs Outer join with ABAP code...?

    Inner Join means, it will not select that recor at all, unless there is a matching entry in the second table.
    suppose table VBAK INNER join table VBAP on VBAKVBELN = VBAPVBELN.
    In this case, if there are no entries in VBAP, the header entry also will not show up.
    But in case of OUTER JOIN, even if there is no items, it will show the header entry(VBAK) with blank columns for fields  from item table.(VBAP)
    here is one sample for inner join.
    SELECT   A~EBELN
               A~EKORG
               A~EKGRP
               A~BSART
               A~LPONR
               A~LOEKZ
               A~LIFNR
               A~RESWK
               B~AEDAT
               B~WERKS
               B~MATNR
               B~MENGE
               B~EBELP
               B~ELIKZ
               B~PLIFZ
               B~PSTYP
               B~KNTTP
               B~MATKL
               B~ZZD_PLANT
               FROM EKKO AS A INNER JOIN EKPO AS B
               ON
               AEBELN = BEBELN
               INTO CORRESPONDING FIELDS OF TABLE T_DATA
               FOR ALL ENTRIES IN T_EKET
               WHERE
               A~EBELN EQ T_EKET-EBELN AND
               A~BSART EQ C_UBSTO      AND
               A~EKORG IN S_EKORG      AND
               A~EKGRP IN S_EKGRP      AND
               A~BSTYP EQ C_BSTYP      AND
               A~LOEKZ EQ SPACE        AND " Order not deleted
               A~RESWK IN S_RESWK      AND
               B~EBELN EQ T_EKET-EBELN AND
               B~EBELP EQ T_EKET-EBELP AND
               B~WERKS IN S_WERKS      AND
               B~MATNR IN S_MATNR      AND
               B~MATKL IN S_MATKL      AND
               B~LOEKZ EQ SPACE.           " Line item not deleted

  • Hey i have this problem with my mac.. that its on its own shuts itself whenever i m using google chrome..i updated to yosemite but the problem never ended and i m experiecing unexplained shutdowns

    hey i have this problem with my mac.. that its on its own shuts itself whenever i m using google chrome..i updated to yosemite but the problem never ended and i m experiecing unexplained shutdowns

    Hi doctor.saddam,
    If your MacBook Pro is shutting down unexpectedly, I would suggest that you troubleshoot using the steps in this article - 
    OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • What is the problem with the code?

    Hello, the following is a segment of code that I have written recently:
            IF DATA+1(5) <> TEXT-035.
              CATCH SYSTEM-EXCEPTIONS WEIRD_ERROR = 4
                                     OTHERS = 8.
                END CATCH.
              ENDIF.
    When I tried to compile the code, it says:
    Unable to interpret "SYSTEM-EXCEPTIONS". Possible causes: Incorrect spelling or comma error.          
    May I know where is the problem with this code? Thanks a lot!
    Regards,
    Anyi

    Here is a list of the system exceptions.
    Alphabetical List of Catchable Runtime Errors
    ,,ADDF_INT_OVERFLOW
    Overflow in addition with type I ( ADD ... UNTIL / ADD ... FROM ... TO)
    ,,ASSIGN_CASTING_ILLEGAL_CAST
    The offset and type of the source field and the target type do not match exactly in the components that are strings, tables, or references.
    ,,ASSIGN_CASTING_UNKNOWN_TYPE
    The type specified at runtime is unknown.
    ,,BCD_FIELD_OVERFLOW
    Overflow in conversion or arithmetic operations (type P with specified length)
    ,,BCD_OVERFLOW
    Overflow in conversion or arithmetic operation (type P)
    ,,BCD_ZERODIVIDE
    Division by 0 (type P)
    ,,CALL_METHOD_NOT_IMPLEMENTED
    Call of a non-implemented interface method
    ,,COMPUTE_ACOS_DOMAIN
    Invalid call of mathematical function ACOS
    ,,COMPUTE_ASIN_DOMAIN
    Invalid call of mathematical function ASIN
    ,,COMPUTE_ATAN_DOMAIN
    Invalid call of mathematical function ATAN
    ,,COMPUTE_BCD_OVERFLOW
    Overflow in arithmetic operation (all operands type P)
    ,,COMPUTE_COSH_DOMAIN
    Invalid call of mathematical function COSH
    ,,COMPUTE_COSH_OVERFLOW
    Overflow in mathematical function COSH
    ,,COMPUTE_COS_DOMAIN
    Invalid call of mathematical function COS
    ,,COMPUTE_COS_LOSS
    Result of COS function is inexact
    ,,COMPUTE_EXP_DOMAIN
    Invalid call of mathematical function EXP
    ,,COMPUTE_EXP_RANGE
    Over- or underflow in mathematical function EXP
    ,,COMPUTE_FLOAT_DIV_OVERFLOW
    Overflow in division (type F)
    ,,COMPUTE_FLOAT_MINUS_OVERFLOW
    Overflow in subtraction (type F)
    ,,COMPUTE_FLOAT_PLUS_OVERFLOW
    Overflow in addition (type F)
    ,,COMPUTE_FLOAT_TIMES_OVERFLOW
    Overflow in multiplication (type F)
    ,,COMPUTE_FLOAT_ZERODIVIDE
    Division by 0 (type F)
    ,,COMPUTE_INT_ABS_OVERFLOW
    Integer overflow when calculating the absolute value
    ,,COMPUTE_INT_DIV_OVERFLOW
    Integer overflow in division
    ,,COMPUTE_INT_MINUS_OVERFLOW
    Integer overflow in subtraction
    ,,COMPUTE_INT_PLUS_OVERFLOW
    Integer overflow in addition
    ,,COMPUTE_INT_TIMES_OVERFLOW
    Integer overflow in multiplication
    ,,COMPUTE_INT_ZERODIVIDE
    Division by 0 (type I)
    ,,COMPUTE_LOG10_ERROR
    Invalid call of the mathematical function LOG10
    ,,COMPUTE_LOG_ERROR
    Invalid call of the mathematical function LOG
    ,,COMPUTE_MATH_DOMAIN
    Invalid call of a mathematical function
    ,,COMPUTE_MATH_ERROR
    Error executing a mathematical function
    ,,COMPUTE_MATH_LOSS
    Result of a mathematical function is inexact
    ,,COMPUTE_MATH_OVERFLOW
    Overflow of a mathematical function
    ,,COMPUTE_MATH_UNDERFLOW
    Underflow in a mathematical function
    ,,COMPUTE_POW_DOMAIN
    Invalid argument when raising powers
    ,,COMPUTE_POW_RANGE
    Over- or underflow when raising powers
    ,,COMPUTE_SINH_DOMAIN
    Invalid call of the mathematical function SINH
    ,,COMPUTE_SINH_OVERFLOW
    Overflow in the mathematical function SINH
    ,,COMPUTE_SIN_DOMAIN
    Invalid call of the mathematical function SIN
    ,,COMPUTE_SIN_LOSS
    Result of the function SIN is inexact
    ,,COMPUTE_SQRT_DOMAIN
    Invalid call of the mathematical function SQRT
    ,,COMPUTE_TANH_DOMAIN
    Invalid call of the mathematical function TANH
    ,,COMPUTE_TAN_DOMAIN
    Invalid call of the mathematical function TAN
    ,,COMPUTE_TAN_LOSS
    Result of the function TAN is inexact
    ,,CONNE_IMPORT_WRONG_COMP_LENG
    Import error: A component in a structured type in the dataset has an incorrect length
    ,,CONNE_IMPORT_WRONG_COMP_TYPE
    Import error: A component of a structured type in the dataset has an incorrect length
    ,,CONNE_IMPORT_WRONG_FIELD_LENG
    Import error: A field in the dataset has an incorrect length
    ,,CONNE_IMPORT_WRONG_FIELD_TYPE
    Import error: A field in a dataset has the wrong type
    ,,CONNE_IMPORT_OBJECT_TYPE
    Import error: Type conflict between simple and structured data types
    ,,CONNE_IMPORT_WRONG_STRUCTURE
    Import error: Type conflict between structured objects
    ,,CONVT_HEX_CONFLICT
    Conversion conflict (Type X)
    ,,CONVT_NO_NUMBER
    Value for conversion cannot be interpreted as a number
    ,,CONVT_OVERFLOW
    Overflow in conversion (all types except type P)
    ,,CREATE_DATA_NOT_ALLOWED_TYPE
    The statement CREATE DATA cannot be executed with a generic type.
    ,,CREATE_DATA_UNKNOWN_TYPE
    The statement CREATE DATA cannot be executed with an unknown type.
    ,,CREATE_OBJECT_CLASS_ABSTRACT
    Attempt to instantiate an abstract class.
    ,,CREATE_OBJECT_CLASS_NOT_FOUND
    The class specified with a dynamic CREATE OBJECT was not found.
    ,,CREATE_OBJECT_CREATE_PRIVATE
    Attempt to create an object of a class defined as 'CREATE PRIVATE'.
    ,,CREATE_OBJECT_CREATE_PROTECTED
    Attempt to create an object of a class defined as 'CREATE PROTECTED'.
    ,,DATA_LENGTH_NEGATIVE
    Invalid subfield access: Negative length
    ,,DATA_LENGTH_0
    Invalid subfield access: Length 0
    ,,DATA_LENGTH_TOO_LARGE
    Invalid subfield access: Length too large
    ,,DATA_OFFSET_NEGATIVE
    Invalid subfield access: Negative offset
    ,,DATA_OFFSET_TOO_LARGE
    Invalid subfield access: Offset too large
    ,,DATA_OFFSET_LENGTH_TOO_LARGE
    Invalid subfield access: Offset + length too large
    ,,DATA_OFFSET_LENGTH_NOT_ALLOWED
    Invalid subfield access: Type not appropriate
    ,,DATASET_CANT_CLOSE
    Unable to close file. There may be no space left in the file system
    ,,DATASET_CANT_OPEN
    Unable to open file
    ,,DATASET_NO_PIPE
    The FILTER addition to the OPEN DATASET statement is not supported on the current operating system
    ,,DATASET_READ_ERROR
    Error reading a file
    ,,DATASET_TOO_MANY_FILES
    Maximum number of open files exceeded
    ,,DATASET_WRITE_ERROR
    Error writing to a file
    ,,DYN_CALL_METH_CLASSCONSTRUCTOR
    Attempt to call the class constructor
    ,,DYN_CALL_METH_CLASS_ABSTRACT
    Attempt to call an abstract method
    ,,DYN_CALL_METH_CLASS_NOT_FOUND
    Attempt to call a method of a non-existent class
    ,,DYN_CALL_METH_CONSTRUCTOR
    Attempt to call the instance constructor
    ,,DYN_CALL_METH_EXCP_NOT_FOUND
    Attempt to catch an unknown exception
    ,,DYN_CALL_METH_NOT_FOUND
    Attempt to call an unknown method
    ,,DYN_CALL_METH_NOT_IMPLEMENTED
    Attempt to call a method that has not been implemented yet
    ,,DYN_CALL_METH_NO_CLASS_METHOD
    Attempt to call an instance method via a class
    Attempt to pass a parameter with an incorrect parameter type
    ,,DYN_CALL_METH_PARAM_LITL_MOVE
    Attempt to pass a constant actual parameter to a formal EXPORTING, CHANGING or RETURNING parameter
    ,,DYN_CALL_METH_PARAM_MISSING
    An obligatory parameter was not supplied.
    ,,DYN_CALL_METH_PARAM_NOT_FOUND
    Attempt to pass an unknown parameter
    ,,DYN_CALL_METH_PARAM_TAB_TYPE
    Attempt to pass a parameter with an incorrect table type
    ,,DYN_CALL_METH_PARAM_TYPE
    Attempt to pass a parameter with an incorrect type
    ,,DYN_CALL_METH_PARREF_INITIAL
    An initial data reference was passed for an mandatory parameter.
    ,,DYN_CALL_METH_PRIVATE
    Attempt to call a private method from outside
    ,,DYN_CALL_METH_PROTECTED
    Attempt to call a protected method from outside
    ,,DYN_CALL_METH_REF_IS_INITIAL
    Attempt to call a method with an initial reference
    ,,EXPORT_BUFFER_NO_MEMORY
    The EXPORT data cluster is too large for the application buffer
    ,,EXPORT_DATASET_CANNOT_OPEN
    The IMPORT/EXPORT statement could not open the file
    ,,EXPORT_DATASET_WRITE_ERROR
    The EXPORT statement could not write to the file
    ,,GENERATE_SUBPOOL_DIR_FULL
    The system cannot generate any more temporary subroutine pools
    ,,IMPORT_ALIGNMENT_MISMATCH
    Import error: Same sequence of components, but with type conflict or different alignment in structured data types
    ,,IMPORT_TYPE_MISMATCH
    Import error: Only with IMPORT...FROM MEMORY | FROM SHARED BUFFER...
    ,,MOVE_CAST_ERROR
    Type conflict when assigning between object and interface references (only MOVE...?TO... or operator ?=)
    ,,OPEN_DATASET_NO_AUTHORITY
    No authorizatino to access the file
    ,,OPEN_PIPE_NO_AUTHORITY
    No authorization to access the file (OPEN DATASET...FILTER...).
    ,,PERFORM_PROGRAM_NAME_TOO_LONG
    Invalid program name with PERFORM statement
    ,,RMC_COMMUNICATION_FAILURE
    Communication error with Remote Method Call
    ,,RMC_INVALID_STATUS
    Status error with Remote Method Call
    ,,RMC_SYSTEM_FAILURE
    System error with Remote Method Call
    ,,STRING_LENGTH_NEGATIVE
    Invalid access with negative length to a string
    ,,STRING_LENGTH_TOO_LARGE
    Invalid access to a string (length too large)
    ,,STRING_OFFSET_NEGATIVE
    Invalid access with negative offset to a string
    ,,STRING_OFFSET_TOO_LARGE
    Invalid access to a string (offset too large)
    ,,STRING_OFFSET_LENGTH_TOO_LARGE
    Invalid access to a string (offset + length too large)
    ,,TEXTENV_CODEPAGE_NOT_ALLOWED
    Character set is not released in the system (SET LOCALE...)
    ,,TEXTENV_INVALID
    Error setting the text environment (SET LOCALE...)
    ,,TEXTENV_KEY_INVALID
    With SET LOCALE...: Value of LANGUAGE, COUNTRY or MODIFIER that is not allowed in the system.
    ,,TEXTENV_LANGUAGE_NOT_ALLOWED
    With SET LOCALE...: Invalid value of the LANGUAGE addition.
    What version of SAP are you on?   If on a newer version you may be able to create your own exception class.
    Regards,
    Rich Heilman

  • Problem with opening a file in its application using Runtime

    Dear experts,
    excuse me for my ignorance, but I am facing a problem and I would really
    appreciate some help. I am working on a java program in which I want the user
    to have the ability to save the contents of a JTable into a file of his preference (the file could be of any type i.e xls, txt, doc...) and then open this file in its
    default application (i.e the txt file through notepad, the xls file through excel etc..).
    Everything works fine with the code below, if the filePath does not contain blank spaces. I did some search on the forun and the web, and also tried to
    find a solution through the great link
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html but I still
    cannot solve the problem. Below I quote the part of the code (actually the actionPerformed dunction of the equivallent button) which is responsible for the opening of the file.
        excelButton.addActionListener(new ActionListener()
           public void actionPerformed(ActionEvent e)
             //saveFileName is the File that I want to open
             String filePath = "\""+saveFileName.toString()+"\"";
             System.out.println(""+filePath);
             try
              String cmd="cmd.exe /C start "+filePath;
              String cmd="cmd.exe /C start C:\\Documents and Settings\\test.xls";
              Process p = Runtime.getRuntime().exec(cmd);
             }catch(IOException ec){}
         });Thank you in advance for your help!
    Sincerely yours,
    JIM

    Dear BillBlalock ,
    thank you for answer!! You are very kind and helpful!! I would like to inform everybody that I have finally find another way of soilving my problem and I announce it to the forum in case somebody else encounters the same problem. Well, I soved the nproblem by using the following code:
        excelButton.addActionListener(new ActionListener()
           public void actionPerformed(ActionEvent e)
             String filePath = "\""+saveFileName.toString()+"\"";
             System.out.println(""+filePath);
             try
               String cmd="explorer "+filePath;
               Process p = Runtime.getRuntime().exec(cmd);
             }catch(IOException ec){}
         });I hope it can be useful to somebody!! By this code, I can make a button (in my case the excelButton) to open any file in its default application. Keep up the great work you are doing guys!!

  • Display problems with this code

    <tr>
        <td class="atthetop">Display from : </td>
        <!-- get the date from the recordset -->
        <td><?php $date=new DateTime($row_Recordset1['event_entered']);
      echo $date->format('d-M-Y') ?>
            </td>
       </tr>
      <tr>
        <td class="atthetop">to:</td>
        <!-- add a period of months to the date -->
        <td><?php $date->add(new DateInterval('P'.($row_Recordset1['event_expiry']).'M'));
    echo $date->format('d-M-Y');?>
        </td>
      </tr>
      <tr>
        <td class="atthetop">For :</td>
        <td><?php echo $row_Recordset1['event_expiry']." Months"; ?> </td>
      </tr>
      <tr>
        <td class="atthetop">Entered :</td><!--/format the date and print it with the time-->
        <td><?php $date=new DateTime($row_Recordset1['event_entered']);
    echo $date->format('d-M-Y-\a\t h:i') ?></td>
      </tr>
    Above is a section of code that displays perfectly well in live view and in a browser when I use it on my own machine.
    However, when I upload it to my website, it only displays the page down to where the smily is.
    I assumed that the error is due to a small difference in the php variants, but it could also be something that is wrong with my code.
    Can anyone help?
    I am using Xamp 2.5 on my home machine. The web server is using php version 6 but version 5 is also enabled.
    Its all written in html5 and php.

    Is there a way to compile with deprecation in TextPad?
    I looked around and couldn't find anything. I
    believe the problem is because of
    Date enterDate = new Date(month + "/" + day + "/" +
    year); . The format is probably wrong and the Date
    method doesn't like it, at least that is my guess. I
    have been programming in Java for about three weeks
    now, it's my first Object Oriented language, so I'm
    clueless on a lot of this stuff. Thanks for your
    reply saturnblues.First off, deprecation means that while the method is still available, it's recommended not to use it. (It even may be removed in a later version?) But it's not a real error.
    Secondly, you're right. The problem is with that line. See http://java.sun.com/j2se/1.4.1/docs/api/java/util/Date.html for details.
    But what you could do, is something like Date enterDate = date.parse(month + "/" + day + "/" + year);
    One bit of advice: please don't call your DateFormat 'date', as that may cause confusion. Let its name reflect what it represents or what type it is, and preferably both (for instance: 'myCustomDateFormat').

  • Enhancing 0FI_GL_4  - ABAP code is NOT working -  URGENT PLEASE ???

    Hi all,
        I want to enhance 0FI_GL_4 extractor with CHECT, RWBTR & PRIDT from PAYR table if VBELN of 0FI_GL_4  is not BLANK, with the following conditions:
    1.Load all the records of PAYRQ table into PAYRQ internal table LT_PAYRQ
    with matching BELNR, AUGBL & BUKRS from I_DTFIGL_4 internal table.
    2.Load all the records of PAYR table into PAYR internal table LT_PAYR
    with matching AUGBL & BUKRS from LT_PAYRQ internal table.
    3.Read PAYR internal table LT_PAYR with matching BELNR (from I_DTFIGL_4
          internal table) and fill the new fields  CHECT, RWBTR & PRIDT.
    The following the is ABAP code, but it is NOT working:
    DATA:I_DTFIGL_4 LIKE DTFIGL_4 OCCURS 0 WITH HEADER LINE,
         L_TABIX LIKE SY-TABIX.
    DATA: BEGIN OF LS_PAYRQ,
                 ZBUKR LIKE PAYRQ-ZBUKR,
                 BELNR LIKE PAYRQ-BELNR,
                 AUGBL LIKE PAYRQ-AUGBL,
             END OF LS_PAYRQ.
    DATA: LT_PAYRQ LIKE LS_PAYRQ OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF LS_PAYR,
                 VBLNR LIKE PAYR-VBLNR,
                 CHECT LIKE PAYR-CHECT,
                 RWBTR LIKE PAYR-RWBTR,
                 PRIDT LIKE PAYR-PRIDT,
             END OF LS_PAYR.
    DATA: LT_PAYR LIKE LS_PAYR OCCURS 0 WITH HEADER LINE.
    WHEN '0FI_GL_4'.
        I_DTFIGL_4 = C_T_DATA.
        SELECT BELNR   AUGBL  ZBUKR
          FROM PAYRQ
          INTO CORRESPONDING FIELDS OF TABLE LT_PAYRQ
          FOR ALL ENTRIES IN I_DTFIGL_4
          WHERE BELNR = I_DTFIGL_4-BELNR
            AND AUGBL = I_DTFIGL_4-AUGBL
            AND BUKRS = I_DTFIGL_4-BUKRS.
        SORT LT_PAYRQ BY BELNR.
        SELECT VBLNR CHECT RWBTR PRIDT
           FROM PAYR
           INTO CORRESPONDING FIELDS OF TABLE LT_PAYR
           FOR ALL ENTRIES IN LT_PAYRQ WHERE VBLNR = LT_PAYRQ-AUGBL
           AND ZBUKR = LT_PAYRQ-ZBUKR.
        SORT LT_PAYR BY VBLNR.
        LOOP AT C_T_DATA INTO I_DTFIGL_4.
            L_TABIX = SY-TABIX.
         IF NOT I_DTFIGL_4-VBELN IS INITIAL.     " IF BILLING DOCUMENT EXISTS
            READ TABLE LT_PAYR WITH KEY VBLNR = I_DTFIGL_4-BELNR.
            IF SY-SUBRC = 0.
               MOVE LT_PAYR-CHECT   TO  I_DTFIGL_4-ZZCHECT.
               MOVE LT_PAYR-RWBTR  TO  I_DTFIGL_4-ZZRWBTR.
               MOVE LT_PAYR-PRIDT    TO  I_DTFIGL_4-ZZPRIDT.
               MODIFY C_T_DATA FROM I_DTFIGL_4 INDEX L_TABIX.
            ENDIF.
            CLEAR:I_DTFIGL_4-ZZCHECT,I_DTFIGL_4-ZZRWBTR,I_DTFIGL_4-ZZPRIDT,
                  LT_PAYR,  LT_PAYRQ.
          ENDIF.
        ENDLOOP.
    Could you please find the problem with above ABAP code and correct it.
    Since I want to enhance it,  if VBELN is not Blank and do I have to move the IF condition (I_DTFIGL_4-VBELN IS INITIAL) to another location for better performance.
    Thanks,
    Venkat..

    Dear Gajesh,
    Please accept my thanks for your Spontaneous reply.
    Selection Screen data is given below.
    1 --> Material Number
    2 --> Inspection Lot Number
    3 --> Date of Lot Creation
    4--> Inspection Type
    Normally the clint will give the Inspection Type ie 4th input and Date of Lot creation ie 3rd Input (Range of Date).
    Please do the needful.
    With Best Regards,
    Raghu Sharma

  • What is the problem with the code to get all  opportunities

    Hello All,
    I have wrote the java code as below to get the all opportunities.But i did not get the opportunities i.e its returns null . Any one,Please suggest me what is the problem with the below code.
    OpportunityWS_OpportunityQueryPage_Output opportunityWS_OpportunityQueryPage_Output = new OpportunityWS_OpportunityQueryPage_Output();
                   Opportunity[] opportunities=opportunityWS_OpportunityQueryPage_Output.getListOfOpportunity();
    Thanks,
    --bdr_09                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Dinesh,
    Please check out the code and give me your suggestions
    *try{*
    String address="MY URL"+getSessionId();
    Default_BindingStub dbs=new Default_BindingStub();
    dbs.setMaintainSession(true);
    OpportunityLocator loc = new OpportunityLocator();
    loc.setDefaultEndpointAddress(address);
    loc.setMaintainSession(true);
    OpportunityWS_OpportunityQueryPage_Output opportunityWS_OpportunityQueryPage_Output = new OpportunityWS_OpportunityQueryPage_Output();
                   Opportunity[] opportunities= opportunityWS_OpportunityQueryPage_Output.getListOfOpportunity();
    System.out.println("opportunities size::"+opportunities.length);
    *}catch(Exception e){*
    e.printStackTrace();
    Thanks,
    --bdr_09                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Muvo TX SE 1GB - Strange Noi

    I bought a Muvo TX SE GB yesterday and everything seems to be fine, except some kind of strange beeping and whirring noise (that a cd player sometimes makes). I have read other threads with this problem, but no one has actually told how they got rid

  • Language Conversion from Unicode 8 to Character Set

    Hi, I am creating a file programmatically containing Vendor Master data (FTP interface). The vendor name and vendor address is maintained in the local language (Taiwanese) in SAP System, these characters are in Unicode 8 character set. The Unicode ch

  • During Init -  Is this a error in Monitor Tab - Details Tab

    Hi BW Experts, When init is running from ods to Cube. In Status Tab : It is showing that "Request is still Running". In Details Tab : Overall Status : --> Requests (Messages) : Everything OK. --> Extraction (messages) : Missing Messages or Warnings.

  • Where is the render queue in Cinema 4D Lite? My menu doesn't show it

    I'm having a problem rendering a short animation from Cinema 4D. I began the project in a computer lab, where there's the obvious Render Queue setting under the Render menu drop-down. My problem is I'm now working at home with my CC downloaded versio

  • Ymail user deletes appointment sent by Outlook 2010 user

    Hello, An Outlook 2010 user sent an appointment to about 20 individuals, some gmail, some ymail, some exchange users.  The ymail user deleted the appointment from their calendar because they could not attend, and the deletion removed the appointment