Addition of one field in cube!

Hi,
i have to add one field in cube.
scenario is----
i have one report which would give the information about the developer activities over a period of time. in this report we can see the information like which developer has worked on which requests and how much time he has worked on and so on.
now this report does not have any closing date for a request. it has the status of a request against the developer .my requirement now is to get that additinal field which would calculates the closing date of request.
if request status is closed then the last checked date for that request would be the closing date of request.
my question is
can i directly create a characteristic date field and add in infocube, the values for which would be coming from the update routine? (i think it is not neccessary that this field should be present in transfer rules also )
if yes, can some one help me in the logic of update routine?
Thanks,
Ravi

Yes, you can (but you will not have this additional field filled for all the records already contained in your cube...)
Create (and then add in your cube) a date KF, then put in the update rule for it:
IF data_package-requeststatus = 'closed'.
RESULT = data_package-lastcheckeddate.
ENDIF.
I don't know if you already have on the same record this "last checked date" or if you have to apply some logic (in this case, do you have an ODS before the cube ?)
Hope it helps!
Bye,
Roberto

Similar Messages

  • Addition of new field in existing cube which has data?

    I Have service provider field in ods and which is populating data on daily basis.
    Now I need to populate that field into cube and then reportingu2026u2026..
    For this do I need to delete the data from the cube and add that new field and need to load the last 6 month data? Or else with out doing deletion of data can I add a field in cube?
    Regards

    Remodeling is a new concept introduced in BI 2004s to manage changes to the structure effectively in an infoprovider, where the data is loaded and running. As of now we can make changes to the Infocube only. The same would be extended to the DSO and InfoObject in the future releases.
    Before you proceed to experience the remodeling process, letu2019s bear in mind few of the golden rules given by SAP.
    --> As a precaution, make a back-up of your data before you start remodeling.
    Before you start remodeling, make sure:
    --> You have stopped any process chains that run periodically and affect the corresponding InfoProvider.
    --> Do not restart these process chains until remodeling is finished. There is enough available table space on the database.
    --> After remodeling, check which BI objects that are connected to the InfoProvider (transformation rules, Multiproviders, queries and so on) have been deactivated. You have to reactivate these objects manually.
    You can go for remodelling. If you still have doubt, try the same in your Sandbox and repeat the process in Production as you are saying you have time of 1week.

  • Populating more than one table and more than one field

    I need some suggestions and this forum has always been a great source of good advice.
    I have a web form at the following location: http://www.webdevpractice.com/genoptix/CE/register.php
    Here's what the web form needs to do:
    Send a confirmation email listing seminars the visitor checked on the form.
    Create a similar message on a confirmation page.
    Populate 2 two tables.
    Items 1 and 2 are working fine.
    The advice I need is on how to populate two tables in the database.
    There are three tables:
    ACCOUNTS
    account_id
    first_name
    last_name
    medtech_id
    job_title
    npi
    company
    city
    state
    email
    phone
    contact
    ATTENDANCE
    attendance_id
    account_id
    seminar_id
    SEMINARS
    seminar_id
    seminar
    speaker_first_name
    speaker_last_name
    date
    The web form contains data that need to go into the ACCOUNTS table and the ATTENDANCE table. The challenge is getting the account_id and seminar_id into the ATTENDANCE table. If all the information was inserted properly, I could write a query that revealed who was taking what seminar.
    Inserting data into the ACCOUNTS table is not a problem. I will create another form to insert information into the SEMINARS so that should not be a problem. But inserting the account_id and the seminar_id is what I am wondering about. Also, can more than one record be inserted in a table? If an user checks more that one seminar, each seminar (seminar_id) would need to be inserted in the ATTENDANCE table as separate records along with the account_id. I'm thinking I may have to do this manually. Also, the values for each seminar are their dates and titles. I used these as values to send the confirmations.
    I'm just looking for advice at this point. Is this doable?

    Bregent,
    The table I am wondering about is the ATTENDANCE table. There are two fields in addition to the primary key: account_id and seminar_id. The field I am concern with is the seminar_id which comes from a group of checkboxs on the form. So, one form could create several records. For example, presently there are three seminars that are offered. If the visitor selects all three seminars, that would create three records in the SEMINARS table. So, it might look like this:
    attendance_id     account_id     seminar_id
         1                    1                    1
         2                    1                    2
         3                    1                    3
    My PHP skills are basic. I've done other forms and use PHP in other ways. But I have never had to populate several rows in one table with an array of checkboxes nor have I be able to find an example of this.
    So the advice I am seeking (and perhaps this is premature) is this:
    Can one field from a table populate more than one record?
    Should I set up checkboxs as a group or individually with a different name?
    I am also considering setting up my tables differently so there is a table from each seminar--that may solve my problem.

  • Addition of New Fields to CG36VEN Transaction - Import of Vendor MSDS

    Hi Guys,
    I have a business requirement for addition of New fields (text field and check box) in the CG36VEN transaction (Import vendor MSDS) in SAP EHS.
    (Something like in the attached screenshot )
    Are there any User Exits/Enhancements points available for the same? (we tried checking but couldn't find any).
    If no, should we copy the function group into a custom function group and make the changes?
    Please suggest the best way forward. any pointer are really appreciated.
    Regards,
    Gaurish Dessai

    Dear Gaurish
    if you check the normal process to upload "pdf" files using SAP standard import you are able to create additional data (using a SAP standard class; but you can change that using a custom specific class) by standard without the need to "modify" screens etc. . I would prefer to do the upload in a "document" class and not to ESTDH as the use of a class is standard; but yes you can use append fields in ETSDH (or use custom driven own table); In e.g. DOC-X and similar interfaces you can download then the data from the class (e.g. as in your case for "reuse" in a different data base). PLease check SAP online help or the many threads which are related to the topic of "mass bulk download of pdf SDS/MSDS files (e.g. Bulk MSDS Download))
    The "correct" (best solution depending on the real customer needs) solution depends a little bit on your further use of the "on top" data which you would like to upload (and the potential risk that after e.g. 6 months user would like to get a third, fourth etc. checkbox inthe screen).
    E.g. the two check boxes could be implemented as "identifiers". The "pro" of this solution is this:
    a.) you can execute easily inquiries in EHS database
    b.) you can extract the identifiers easily (e.g. as part of an output variant or other similar options (combination of ALE with XI/PI)
    Second option: you can generate an own EHS class as part of the property tree; then you can use as well inquiry options (and ALE or other options to download the data).
    As mentioned before: the "best" option (near to the SAP standard) is to use a customer exit in Cg50 (check e.g. Customer Exits in SAP EHS MANAGEMENT
    and these two exits as mentioned there:
    C1G20001
    EHS: Menu exit 1: Report management
    Yes
    C1G20002
    EHS: Menu exit 2: Report management
    Yes
    One "disadvantage" of the transaction CG36VEN is that you can upload only one document in one run. Using the exists as mentioned you can generate a more "user friedly" option to do mass uploads as well (based e.g. on key files (similar to the "Standard option" but more user friendly)..
    Using this option you are as well flexible to use own customer document classes (e.g. you can/could define per "document type" one class; e.g. for REACH exposure scenarios you can use a different class in comparison to SDS upload.
    A well known shortfall of transaction CG50/CG54 is the limitation in the available search options. You could not select reports based on the "check" boxes in your screen (therefore if you use "append" fields for ESTDH there is very limited option available to sue an inquiry standard SAP function to select reports of a specific type)
    Therefore in most cases it is better to change your process or your approach (how you would like to store the data); e.g. to store the check boxes data on spec level (e.g. as identifier) and then by using CG02 "switch" to CG54/CG50 transaction (which is now easily possible) to check the reports (and content of the reports).
    C.B.

  • Need to add one field in MM02

    Hi ,
    I need to add one field in MM02 screen.
    Can u help me in this please.
    I need to do this by using screen exit ,how to do this?
    can u......
    Regards,
    Kalidas

    Hi Kalidas,
    Selection Text: P_TCODE: Transaction Code to Search
    Text Symbols: 001 - Enter the Transaction Code that you want to search through for a User Exit
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP Modifactions
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    Kindly Reward Points If You Found The Reply Helpful,
    Cheers,
    Chaitanya.

  • Is there any way to include excluding one field

    hi all,
    is there any way to include a structure or type in another structure or type by excluding one field?
    regards
    hyma

    I think you are trying to include 2 structures but it is giving error that some fields are common
    you can overcome that like this , these are the 2 additions
    INCLUDE STRUCTURE ZTAB AS name1.
    INCLUDE STRUCTURE ZTAB AS name1 RENAMING WITH SUFFIX name2
    for more info check the help for INCLUDE STRUCTURE

  • How to do this?  More words in one field - split the words

    Hello Hello,
    I have a simple question about a simple database arrangement.
    But the family name and first name are in the same field(column).
    I would like to have a database with the first name - family name(s) in different fields.
    So when for example the database has Willem De Wortel in one field
    I would like to get a database with 3 more fields First name - Family 1 - Family 2
    So the first word is the first name : Willem
    and the second field is second name : De and the third field is third name : Wortel. For Willem Van De Wortel : I get 4 columns
    So the script should see at 1 column in the database.
    And make more columns for every word in that column.
    So I think most of times I get a database with 4 extra columns
    First name - Second name - third name - fourth name
    I prefer to make extra columns starting next to the selected column
    so I get a new database tab delimited mac os roman with (most of the times) 4 extra columns where the name is separated in more columns. And the new columns are next to the original column.
    I hope some one understand me.

    Hello Colin,
    Here it goes. Try this one.
    May this work well.
    Hiroto
    P.S. Sorry I misspelled your name in previous posts...
    --SCRIPT 2
    E.g.
    infile.txt (; denotes tab)
    name;field2;field3;field4
    d11;d12;d13;d14
    d21;d22;d23;d24
    d31;d32;d33;d34
    d41;d42;d43;d44
    * Here, the 1st field is for name
    outfile.txt (; denotes tab)
    name;name 1;name 2;...;name 9;name 10;field2;field3;field4
    d11;d11[1];d11[2];...;d11[9];d11[10];d12;d13;d14
    d21;d21[1];d21[2];...;d21[9];d21[10];d22;d23;d24
    d31;d31[1];d31[2];...;d31[9];d31[10];d32;d33;d34
    d41;d41[1];d41[2];...;d41[9];d41[10];d42;d43;d44
    * X denotes X's i'th substring delimited by space
    (If X is in double quotes, each X is also enclosed in double quotes)
    e.g.,
    Given X = "Willem Van De Wortel",
    X[1] = "Wililem"
    X[2] = "Van"
    X[3] = "De"
    X[4] = "Wortel"
    X[5]..X[10] = (empty)
    on run
    open (choose file with prompt "Choose input file") as list
    --open (choose file with prompt "Choose input file(s)" with multiple selections allowed) as list -- AS1.9.2 or later
    end run
    on open aa
    repeat with a in aa
    set infile to a as string
    set {p, m, x} to {|parent|, |name stem|, |name extension|} of getPathComponents(infile)
    set outfile to p & m & "-converted" & x
    main(infile, outfile)
    end repeat
    end open
    on main(infile, outfile)
    string infile : HFS path of input file
    string outfile : HFS path of output file
    script o
    property targetfield : 1 -- # target field index
    property subfields : {¬
    "name 1", "name 2", "name 3", "name 4", "name 5", ¬
    "name 6", "name 7", "name 8", "name 9", "name 10"} -- # additional sub field's names
    property sublen : count subfields
    property text_class : string -- # input & output text class [1]
    --property text_class : «class utf8» -- UTF-8
    [1] Input and output text class (: text encoding)
    string : System's primary encoding; e.g. Mac-Roman
    «class utf8» : UTF-8
    Unicode text : UTF-16BE
    property ORS : return -- # output record separator
    --property ORS : linefeed
    property pp : {}
    property qq : {}
    property rr : {}
    property mm : {}
    -- (0) read input file
    set t to read file infile as text_class
    set pp to t's paragraphs
    -- (1) build new header row
    set h1 to my pp's item 1 -- original header row (from line 1 of infile)
    set hh1 to text2list(h1, tab)
    set hh1's item targetfield to {hh1's item targetfield} & subfields -- add new sub fields
    set h to list2text(hh1, tab) -- new header row
    set qq to {h}
    -- (2) process each data row (line 2 .. line -1)
    repeat with i from 2 to count my pp --pp's item i is data row (i - 1)
    set p to my pp's item i
    if p = "" then -- skip any empty row
    set end of qq to p
    else
    -- get row data, name and name components
    set rr to text2list(p, tab) -- current row data
    set n to my rr's item targetfield -- full name
    set mm to text2list(n, space) -- name components delimited by space
    -- special treatment in case name is enclosed in double quotes
    if n starts with """ then -- original name is in double quotes
    set mm to text2list(list2text(my mm, """ & tab & """), tab) -- quote every component
    end if
    -- adjust name components' length to match the given field length
    set delta to sublen - (count my mm)
    repeat delta times
    set end of my mm to "" -- pad "" to end
    end repeat
    if delta < 0 then set mm to my mm's items 1 thru sublen -- truncate any extra, just in case
    -- build new row data
    set my rr's item targetfield to {n} & my mm
    set end of my qq to list2text(my rr, tab)
    end if
    end repeat
    -- (3) build output text and write it to output file
    set t1 to list2text(qq, ORS)
    writeData(t1, outfile, {_append:false, class:textclass})
    return t1
    end script
    tell o to run
    end main
    on list2text(aa, delim)
    list aa : source list
    text delim : text item delimiter in list-text coercion
    local t, astid, astid0
    set astid to a reference to AppleScript's text item delimiters
    try
    set astid0 to astid's contents
    set astid's contents to {delim}
    set t to "" & aa
    set astid's contents to astid0
    on error errs number errn
    set astid's contents to astid0
    error "list2text(): " & errs number errn
    end try
    return t
    end list2text
    on text2list(t, delim)
    text t : source text
    text delim : text item delimiter in text-list conversion
    local tt, astid, astid0
    set astid to a reference to AppleScript's text item delimiters
    try
    set astid0 to astid's contents
    set astid's contents to {delim}
    set tt to t's text items
    set astid's contents to astid0
    on error errs number errn
    set astid's contents to astid0
    error "text2list(): " & errs number errn
    end try
    return tt
    end text2list
    on writeData(x, fp, {append:append, class:class})
    data x: anything to be written to output file
    string fp: output file path
    boolean _append: true to append data, false to replace data
    type class _class: type class as which the data is written
    local fref
    try
    set fref to open for access (file fp) with write permission
    if not _append then set eof fref to 0
    write x as _class to fref starting at eof
    close access fref
    on error errs number errn
    try
    close access file fp
    on error --
    end try
    error "writeData(): " & errs number errn
    end try
    end writeData
    on getPathComponents(a)
    alias or HFS path string : a
    return record : {|parent|:p, |name|:n, |name stem|:m, |name extension|:x}, where -
    p = parent path (trailing colon inclusive)
    n = node name (trailing colon not inclusive)
    m = node name without name extension (trailing period not inclusive)
    x = name extension (leading period inclusive; i.e. n = m & x)
    local astid, astid0, fp, p, n, m, x
    set astid to a reference to AppleScript's text item delimiters
    set astid0 to astid's contents
    try
    -- (0) preparation (strip trailing ":")
    set fp to a as Unicode text
    if fp ends with ":" and fp is not ":" then set fp to fp's text 1 thru -2
    -- (1) get node's parent path and node name
    set astid's contents to {":"}
    tell fp's text items
    if (count) ≤ 1 then
    set {p, n} to {"", fp}
    else
    set {p, n} to {(items 1 thru -2 as Unicode text) & ":", item -1}
    end if
    end tell
    -- (2) get node name stem and extension
    set astid's contents to {"."}
    tell n's text items
    if (count) ≤ 1 then
    set {m, x} to {n, ""}
    else
    set {m, x} to {items 1 thru -2 as Unicode text, "." & item -1 as Unicode text}
    end if
    end tell
    set astid's contents to astid0
    on error errs number errn
    set astid's contents to astid0
    error "getPathComponents(): " & errs number errn
    end try
    return {|parent|:p, |name|:n, |name stem|:m, |name extension|:x}
    end getPathComponents
    --END OF SCRIPT 2
    Message was edited by: Hiroto (fixed the code a bit)

  • Additional user mapping fields

    Hi,
    I am trying to add some additioanl fields of a system to user mapping screen.
    so, i created a system based on com.sap.portal.howtos.webapp.par that i downloaded from SDN
    2. added a property "department" to that par file and defined in usermapping fields tag of par file.
    3. now i created an iview for system based on this par file and under "user management" cateogry, I selected "additional user mapping fields" and specified " {mech,chem,comp,elec}Department "
    4. everything is fine and this dropdown box appears in user mapping iview
    but my concern is that i want to send 0 for mech, 1 for chem, 2-comp etc... to an url iview. i just want to know.. how to store name-value pairs in that dropdown listbox of user mapping iview?
    any clues?
    thanks

    Hi Daniel,
      Thank you for your reply..it was helpful for me for other issues, but didnt help me for the question of this thread. may be i was not clear in explaining my question. In simple.
    1. I create a system par file with one additional field dept.
    2. i create an alias
    3. now the user wants to do usermapping..so he goes to user administration --> user mapping and select a user
    4. then he selects the alias of a sytem in the dropdown list box, so two fields appear, i.e. username and pwd, but i want an extra field named dept with a list box of values (computers, mechanical, electronics)
    5. i was able to achieve this, by setting {computers,mechanical,electronics}dept" in the property, "Additional User Mapping Fields" of the System object created from the par.
    6. now when the user selects that system alias in the user mapping screen.. he will be able to see three fields.. username, pwd and dept(with a listbox) and he can map the user to the respective department.
    7. the listbox that is created has value and title the same like,<otpion value = "computers">computers</option> but i want it as <option value="1">computers</option>.
    Could you please help me in achieving this. please let me know if you need any further information.
    Thank you.
    P.S: eventhough, i specify the field dept in portalapp.xml like you mentioned, it will appear as a list box in the system object created from the par, but in the user mapping screen it appears as a text box.  so we must specify the "dept" in the property "Additional UserMapping fields" of the system object created from par.

  • Problem with F4 option for one field

    Hi,
    While creating pricing condition records (VK11), one field is not having F4 option. That field is KGKG1 (Condition group1).
    Ihave created one table with s.org, dist.channel and condition group1 (KDKG1).
    While creating onle this problem. While changing and displaying the F4 option (i am able to select the values from list) available.
    What would be the reason. Is it require to change in table like domain, fields.
    Please help me to solveit out.
    Regards
    Lakshmikanth

    Hi,
    you can create new condition groups here.
    IMG>Logistics - General>Business Partner>Customers>Control>Define Condition Groups.
    Goto Customer master maintain condition groups.
    XD01/02. goto general data , In Menu select Extras and choose additional data. maintain condition group for customer.
    Regards,
    Chandra

  • How to drill down another one report on one field value of one row

    Hi,
    I have two reports that can link together on one field of respective database query command. The effect i want to reach is that when user clicks this field value on some row of one report, which i call source object, another report, target object, would use this value as input parameter and the page would jump to this linked report. I can see Format Editor provides Hyperlink feature when one field is edited, but i don't know how to associate another report as what i described here.
    What if one the following conditions is met:
    1.one of two objects, source object, is one chart object
    2.target object is  one chart object
    3.two objects are both chart objects
    Note: two objects is separately from different reports.
    Additionally, is it possible to code for hyperlink functionality under both .NET WinForm and WebForm? what if under RDC?
    Thank you
    Zhi
    Edited by: zhi li on Sep 24, 2008 11:53 AM
    Edited by: zhi li on Sep 24, 2008 11:57 AM
    Edited by: zhi li on Sep 24, 2008 11:58 AM

    I don't know if you can use the hyperlink to call a subreport but the following has worked for me in Crystal 10:
    1. In your main report create a group on the field you want to pass to the subreport.
    2. In the Group Footer, use the "Insert Section below" menu command so that you have a Group Footer 1a and a Group Footer 1b.
    3. Put your table fields in the Group Footer 1b section (this would be similar to your Details data).
    4. Put the sub report in the Group Footer 1a section. Set up the links to the subreport from a table field in your main report.
    5. Right-click on the sub-report, select "Format Sub-report". Click on the "x-2" button to the right of the Suppress option and enter "DrillDownGroupLevel = 0" in the "Formula Workshop-Formula Format Editor-Suppress" window and save it.
    When you double-click on your data field (i.e. the field in Group footer 1b) it should drill-down and run your subreport.

  • Multiple Checkbox Values Into One Field

    Hopefully someone can help me with this issue I'm having.
    I'm trying to save the values of multiple selected checkboxes into one field separated by commas through ADDT's Insert Transaction code. I can do this easily with DW's standard insert record wizard by using the PHP implode() function but I haven't been able to figure it out with ADDT's code.
    <form>
    <input type="checkbox" value="1" name="program[]" /> Program One
    <input type="checkbox" value="2" name="program[]" /> Program Two
    <input type="checkbox" value="3" name="program[]" /> Program Three
    <input type="checkbox" value="4" name="program[]" /> Program Four
    </form>
    THIS IS ADDT'S CODING
    $ins_quoteManager->addColumn("programs", "STRING_TYPE",  "POST", "programs");
    THIS WORKS VIA DREAMWEAVER'S INSERT RECORD WIZARD
    Original: GetSQLValueString($_POST['programs'], "text"),
    Modified: GetSQLValueString(implode(',',$_POST['programs']), "text"),
    Anyone know how to modify the ADDT code with the implode function to get this to work?

    Have you tried ADDT´s "comma-separated checkboxes" form control, which will also store the values into a field of your choice (and of course retrieve them from there on update record - pages) ? The only possible drawback might be, that the checkboxes can´t be defined statically, means that the array of value/label - pairs will be retrieved from another table by establishing an additional recordset.
    Cheers,
    Günter

  • How i can restrict one field up to 3 MB in size

    Hi   Friends-
    Basically i have to restrict one field to  3 mb  size .
    Detail of my req :
    In tcode  SE19  if you give classic badi impl  name as  HRRCF_DOC_UPLOAD     and  display  you will find a class   CL_IM_HRRCF_DOC_UPLOAD   just double click and then  select  the second method  CHECK_ATTACH_FILE_SIZE  and up side click on parameters  here one parameter is there called  CONTENT    type is  string   and  i have to ristrict it to  3 MB  how  i can do it ? 
    Pls  guide me for the same .
    Regards
    Meeta

    You can purchase an upgrade, but the only options available as a qualifying previous product are CS5 and CS5 Extended and Acrobat X Suite.  It isn't entirely clear if CS5 also includes CS5.1 or not, so I'd suggest using the Chat Now button over at the side to clarify.
    To get to this listing, you can go to www.adobe.com then click Search and type in Photoshop CS6 then click the Buy button next to Photoshop CS6 in the results Creative Suite 6 then edit your cart to make it an upgrade:
    You can also choose the Extended version of PS CS6 which is more money and can additionally do things with video and sequences of images and maybe 3D, although I'm not exactly sure at this point since I already have PS-CS6 Extended as part of my CC Photography Plan PS-CC+LR for $10/month.

  • Added new field to cube but data not passed from DSO

    Hope someone can help.
    (BI 7.0) We added new fields into a cube. The fields already existed in the DSO. When we ran the process chain in development for the first time after making this change, we notice that the 'historical' data for these fields is populated in the cube. When we do this in our quality system only new data passed to the cube is updated. In development in the sub-chain DTP request we see all previous requests listed under selections. In quality it is only the latest request. The only difference is that the DeltaInit flag in the DTP request in development is ticked (extraction mode) - but not in quality. Does anyone know whyb this is?

    hi peter,
    Adding fields to cube doesn't affect delta status...The delta DTP should be able to handle delta requests automatically.
    I guess in you quality system, the cube already got all requests updated from ODS before you importing the change request. And in develop system none of the requests in ODS were updated before the change.
    Regards,
    Frank

  • How to delete the row in table control with respect to one field in module pool programming?

    Hi,
    Can I know the way to delete the row in table control with respect to one field in module pool programming
    Regards
    Darshan MS

    HI,
    I want to delete the row after the display of table control. I have created push button as delete row. If I click on this push button, the selected row should get deleted.
    I have written this code,
    module USER_COMMAND_9000 input.
    DATA OK_CODE TYPE SY-UCOMM.
    OK_CODE = SY-UCOMM.
    CASE OK_CODE.
         WHEN 'DELETE'.
            LOOP AT lt_source INTO ls_source WHERE mark = 'X'.
                APPEND LS_SOURCE TO LT_RESTORE.
                DELETE TABLE LT_SOURCE FROM LS_SOURCE.
                SOURCE-LINES = SOURCE-LINES - 1.
            ENDLOOP.
    But I'm unable to delete the selected rows, It is getting deleted the last rows eventhough I select the other row.
    So I thought of doing with respect to the field.

  • One field is not downloading properly from ALV to EXCEL

    Hi,
    while downloading ALV out put to EXCEL sheet one field(CSTCTR) is not displaying properly it's truncating left and right side digits,
    I have used function REUE_ALV_GRID_DISPLAY
    FORM SUMMARY_REPORT .
      PERFORM BUILD_FIELDCATLOG.
      IF I_FINAL[] IS INITIAL.
        MESSAGE I000 WITH 'NO DATA EXIST'.
        EXIT.
      ENDIF.
      ST_SETTINGS-EDT_CLL_CB = 'X'.
      V_REPID = SY-REPID.
      SORT I_FINAL BY WERKS GEBNR PERNR.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM       = V_REPID
                I_GRID_SETTINGS          = ST_SETTINGS
               I_CALLBACK_USER_COMMAND  = 'USER_COMMAND'
               I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
                IT_SORT                 = IT_SORT[]
                IT_FIELDCAT              = IT_FLDCAT[]
                IT_EVENTS                = IT_EVENTS[]
           TABLES
                T_OUTTAB                 = I_FINAL[]
           EXCEPTIONS
                PROGRAM_ERROR            = 1
                OTHERS                   = 2.
    ENDFORM.           " alv_display  summary_report
    *&      Form  build_fieldcatlog
          text
    FORM BUILD_FIELDCATLOG.
    WA_FLDCAT-FIELDNAME = 'WERKS'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'PA'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '1'.
      WA_FLDCAT-KEY     = 'X'.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'GEBNR'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'LOC'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '2'.
      WA_FLDCAT-KEY     = 'X'.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'PERNR'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'SAP #'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '3'.
      WA_FLDCAT-KEY     = 'X'.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'ADPFN'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'ADP #'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '4'.
      WA_FLDCAT-KEY     = 'X'.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'PERID'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'SSN'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '5'.
      WA_FLDCAT-KEY     = 'X'.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'KOSTL'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'CSTCTR'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '6'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'NACHN'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'LAST NAME'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '7'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'VORNA'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'FORST NAME'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '8'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'HIREDATE'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'HAL DATE'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '9'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'VACDATE'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'VAC DATE'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '10'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'GBDAT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'BIRTHDT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '11'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'SENDAT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'SRDATE'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '12'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'SERADJDAT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'SVCADJDT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '13'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'TERMDATE'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'TERMDT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '14'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'MGTXT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'TERM REASON'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '15'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'GESCH'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = '***'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '16'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'RACKY'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'RACE'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '17'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'VTEXT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'VET STAT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '18'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'EXPAT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'EXPAT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '19'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'DISAB'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'DISAB'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '20'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'PTEXT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'STAT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '21'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'STELL'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'JOB'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '22'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'STLTX'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'JOB TITLE'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '23'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'PLANS'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'POSITION'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '24'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'PLSTX'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'POSITION T'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '25'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'AAPCT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'JOBGP'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '26'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'EEOCT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'EEO'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '27'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'ZBAND'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'BAND'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '28'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'EEOEX'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'FLSA'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '29'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
    *WHEN DIVG
      WA_FLDCAT-FIELDNAME = 'BETRG'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'BW/HR'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '30'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'ANSAL'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'ANNSAL'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '31'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'WOSTD'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'HRS'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '32'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'ZBONPLAN'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'PLAN'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '33'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'ZTARGET'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'TGT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '34'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
    ENDFORM.                    " BUILD_FIELD CATLOG

    Also make sure if the reference field name and reference table name in the field cat .
    There will be some fields where in when dropped to excel will not hold the field properties and may not download properly,In such cases pass the reference fileds to the field cat .
    In the field cat u r using,  pass this and check .
    WA_FLDCAT-FIELDNAME = ' '. "
    WA_FLDCAT-OUTPUTLEN = 'XX'.
    WA_FLDCAT-SELTEXT_M = 'XXXXXXXXXXXXXXXXXXx'.
    WA_FLDCAT-TABNAME = 'I_FINAL'.
    wa_fldcat- -
    >reference field name,   
    wa_fldcat----
    >reference table name
    WA_FLDCAT-COL_POS = '25'.
    WA_FLDCAT-KEY = ' '.
    APPEND WA_FLDCAT TO IT_FLDCAT.
    CLEAR WA_FLDCAT.
    Br,
    Vijay.

Maybe you are looking for

  • Qty change in PR 4 which PO is generated

    Dear Friends, My issue : --> In PS For a Project we have a PR for which PO is released --> now PR Qty has been increased 1q--> How to trigger a mail (workflow) to the buyer 2q--> How to assign an user to this flow (buyer) Please guid me in this regar

  • How do I reinstall and restore my iMac?

    I am currently backing up the contents using disk utility of my friends iMac (I lied in the question, sorry) and I want to be sure Im doing this right. My goal is to reinstall the OS, and then restore it to the backup using the disk image. Im concern

  • I photo application has vanished

    Hi All, The  i photo application has completely vanished for some unknown reason.  The photos are available in system preferences/desktop/screen/saver. The i photo icon is still in the dock, but when I click on it or go to the applications folder and

  • IMovie Crashes on export

    This issue just began randomly. When I go to export a movie, the "Preparing Project" screen comes up, then iMovie crashes and after a good hour of searching none of the "solutions" worked. Here's the error log. A big thank you to anyone who can help.

  • We use Mail Version 4.6 -- it's stuck: "Sent" spinning.  No eMail is being sent.  What do we do?

    OS 10.6.8; No outgoing Mail.