ICR Upload negative values over Upload File

Dear Experts (or in most cases Dear Ralph ; ),
Ich have a question concerning the Upload File which makes it possible in ICR to upload datas via an Excel/TXT Interface.
My Question is how can I upload negative values?
Because when I upload  a value like "-100" the value in ICR will be converted to "100", so a positive amount.
So how can I explain the system that the value in the txt-file should be uploaded as an negative value?
Should I control it over the debits/credits indicator?
Or should the minus stand at the back of the values?
Thanks in advance for any helpful answer
Regards
Thomas

Hi,
If I am not wrong it will be through debit credit indicator (SHKZG: S for positive and H for negative)
Regards,
Saravan Kanuparthy

Similar Messages

  • Send / receive negative values over OPC with DSC -- Device failure

    I try to send a negtive value (e.g. -1) but the Tag Monitor shows "Device failure". A positve value works fine (Quality: Good)!
    When accessed the variable the directly with a DataSocket connection there is no problem with negative values.
    Is it possible to declare the datatype of each variable in the Tag Cofiguration Editor? Haven´t found yet ..!

    I guess the problem is Firmware of HP/Agilent 8753 Network Analyzer. Look to Agilents' VXIPnP driver:
    http://adn.tm.agilent.com/index.cgi?CONTENT_ID=718&SESSION_ID=901-1096437589-5655233
    The function is ag875x_title(ViSession vi,
    ViString title,
    ViString titleRequest,
    ViInt16 titleChannel,
    ViPString currentTitle)
    Hope this help you.
    "Only a life lived in the service to others is worth living..." - Albert Einstein

  • Upload plan values using excel file

    Hi Expert,
    I am trying to use the t-code 7KEX to upload excel spreadsheet to SAP instead of using 7KE1.
    However, the field "File descriptions", what do I need to indicate ? How do I create a excel file format for the upload ?
    I want to upload budgeted figure in version 0 for the whole year. And how to upload monthly figures in SAP ? I am referring to mass upload. Not just using 7KE1.
    Please advise.
    Thanks.
    Angel

    HI,
    in the field "file description" you have to add the file description created when you've customized an "exel-integrated planning layout". This is done in T-Code 7KEA.
    Follow the link in this thread to SAP-docu for excel-integrated planning (which is the same in CO-OM and EC-PCA):
    Cost center - primary cost element planning- by period - in CO versions
    If you want to upload month-dependent plan data define a plan layout using period/year as a key characteristic or upload your plan data on a monthly base (with  the layout from above but planning period 001.2010-001.2010, 002.2010-002.2010,... instead of 001.2010 - 012.2010).
    Best regards, Christian
    Edited by: Christian Ortner on Mar 15, 2010 1:54 PM

  • Write Negative Value Byte to File

    In this example, I'm trying to write a value in between -128 to 127 to a text file. When I read it back (and check it using a binary viewer), the text file actually gets 63. The only workable range is 0 to 127. How can I get negatives?
              Byte b = (byte)-12;
              BufferedWriter writer = new BufferedWriter(new FileWriter("C:\\Documents and Settings\\Joe\\Desktop\\test.txt"));
              writer.write(b);
              writer.close();
              DataInputStream is = new DataInputStream(new FileInputStream("C:\\Documents and Settings\\Joe\\Desktop\\test.txt"));
              System.out.println(is.read());
              is.close();

    The byte became unsigned when using the OutputStream. I tried to write -12, and I got 244. But now, I can write 0 through 255 (a bigger range)
    But I can just use arithmetic to make it work.
    Thanks!
              Byte b = (byte)-12;
              OutputStream out = new FileOutputStream("C:\\Documents and Settings\\joe\\Desktop\\test.txt");
              out.write(b);
                    out.close();
              DataInputStream is = new DataInputStream(new FileInputStream("C:\\Documents and Settings\\joe\\Desktop\\test.txt"));
              System.out.println(is.read());
              is.close();

  • File upload script not getting the file name for larger files

    Hi
    I have the following code (see extract below) and find that
    when the size of the file to upload is larger than about 300kb the
    code does not grab the file name. Consequently the upload fails.
    The code works fine when the file size is smaller.
    The code in the form page is:
    <form
    action="UploadAttachment.asp?SubjectName=<%=Request.QueryString("SubjectName")%>&VersionN umber=<%=Request.QueryString("VersionNumber")%>&QualificationName=<%=Request.QueryString(" QualificationName")%>"
    method="post" enctype="multipart/form-data" name="form1">
    <input name="file" type="file" size="100">
    <input name="Upload" type="submit" id="Upload"
    value="Upload">
    </form>
    The code in the UploadAttachment.asp page is:
    <%
    'Grab the file name
    Dim objUpload, strPath, SQLString
    Set objUpload = New clsUpload
    'there is a problem that this next line doesn't grab the file
    name if file is too large.
    strFileName = objUpload.Fields("file").FileName
    etc.
    %>
    If you have any idea how to resolve this I'd be grateful.
    Neil

    Hi
    I have the following code (see extract below) and find that
    when the size of the file to upload is larger than about 300kb the
    code does not grab the file name. Consequently the upload fails.
    The code works fine when the file size is smaller.
    The code in the form page is:
    <form
    action="UploadAttachment.asp?SubjectName=<%=Request.QueryString("SubjectName")%>&VersionN umber=<%=Request.QueryString("VersionNumber")%>&QualificationName=<%=Request.QueryString(" QualificationName")%>"
    method="post" enctype="multipart/form-data" name="form1">
    <input name="file" type="file" size="100">
    <input name="Upload" type="submit" id="Upload"
    value="Upload">
    </form>
    The code in the UploadAttachment.asp page is:
    <%
    'Grab the file name
    Dim objUpload, strPath, SQLString
    Set objUpload = New clsUpload
    'there is a problem that this next line doesn't grab the file
    name if file is too large.
    strFileName = objUpload.Fields("file").FileName
    etc.
    %>
    If you have any idea how to resolve this I'd be grateful.
    Neil

  • Standard program for uploading budget values in expenses

    Hi Experts,
    can u please tell me the standard program to upload budget values in Expenses
    thanks & regards..
    Narendra

    Hi,
    This is a sample program to upload through excel sheet.
    Check this code to upload vendor master through SHDB transaction.
    report ZVEND_MST no standard page heading line-size
    255.
    *include bdcrecx1.
    *parameters: dataset(132) lower case default
    'c:\vend.mst'.
       DO NOT CHANGE - the generated data section - DO
    NOT CHANGE    ***
      If it is nessesary to change the data section use
    the rules:
      1.) Each definition of a field exists of two lines
      2.) The first line shows exactly the comment
          '* data element: ' followed with the data
    element
          which describes the field.
          If you don't have a data element use the
          comment without a data element name
      3.) The second line shows the fieldname of the
          structure, the fieldname must consist of
          a fieldname and optional the character '_' and
          three numbers and the field length in brackets
      4.) Each field must be type C.
    Generated data section with specific formatting -
    DO NOT CHANGE  ***
    data: begin of record,
    data element: LIF16
            LIFNR_001(016),
    data element: BUKRS
            BUKRS_002(004),
    data element: EKORG
            EKORG_003(004),
    data element: KTOKK
            KTOKK_004(004),
    data element: NAME1_GP
            NAME1_005(035),
    data element: SORTL
            SORTL_006(010),
    data element: LAND1_GP
            LAND1_007(003),
    data element: SPRAS
            SPRAS_008(002),
    data element: BSTWA
            WAERS_009(005),
          end of record.
    End generated data section ***
    DATA : ITAB TABLE OF RECORD WITH HEADER LINE.
    start-of-selection.
    *perform open_dataset using dataset.
    *perform open_group.
    *do.
    *read dataset dataset into record.
    *if sy-subrc <> 0. exit. endif.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\VENDOR.TXT'  
    "TEXT FILE
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                      = ITAB
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT ITAB.
    *In Loop Change Record With ITAB
    like record-lifnr_001 with itab-lifnr_001 
      perform bdc_dynpro      using 'SAPMF02K' '0100'.
      perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-KTOKK'.
      perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
      perform bdc_field       using 'RF02K-LIFNR'
                                  record-LIFNR_001.
      perform bdc_field       using 'RF02K-BUKRS'
                                  record-BUKRS_002.
      perform bdc_field       using 'RF02K-EKORG'
                                  record-EKORG_003.
      perform bdc_field       using 'RF02K-KTOKK'
                                  record-KTOKK_004.
      perform bdc_dynpro      using 'SAPMF02K' '0110'.
      perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-SPRAS'.
      perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
      perform bdc_field       using 'LFA1-NAME1'
                                  record-NAME1_005.
      perform bdc_field       using 'LFA1-SORTL'
                                  record-SORTL_006.
      perform bdc_field       using 'LFA1-LAND1'
                                  record-LAND1_007.
      perform bdc_field       using 'LFA1-SPRAS'
                                  record-SPRAS_008.
      perform bdc_dynpro      using 'SAPMF02K' '0120'.
      perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-KUNNR'.
      perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
      perform bdc_dynpro      using 'SAPMF02K' '0130'.
      perform bdc_field       using 'BDC_CURSOR'
                                  'LFBK-BANKS(01)'.
      perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
      perform bdc_dynpro      using 'SAPMF02K' '0210'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'LFB1-AKONT'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_dynpro      using 'SAPMF02K' '0215'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'LFB1-ZTERM'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_dynpro      using 'SAPMF02K' '0220'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'LFB5-MAHNA'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_dynpro      using 'SAPMF02K' '0310'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'LFM1-WAERS'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_field       using 'LFM1-WAERS'
                                    record-WAERS_009.
      perform bdc_dynpro      using 'SAPMF02K' '0320'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RF02K-LIFNR'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=ENTR'.
      perform bdc_dynpro      using 'SAPLSPO1' '0300'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=YES'.
      perform bdc_transaction using 'XK01'.
    endLOOP..
    Check It, Activate it and process in SM35.

  • Pgm to upload a tab delimited text file

    Hi ,
    can anyone send me a program to upload a tab delimited text file into a ztable.
    My email id is : [email protected]
    Thanks
    Kajol

    Check the below code:
    *& Report  Z_UPLOAD_MUNCPCODE                                          *
    REPORT  z_upload_muncpcode.
    PARAMETERS : p_fname   LIKE rlgrap-filename.
    TYPES: BEGIN OF ty_munc,
            land1     TYPE tzone-land1,
            zone1     TYPE tzone-zone1,
            vtext TYPE tzont-vtext,
           END OF ty_munc.
    DATA: i_munc   TYPE STANDARD TABLE OF ty_munc,
          i_tzone  TYPE STANDARD TABLE OF tzone,
          i_tzont  TYPE STANDARD TABLE OF tzont,
          wa_munc  TYPE ty_munc,
          wa_tzone TYPE tzone,
          wa_tzont TYPE tzont.
    CONSTANTS: c_path     TYPE char20 VALUE 'C:\',
               c_mask     TYPE char9  VALUE ',*.*,*.*.',
               c_mode     TYPE char1  VALUE 'O',
               c_filetype TYPE char10 VALUE 'ASC',
               c_x        TYPE char01 VALUE 'X'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
    *-- Browse Presentation Server
      PERFORM f4_presentation_file.
    START-OF-SELECTION..
    *-- Read presentation server file
      PERFORM f1003_pre_file.
      LOOP AT i_munc INTO wa_munc.
        wa_tzone-mandt = wa_tzont-mandt = sy-mandt.
        wa_tzone-land1 = wa_tzont-land1 = wa_munc-land1.
        wa_tzone-zone1 = wa_tzont-zone1 = wa_munc-zone1.
        wa_tzont-spras = sy-langu.
        wa_tzont-vtext = wa_munc-vtext.
        APPEND wa_tzont TO i_tzont.
        APPEND wa_tzone TO i_tzone.
        CLEAR: wa_munc, wa_tzont, wa_tzone.
      ENDLOOP.
    END-OF-SELECTION.
    Modify Table TZONT
      PERFORM enqueue_table USING text-001.
      MODIFY tzont FROM TABLE i_tzont.
      PERFORM dequeue_table USING text-001.
    Modify Table TZONE
      PERFORM enqueue_table USING text-002.
      MODIFY tzone FROM TABLE i_tzone.
      PERFORM dequeue_table USING text-002.
      WRITE: 'Tables TZONE & TZONT are updated'.
    *&                  Form  f4_presentation_file
    *&                F4 Help for presentation server
    FORM f4_presentation_file .
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_path         = c_path
          mask             = c_mask
          mode             = c_mode
          title            = text-001
        IMPORTING
          filename         = p_fname
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 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.
      ENDIF.
    ENDFORM.                    " f4_presentation_file
    *&                      Form  f1003_pre_file
    *&                         Upload File
    FORM f1003_pre_file .
      DATA: lcl_filename TYPE string.
      lcl_filename = p_fname.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = lcl_filename
          filetype                = c_filetype
          has_field_separator     = c_x
        TABLES
          data_tab                = i_munc
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        EXIT.
      ENDIF.
    ENDFORM.                    " f1003_pre_file
    *&                         Form  enqueue_table
    *&                           Enqueue Table
    FORM enqueue_table USING p_tabname.
      CALL FUNCTION 'ENQUEUE_E_TABLE'
        EXPORTING
          tabname        = p_tabname
        EXCEPTIONS
          foreign_lock   = 1
          system_failure = 2
          OTHERS         = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " enqueue_table
    *&                        Form  dequeue_table
    *&                           Dequeue Table
    FORM dequeue_table USING p_tabname.
      CALL FUNCTION 'DEQUEUE_E_TABLE'
        EXPORTING
          tabname = p_tabname.
    ENDFORM.                    " dequeue_table
    Regards,
    Prakash.

  • Upload Currency Vlaues using Flat File.

    Hi All,
    I need a clarification in Loading the Currency Values through flat files. The flat file is created with the similar table structure as that of TCURR.
    But there is a problem that am facing.
    In SPRO there is an screen to maintain the Exchange rates. After doing the flat file upload in AWB under the source system tab, i checked in SPRO Exchange rates screen to see if the values for Indirect Quotation and Direct Quotations are populated. But it is always populating the exchange value only in Direct Quotation and not in indirect quotation.
    Apart from that i am not able to navigate in that screen as am getting an error message in the Exchange rate screen as :"MAnintain conversion factors for <FROM>/<TO> currency.
    Please let me know how to do a flat file upload of currency values and also on the Indirect/Direct Quot mapping.
    Sajan.M

    Hi Sajan,
    The Steps that you followed is correct but only thing is you have to maintain Exchange Rate Type with use of T-code : RRC1 .
    Maintain the Flatfile same as the table.
    Note : Exchange Rate Type should be the existing one.
    In the Source system, right click the concern source system and choose the transfer exchange rate...and specify your flat file.we can load it from the local or application server.
    But be carefull sometimes it will delete the existing data in the table.
    Regards,
    Suresh

  • Upload variable values to BPS

    Hi All,
    Is there any way to upload values to BPS variables?
    I know we can definetly upload some values to Bex varialbes by flat file (or) personlaization.
    Is the same can be done to BPS variables?
    Any help is greatly appreciated.
    Best Regards,
    Reddy.

    Hi,
    no. If you have static Varible Selection, and one does not want to fill the variable table in BPS0, you can create small program to update these tables:
    UPC_VAR_CHA_ACT
    UPC_VAR_CHA_SEL.
    The question is: which one is faster, manual entry in BPS0 or to create a program to update those tables?
    If you have dynamic selection of a variable (i think this is the most situation happened), it is suggested to use Var exit.
    Best Regards,
    Suan Liono

  • Error while uploading data from a flat file to the hierarchy

    Hi guys,
    after i upload data from a flat file to the hierarchy, i get a error message "Please select a valid info object" am loading data using PSA, having activated all external chars still get the problem..some help on this please..
    regards
    Sri

    there is o relation of infoobject name in flat file and infoobjet name at BW side.
    please check with the object in the BW and their lengths and type of the object and check your flat file weather u have the same type there,
    now check the sequence of the objects in the transfer rules  and activate them.
    there u go.

  • To what folder do I upload the google webmaster verification file too?

    Trying to verify my website on BC so I can get the sitemap searched.
    WHICH folder do I upload the google webmaster verification file too?
    Thanks!

    Do not use that one, Use the meta method - Better.

  • How can i upload more than one single file into a folder in the creative cloud?

    how can i upload e.g. 10 files out of a folder on my desktop in one step into a folder in my creative cloud?

    You can select multiple files in the Windows Explorer dialog using the Ctrl key, or in Mac OS X Finder using the Cmd key. Once you have multiple files selected just click the upload button. Or use drag and drop from the desktop to the browser.
    If you are using Internet Explorer it does not support multiple file upload. This is per design by Microsoft.

  • How to upload a image or flash file as blob object in a table.

    How to upload a image or flash file as blob object in a table.
    What are all the possible ways we can do it.

    Searching the forum (or google) would be my first choice, as this question pops up every now and then.
    Next without knowledge of your environment (jdev version and technology stack) it's hard to give a profound answer.
    All I can say is that it's possible.
    Timo

  • Uploading Data from a Flat File

    Hi
    I am trying to Upload data from a Flat File to the MDS. I have a few questions on the Process.
    a) XI would be the Interface, and one end would be a file adapter with the Flat File format. On the other end, which Interface should I use - ABA Business Partner In or MDM Business Partner In. I do not understand the differences between them and where should which one be used?
    B) At the moment,I want to map the data to standard Object type, Business Partner  BUS1006. This also has a staging area already defined in the System. Can I view the data which is imported into the Staging area ? How so ?
    C) The struture (or data) that I wish to upload has few fields, and does not map to the BP structure easily. In such a scenario does it make sense to
    Create a new Object type
    (ii) Create a new Business Partner type with the appropriate fields only ..
    What I need to know is if either of these options is feasible and what are the pros & cons of doing this, in terms of effort, skillset & interaction with SAP Development ?
    Kindly do reply if you have any answers to these questions.
    Regards,
    Gaurav

    Hi Markus,
    Thanks for your inputs.
    I have tried uploading some dats from a Flat file to the Business Partner Onject type, BUS1006. I initially got some ABAP Parsing errors on the MDM side, but after correcting that, I find my message triggers a short dump - with the Method SET_OBJECTKEYS, not finding any keys in the BP structure that has been created.
    Q1 - How do I get around this problem ? Is it necessary for me to specify Keys in the PartyID node of the Interface ABABusinessPartnerIn. or is it something else ?
    Q2 - How is this general process supposed to work? I would assume that for staging, I would get incomplete Master data or data from flat files, which need not neccesarily contain keys. The aim is to use the matching strategies in the CI to identify duplicates and consolidate them.
    Thanks in advance for your reply.
    Regards,
    Gaurav

  • How to upload the data from XML file to SAP database using IDOC

    Hi,
    I need some steps  to upload  data from XML format file from other directory to SAP database using IDOC.
    how to approch this please if any one knows give me ans
    it will be a great help ful to me
    Thanks in Advance
    Mallik

    Thank you vijay,
    But i heard that by using this Fun modules, when we are passing IDOC in back ground schedule,  so some other depended FM not supporting, so how to approach this and how to avoid this problem. 
    Have you worked on this before if any one worked on this please help me out
    And thank you once again for your valuable information
    Best Regards
    Mallik

Maybe you are looking for

  • G6 UI Customization build problem - Connection timed out: connect

    For anyone else who's having the same problem we're having: When I run ANT on the ui customization folder, I get this error: Buildfile: build.xml BUILD FAILED C:\plumtree_ui_source\portalui\6.0.x\test\build.xml:14: The following error occu rred while

  • Big gap in IE7

    Hello Can someone help get rid of an unwanted gap? In IE7 a large gap appears at the bottom of the page between main div and the footer, In safari and Firefox it appears as solid block (which is how I want it) how can I get rid of the gap in IE7?? ww

  • WRT300N v.2 syslog problem

    Hi, On the Log page of the config program, the help file suggests that there is a form where I can enter a syslog target IP address, but i can't find it anywhere. Has anyone know how to make permanent event logging on my PC. Any ideas??? I have europ

  • My airport not working

    My Airport stop working

  • Log4j and Web context - how to configure?

    Does anyone know of a way to manage log4j.properties in the Web context? Specifically, to configure it so that: a) logs go to an appropriate directory (probably $CATALINA_BASE/logs) b) the logfile is named for the context (e.g. /MyContext would go to