Distribute with reference More than 8 char

Hi Experts,
I have a requirement to distribute the reference data upto 12 characteristics. But the standard function allows only 8 characteristics. How i do this? what are my options?
Is FOX coding is the only option i have ??
Thanks,
Rohith.

Michael,
But when you do that, in your first distribution say if you distribute 100,000 to 6 characteristics.
Next in ur second step if you distribute these 100000 to the rest of the 6 characteristics, isn't the function adds the records for FIRST 6 characteristics with "unassigned - # " ???
We want all the distribution done evenly so that in reporting we dont see the second 6 characteristics with # signs.
Please let me know, how it worked for you ?
Thanks for the reply..
Rohith.

Similar Messages

  • Send an attachment in email with length more than 255 char per line

    Hi All,
    I have to send an attachment in email with length more than 255 char per line. I dont want to break the line after 255 char and add it in another line.
    Please suggest me any function module which can perform this.
    Thank you all.

    I looked at all threads in the forum, there was about 5 or 6 identical questions, but surprise, nobody knows! It seems that SO_NEW_DOCUMENT_ATT_SEND_API1 function module does not allow more than 255 characters by line.
    It would surprise me a lot if there is no workaround !
    As it is very easy to add any binary attachment which is like a very long line, PDF for example (several kilobytes), via the function module above (lots of examples in the forum), I would advise you to try to use the same way, i.e. use the contents_bin parameter instead of the contents_txt parameter (convert the text into binary) and add the line feeds yourself (okay I know, it's not very smart).
    Last thing, this function module is deprecated, and we should use BCS classes, maybe they work better.

  • How can i send an email with subject more than 50 char.

    Hi
    Can you please explain How can i send an email with subject more than 50 char?? I am using Cl_BCS=>SET_MESSAGE_SUBJECT but it is throwing an error " An exception of the type CX_SY_REF_IS_INITIAL has occured which is not caught" .
    Regards
    Alok

    Try using the following FM
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = i_mail_data
            put_in_outbox              = c_x
          TABLES
            packing_list               = i_objpack[]
            object_header              = i_objhead[]
            contents_bin               = i_objbin[]
            contents_txt               = i_objtxt[]
            receivers                  = i_receivers[]
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
          OTHERS                     = 8.
    Regards
    Avinash
    Edited by: Avinash Jagtap on Dec 2, 2009 7:00 AM
    Edited by: Avinash Jagtap on Dec 2, 2009 7:02 AM

  • ORA-01704:String literal too long with update of more than 4000 chars

    Hi,
    I want to update a table column in Oracle Database(version 10) with more than 4000 chars.
    The datatype of the table column is NCLOB.
    I want to achieve this with one single line of update query as below,
    update mytable set MY_DESCRIPTION = 'longdesc' where ID = '111' ;
    But there's a problem, if the 'longdesc' is more than 4000 chars, it gives the error , "ORA-01704:String literal too long"
    How can I achieve this in sql developer ?
    I dont want to do this using stored procedures, I want to do this update using only sql statement.
    Please help.
    thanks,
    sudhakar

    Hello Sudhakar,
    I am afraid, this will never work by SQL.
    Just because an SQL-Statement must not contain a string literal over 4,000 characters (or did that change lately?).
    Maybe you can bypass the limit with PL/SQL ... but you will certainly run into the 32K limit sooner or later
    regards
    Peter

  • How to display more than 255 chars in background job with ALV Grid ????

    Hi All,
    I am using ALV grid with OO.
    I have used call screen for ALV grid display. I have to display more than 255 characters in width. While running it, I can see the list perfectly.
    But in background mode, the list is truncated after 255 chars.
    Can anybody help how to send complete list(width more than 255 chars) to spool.
    Thanks and Regards,
    Neha

    Hi SAP fan,
    <b>YES you can run the ALV report in background mode.
    To run the report in background do F9 instead of F8, then give immediate and save.
    Now goto Sm35 goto job overview and view the job listed
    Choose the job and press the spool button. It will show the list created on the next page. When u clcik the list u can see the ALV output.
    To see this the job should be in the finished status.
    How to define Periodic Jobs
    1.Execute transaction SM36
    2.Define Job name, Job class, Target server
    3.Click on 'START CONDITION' button
    4.Click on 'Date/Time' button
    5.Enter Scheduled start DATE & TIME. Check mark 'Periodic Job' field. Click on 'Period values' button and select 'Hourly' or 'Dialy' or 'Weekly' or 'Monthly' or Other period and SAVE. Go back to main screen.
    6.Click on 'STEPS' button and enter Program name and Variant under box 'ABAP Program'. Click on 'Print Specification' button and enter Printer name under 'Output device' and SAVE
    7.Click on SAVE button until you get message on bottom of the screen that describes 'Job XYZ saved with status: Scheduled'.
    8.Click on 'Job overview' button or execute SM37 transaction.
    9.Select the appropriate 'Job name', 'User name', 'Job Status' & Schedule date under 'Job start condition' and click on 'Execute' button or press F8.
    10.You will now see all your scheduled JOBS.
    <b>Case: 2</b>
    You can Run in Background but make sure it is alv list, not alv Grid FM. if you are uisng alv list not problem , but if you are using alv grid then you can code like this..
    if sy-batch = ' '.
    call 'REUSE_ALV_GRID_DISPLAY'.
    else.
    call 'REUSE_ALV_LIST_DISPLAY'.
    endif.
    if you are using OO alv then write this code..
    CALL METHOD cl_gui_alv_grid=>offline
                    RECEIVING e_offline = off.
        IF off IS INITIAL.
          CREATE OBJECT g_custom_container
                 EXPORTING container_name = g_container.
        ENDIF.
    <b>Case: 3</b>
    if you are using OO ALV.
    Just before creating the custom container check for the following condition.
    Batch or Web Reporting
    IF cl_gui_alv_grid=>offline( ) IS INITIAL.
    CREATE OBJECT o_custcontainer
    EXPORTING
    container_name = lc_custcontrol
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5
    OTHERS = 6
    ENDIF.
    You can see the output in Spool in transaction SP01.</b>
    Good Luck and thanks
    AK

  • PL/SQL process returning message with more than 4000 chars

    In our apex application we are using a pl/sql process returning a message.
    This message should be shown to the user.
    Our problem is now, that the application items in APEX seem to be limited to 4000 chars and the message can be longer.
    We are also not able to use a collection, because we can't print the content of a collection in the "Process Success Message".
    Here is the content of a page process which is running on page load after header:
    Name - Type:     PL/SQL anonymous block
    Source - Process: :AI_TEST := p0001_pkg.get_text;
    Messages - Process Success Message: &AI_TEST.
    Image from process [https://twitter.com/OliverLemm/status/324058809138032640/photo/1/large]
    If the page is called the result is this error message:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Technical Info (only visible for developers)
    is_internal_error: false
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    component.type: APEX_APPLICATION_PAGE_PROCESS
    component.id: 16433072916569237418
    component.name: get_text
    error_backtrace:
    ORA-06512: at "APEX_040200.WWV_FLOW_PROCESS", line 100
    ORA-06512: at "APEX_040200.WWV_FLOW_PROCESS", line 141
    Edited by: Oliver L on 16.04.2013 09:17

    no an item like P0_TEST on page 0 / global page also does not help.
    But the error is not the application item / page item it's the problem that the "Process Success Message" can't handle more than 4000 chars.
    I tried to paste a string into the process success message, but the error "Error processing row. ORA-01461: can bind a LONG value only for insert into a LONG column" occured even when i filled the textarea and saved the process.
    So there's no problem with the application item or page item.
    Edited by: Oliver L on 16.04.2013 10:00

  • Freetext with more than 300 char show with function or class

    Hi all
    I search a function or a Class how could show freetext with more than 300 char like a popup.
    Now somebody one ?
    Thanks in advance

    Hi
    Try to use HELP_DOCULINES_SHOW
    Max

  • Attach xls file with more than  255 chars

    Hi all,
    I'm trying to send an .xls file as attachement whose row contains more than 255 chars with FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
    When preparing the attached table, I tried to separate the tables like this:
    loop at itab.
      concatenate itab-col_1 itab-col_2 itab-col_3 into it_attach
        separted by cl_abap_char_utilities=>horizontal_tab.
      append it_attach.
      concatenate itab-col_4 itab-col_5 itab-col_6 into it_attach
        separted by cl_abap_char_utilities=>horizontal_tab.
      append it_attach.
      concatenate IT_ATTACH cl_abap_char_utilities=>newline into it_attach.
      append it_attach.
    endloop.
    I am able to send this xls as attachment, but when open it in excel/notepad,
    it is so strange that there are so many spaces before the contents itab-col_4 which is unexpected.
    It is expected that the file is tab-delimited with continuous column 1-6.
    Any things went wrong?
    Many Thanks!

    Thanks.
    I tried the first method to convert the byte to string, but a short dumps is resulted,
    DATA: con_tab TYPE x,
               sep TYPE string.
    con_tab = '09'.
    CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
                EXPORTING
                  in_xstring = con_tab
                IMPORTING
                  out_string = sep.
    so I use back my original method to concatenate the columns as suggested, i.e.
    concatenate itab-col_1 tab itab-col_2 tab itab-col_3 tab into it_attach
    append it_attach.
    concatenate itab-col_4 tab itab-col_5 tab itab-col_6 into it_attach.
    append it_attach.
    concatenate it_attach cl_abap_char_utilities=>newline into it_attach.
    append it_attach.
    but the outcome is still the same, i.e. ...many leading space before itab-col_4
    any more ideas? Many Thanks

  • Need to insert into a table 1 of the fields (CLOB)with more than 4000 chars

    Dear Gurus,
    As far I understood, I need to write a function which get as parameter the large text and using bind variables I can return a CLOB containing more than 4000 chars. I tried all I can do and feel I want to died. Please, can I get specified help in this issue?
    I APPRICIATE YOUR HELP, MARCELO.

    *** Duplicate Post ***
    Please, Marcelo, use the forum properly. Pick a single group and post there.
    Thank you.

  • How can I reference more than one jar file

    hi, In an applet, I use
    Archive = "foo.jar" to reference this jar file.
    But how can I reference more than one file?
    Thanks.

    Suggestion: spend a few minutes reading the tutorials.
    http://java.sun.com/docs/books/tutorial/applet/appletsonly/html.html
    You can specify multiple archive files by separating them with commas:
    <APPLET CODE="myapplet.class" ARCHIVE="file1, file2"     WIDTH=anInt HEIGHT=anInt>
    </APPLET>

  • Save More than 1000 chars in a field of (Z) Database Table?

    Hi Friends,
    I created a database table with few fields. In the table, one field is REMARKS which should save more than 1000 characters for every record. For that field,  I created domain & data element of char with 2000 length. But system gives an error representing that "Should not be more than 255 chars ".
    Even, select statement is also retrieving 132 chars only, if remarks are less than 255 and greater than 150 chars.
    Could you please provide me solution?
    Thanks
    Sarayu

    Hi,
    The Most simple solution for it can be that Divide the field REMARKS of size 1000 in multiples of 200 characters like REMARK1, REMARK2....REMARKn.
    Now you can create two FMs :
    zset_data:  To Store 1000 char long data in Table
    Here you will divide the data of Variable (type char1024) in multiples of 200 and will store in REMARK1, REMARK2.....
    zget_data: To Get 1000 char long data back from Table
    Here you will concatenate REMARK1, REMARK2..... and will store in Variable of Type char1024.
    This is the best solution if Table is not going to be maintained by Table Maintenance Generator.
    Thanks
    Ajay

  • BPS - Distribute with Reference data sender 2 reciever functionality

    Hi All,
           I'm looking for some documentation on this planning function(Distribute with reference data / from sender to reciever).When I run this function I have problems finding the Reference data,although I have defined the refernce data correctly and am using the # for the characteristics.
    Is it possible to override a characteristic while executing this function.? for example you are distributing values form region level to line of business level,can you  change the allocation flag(another characterstc) while executing this.?
    Any documents with some Examples and guidelines of setting up Reference data will be very useful.
    Thanking everybody in advance.,
    Sudz.

    Hello Sudz,
    I know this can be tricky. First, you should check if reference data is read at all (use BPS_STAT0 transaction).
    If no, check the configuration of planning package and parameter group. The selection criteria for the reference data are based on the planning package merged with the criteria for reference data defined in the parameter group (if there are criteria for the same characteristic in both places, the parameter group wins).
    If yes, you need to go into more detail. The source data (to be distributed) is matched with the reference data based on all characteristics that are NOT in the fields to be changed. So maybe you have not defined the right fields to be changed (use execute with trace to see the internal packaging/matching).
    You can change several characteristics with the function. However, this will increase the number of target combinations. If you want to turn off a flag, just use a repost function and link them via a sequence.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Distribute with Reference Data

    Hi Folks,
    I have trouble getting the distribution function to work. I want to distribute the plan data to a more granular level (from Product Family to Product Platform) using the previous year's actual sales data.
    I have setup a plng. function of type distribute with reference data. I have a multi planning area with plan and actual areas. When I run the function, it says "No reference data exists". When I run it with the trace, it shows me a line with the fiscal year (say 2008, for the next plng  year).. When I click on details button, it brings a screen with no ref. data. I suspect since the Fiscal Year is already selected on the first screen, it could not populate any reference data since the fiscal year can not have two values at the same time.
    In the parameter group, I have the right selection for actual data (previous fiscal year etc.) I'm fairly confident that the selections I made in parameter group for the ref. data should bring some actual values. 
    Any ideas where I might be doing missing? How do the selections in the package may affect the situation? Any help would be appreciated,
    Thanks,

    Do you have the target fiscal year and other characteristics in the level / package. This is a must.
    Ravi Thothadri

  • More than 50 char email subject to SAP inbox

    Hi Guys,
    I have the ff email reqt in my workflow:
    1. Subject with more than 50 char
    2. Message URL with more than 80 char
    3. Message text in bold
    I cannot address all 3 when using send mail step so I created an activity step instead and call my method that made use of CL_BCS class.
    But it seems like I cannot make use of it because I'm sending my email to SAP Inbox.
    Subject with more than 50 chars works only when sending outside SAP, as per note 698087.
    Is there a solution for this?
    Can I send an email to SBWP with more than 50 char?
    Please help me out, as I already exhausted all possible solutions I found on the net.
    I also implemented snote 0001523530 but it doesn't work.
    Thanks.

    Hi,
    If you need the users to approve something, this is a task not a mail (mail been only informative)
    Tasks subjects are not limited to 50 chars, you can add links to decision tasks by attaching objects and as you said yourself in HTML tags not recognized bold chars will work in the SAP business workplace.
    The second option I mentioned was to use a task which method calls a screen (to be more exact - calls a function module or a program which calls a dialog screen), and then you have all the options since this is a regular ABAP screen.
    P.S
    The extended notifications which inform users of waiting tasks is using a BSP application, in it html tags work very well.
    Ronen

  • Column Heading more than 30 char

    Hi,
    In query template I am getting the column names dynamically, I want to show Alias instead of column names but in Oracle, column Alias has a limit of 30 char.
    How can I show the Alias with more than 30 char in Query Template? I need to export the output of Query to Excel and HTML.
    Thanks,
    Anil

    Hi Anil,
    You could use an inline transform by applying an XSL stylesheet.  You could specify the long alias in the stylesheet itself.
    Alternatively, you could use a Business Logic Transaction.  It has a Column Alias Action Block.  The output of the Column Alias Action Block would be linked to a Transaction Output Property.
    The data flow will be as follows:
    Datasource - Query Template 1 - Transaction with Column Alias Action Block - Query Template 2 - Excel/HTML
    Query Template 1 will be of Type SQL.
    Query Template 2 will be of Type Xacute.
    Cheers,
    Jai.

Maybe you are looking for