Output showing up in 2 different rows in Infocube for same Billing Number

Hi,
I have a Billing Infocube which gets data from 2 DSO's Billing header DSO & Billing Item DSO seperately.  In Billing header, i have Billing Doc. Number & Shipping condition.  In Billing item, i have Billing Doc. Number & Billing Quantity.  In the report that i created on this Infocube, i have a column, where i restrict the Billing quantity based on Shipping condition.  When i execute the report, this particular column is coming up totally blank.  To verify at the backend, I checked the 2 DSO's seperately taking one common Billing document number, i get data in both DSO's.
When i check the Infocube for this 3 Infoobjects, I see the output in 2 seperate rows, one row with Billing document number & shipping condition values and another row with the same Billing document number & Billing quantity.  I think because of this only, in report also, the column is coming blank.  Why is the output not getting displayed in one single row in Infocube?  How do i make this to work?
Regards,
Murali

Hi Murali,
That will not cause the issue the reason being, in your FACT table for document number now SID values will be populated (due to line item dimension) and it will be unique for each document.
But if you look at the cube design then for each of your other dimension a unique DIMID will be created in DIM table for unique combination of all the underlying attribute values.
for e.g. say you have following cube design,
Document number,     attr1,   attr2, attr3, attr4    Key1.
Now your attr1 and 2 are getting loaded from one flow and they belong to same dimension, and your attr3 and attr4 are getting loaded from another flow and they belong to another dimension. The data will be created in the cube as follows,
Document number    DIM1   DIM2   key1
   100                          10       0        100
    100                          0        10      may be 0 to avoide data duplication.
If you see the DIMID values in fact table they are different due to different data load from two separate data flow. And that is the reason you might have multiple rows in cube for same document number.
Regards,
Durgesh.

Similar Messages

  • How Calculate more than one value and store it into to different rows and column for each input?

    thx guys.....i have a progress now in LV
    But now i have new trouble here. Ok i attached my LV file (LV 7.0.1/7.1) and excel form. I just could'nt calculate more than one input value. I want a different result for each value that i enter ... and store it into different rows and column. But it just store at one row.
    Attachments:
    My Project.vi ‏31 KB
    rumus motor bakar.xls ‏14 KB

    duplicate post

  • Completely different AMF request packets for same remote service call from Flex to PHP using ZendAMF

    I was trying to debug why one of the remote-services in our Flex application was failing randomly. What I found was interesting. Completely different AMF request packets were sent for same remote service call from Flex to PHP.
    When the service call succeeds the AMF request packet looks like the following:
    POST /video/flex/bin-debug/gateway.php HTTP/1.1
    Host: localhost
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Cookie: PHPSESSID=j6u30i8uu6c3cvp8f4kipcpf05
    Referer: http://localhost/video/flex/bin-debug/main.swf/[[DYNAMIC]]/5
    Content-type: application/x-amf
    C    ontent-length: 305
    Flex Message (flex.messaging.messages.RemotingMessage)     operation = getMemberFromEvent    clientId = 2F997CD0-7D08-8D09-1A9B-0000422676C8    destination = MembereventService    messageId = B46AB58D-2241-83F0-41E4-9FE745565492    timestamp = 0    timeToLive = 0    body =     [      280    ]    hdr(DSId) = nil
    And when the service fails the AMF request packet looks like this:
    ServiceRequest: getMemberFromEvent; RemoteService; getMemberFromEvent
    (mx.messaging.messages::RemotingMessage)#0
      body = (Array)#1
        [0] 250
      clientId = "1AA4FAAB-AEA5-8109-4B0D-000002B3A9A1"
      destination = "MembereventService"
      headers = (Object)#2
        DSEndpoint = (null)
        DSId = "nil"
      messageId = "2F92E6C0-FE92-A09B-B150-9FE2F28D9738"
      operation = "getMemberFromEvent"
      source = "MembereventService"
      timestamp = 0
      timeToLive = 0
    Also, following is the error message on Flex when the service fails:
    {Fault code=Channel.Call.Failed, Fault string=error, Fault detail=NetConnection.Call.Failed: HTTP: Failed, Destination=MembereventService}
    We are using Swiz as the micro-architecture for Flex development and Zend AMF for remoting between Flex and PHP.
    Any ideas what is wrong here, what is causing Flex to send different request packets for the same service & what I can do to fix it?

    Hi, I know that your post is almost 5 years ago, but have you found the solution to this issue?
    Thanks.

  • Utilizing different exchange rate type for same currency combination

    Hello Gurus,
    I wanted to get your opinion/experience in handling the following scenario.
    We have company codes in different countries operating using different local currencies. There is alternate exchange rate type  EURX defined for Exchange rate type M for many currency combinations due to business requirements. One country with local currency EUR is utilizing EURX SEK - EUR exchange rate combination.
    Other country with local currency HUF is making use of exchange rate type MNB as an alternate exchange rate. In one of its transaction, where VAT is being calculated on its foreign transaction, HUF company is trying to seek rate of MNB SEK- EUR where country currency is SEK and document currency is EUR.
    But since on the 'translation ratios for currency translation' table EURX being the alternate currency for that particular combination, even when we set MNB SEK EUR exchange rate, the system is obviously picks up EURX rate.
    Has anyone come across similar scenario where different countries trying to get different exchange rate types for the same combination of currency? and If so, how would that be possibly handled through config or using something custom?
    Thanks all for your replies in advance.
    Regards,
    Sagar K.

    Hi Sagar,
    In tcode OBBS, if Alt.exchange rate is used for any currency pair, then that rate is used ( EURX in this case).
    All countries in EMU region uses EURX ( which is mostly fixed after introduction of EUR).
    If the company is in different countries in Europe, then mostly EUR is used as Alt. exchange rate. which uses EUR as reference currency.
    Ther is no country specific settings in std. sap for a currency pair.
    Cheers,

  • Different Payment advice config for same company code but diff Payment metd

    Hi Guys,
    Payment advice form is configured in FBZP in the PAYING COMPANY CODES and it is company code level, But I need to use different forms for different payment methods in the same company code, Whether is this possible in the config level or whether  any BTE or BADI or User-exit exisist??
    regards,
    Prabhu

    Hi Radhika,
    We have to config a payment methd for a Check and in the path u mentioned we have Check form already,
    And we need to config the Payment advice for this check.
    So in FBZP - "Paying Company codes"  we have configured the Payment advice form which works fine.
    Requirement is we need a different Payment advices for this payment methd and this company code has several other Payment methd.
    I hope this can be done by modifying the Payment medium program.
    regards,
    Prabhu

  • Multiple fact column should show the value in different row.

    Hello experts,
    We have a requirement in this way. I have to build a report with three fields: date, Fact :No of jobcard open, No of jobcard closed. Report should come in this way..
    Date
    1 2 3 4 5 6 7 8 9 10
    No of jobcard open 30 45 46 67 83 28 23 45 01 92
    No of Jobcard closed 23 40 25 29 70 20 10 20 01 89
    I am new in this field, please help me in this regard.
    Regards
    Niraj
    Edited by: user13412398 on Jan 19, 2011 7:46 PM

    Hi Niraj,
    Just pull the columns into your criteria request and from compound layout select pivot view so all your columns will be in place in pivot table.
    Then you pull your columns accordingly seeing the pivot structure i.e. placing date at the top and in measure section place the fact column and in rows section place the jobcard closed.Folow these and you would get the result.
    Follow this etiquette http://forums.oracle.com/forums/ann.jspa?annID=939
    UPDATED POST
    Place both those columns in measure and the date column as you need at the top.Just play around with the pivot view by placing here and there and check results.
    So you will get idea and that will fulfill your requirement.
    Hope answers your question.
    Cheers,
    KK
    Edited by: Kranthi on Jan 19, 2011 9:34 PM

  • 2 Layout's for 2 screens different F4 Help needed for same program

    Hi Friends,
    I have 2 layouts in the selection screen the first layout is for screen 1 and the second layout is for screen 2.
    I save the layouts when I run the report.
    Now when I do F4 Help for the first layout it shows me all the layouts available for the program and the same thing
    for Second layout too.
    Is there a way for the first layout I need to get only the layouts for the first screen when I hit the F4 button
    and for the second layout I need to get only the layouts for the second screen when I hit the F4 button. in order to choose
    I am using REUSE_ALV_VARIANT_F4 and passing report name to is_variant and i_save = 'X'.
    Thanks,
    chaithanya.

    I think this is not possible.
    Variant names get stored on Report Name as key.

  • Different collective purchase order for same site/vendor combination

    Gurus,
    We are trying to create a collective purchase order (WF10) from the distribution center (site) to the manufacturing site (vendor).
    When we generate the work list, for certain articles, separate CPO numbers are being generated. How can we ensure that all the articles are available in just one CPO instead of multiple CPOs? What settings do I need to look at? Please assist.
    Thanks,
    Suhas

    All,
    This has been resolved. In the purchasing info record, the Region (EINA-REGIO)was maintained differently for a few articles.
    Thanks,
    Suhas

  • Same Batch Number with different characteristics value

    Dear Gurus,
    I have the following scenerio:
    The finished goods should be maintain in batch with external number  and at the time of confirming the finished goods in co11n the client want to capture the finished goods value like length, width and diameter.
    So we propose the batch characteristics with class type of 022 for finished good and we maintain the character as length, width and diameter under the batch class 022 and assign the batch class in finished good classification view.
    Now the requirement is we want to capture the batch characteristics value length width and diameter with same batch number for multiple confirmation.
    Example:
    Confirmation      Batch number               batch Class               Length     width     Diameter
    1                        1000                              022                              100        50             20
    2                        1000                              022                              120        25             10
    3                        1000                              022                              150        70             30  
    Now at present we are trying to capture the batch characteristics with same batch number but our standard system will not allow to maintain the different batch characteristics value under same batch number. If we overrite the batch characteristics in msc2n transaction the last value maintained be copied to all batch number. but we want same batch number with different batch characteristics value.
    Please share your idea and try to solve..
    Regards,
    Vimal

    Dear Vimal,
    It is not possible to maintain multiple batch characteristics in one batch.
    Work around is to create original batches and assign to your production order.  During CO11N, generate one batch per confirmation.  There is a report in batch information cockpit to link between original batch and batch per confirmation. 
    Rgrds,

  • Front Row shows Aperture projects in different order than Aperture does

    I have a bunch of projects, carefully organized in such a way that I can find them easily. Front Row just seems to display them ordered randomly.
    Anyone aware of a fix for this?

    Johnathan Burger wrote:
    2) Did you add track #'s?
    Yeah. I made 5 short videos, and set then as "1 of 5" "2 of 5" etc.
    I can't understand why it's out of order in Front Row.
    As for question 1, the weird thing is when the genre was set to "documentary and drama" it was in TV Shows on Front Row, but when I changed it to just "drama" now it's in the movie section... weird, but that's fixed now.

  • How to show three more than one row as single row

    for example there are two tables employee and department.
    emp id dept_id
    101 1
    101 2
    101 3
    Due to different dept id i am getting three rows for same emp id. Is there anwyay i can show one row and all three departments into one line.
    output like this 101 1/2/3
    Please help!
    Thanks

    864470 wrote:
    However, I am not getting any distinct values for that.Are you sying there are multiple records for same emp_id, dept_id combination? If so:
    SQL> with t as (
      2             select 101 emp_id,1  dept_id from dual union all
      3             select 101,2 from dual union all
      4             select 101,2 from dual union all
      5             select 101,3 from dual
      6            )
      7  -- end of on-the-fly data sample
      8  select  emp_id,
      9          rtrim(xmlagg(xmlelement(d,dept_id,'/').extract('//text()') order by dept_id),'/') dept_list
    10    from  t
    11    group by emp_id
    12  /
        EMP_ID DEPT_LIST
           101 1/2/2/3
    SQL> with t as (
      2             select 101 emp_id,1  dept_id from dual union all
      3             select 101,2 from dual union all
      4             select 101,2 from dual union all
      5             select 101,3 from dual
      6            )
      7  -- end of on-the-fly data sample
      8  select  emp_id,
      9          rtrim(xmlagg(xmlelement(d,dept_id,'/').extract('//text()') order by dept_id),'/') dept_list
    10    from  (
    11           select  emp_id,
    12                   dept_id
    13             from  t
    14             group by emp_id,
    15                      dept_id
    16          )
    17    group by emp_id
    18  /
        EMP_ID DEPT_LIST
           101 1/2/3
    SQL> SY.

  • Oracle Reports 10.1.2.3 output shows question marks, parameter form shows correct Arabic

    Hi
    Following is our environment
    Oracle Application Server     10.1.2.3.0
    Microsoft Windows 2003 Enterprise Edition Service Pack 2
    Oracle Database 11.2.0.2.0
    NLS_LANG     AMERICAN_AMERICA.AR8MSWIN1256
    When client runs the report on browser (IE), the parameter form appears fine with Arabic characters.
    Inserting the parameters in Arabic also look fine and characters display in Arabic but when report is generated, the output shows the inserted parameters as ????
    On server, regional settings are ALL Arabic. Also the registry has NLS_LANG setting of AMERICAN_AMERICA.AR8MSWIN1256.
    Report output is same for both html and pdf formats. For PDF subetting, uifont.ali file has been modified but the issue does not seem to be PDF related since the html format reports also shows ???
    It is a 3 tier setup hence there is no question of having NLS_LANG registry settings for client PCs that are running Windows OS with Arabic regional settings that match the server.
    Interestingly, the same report when run from a different application server having same architecture runs fine. The other application server has exact same version of OAS. Database supports Arabic and is configured as such.I tried comparing the different configuration files on both servers but apparently I cannot find the place where I should change something for the reports to show correct Arabic.
    SELECT * FROM NLS_PARAMETERS
    WHERE parameter IN ('NLS_CHARACTERSET','NLS_LANGUAGE');
    NLS_LANGUAGE
    AMERICAN
    NLS_CHARACTERSET
    AR8MSWIN1256
    I am writing this after doing quite some research but seems like I am unable to find a solution to this.
    Any help will be appreciated.

    Thank you Paul for your reply.
    I think you misunderstood me. I understand that it is all volunteer work and I never said I was looking for "quick" or "sure" response. I did not even use the words IMMEDIATE or URGENT in my post. I found it strange because I personally believe that there are many volunteers providing great support to others and yet my post somehow went unnoticed. In my personal opinion, however, if you do not wish to reply then you should just ignore rather than being rude. No one can force anyone to do the good work that people are doing here at oracle forums and they are all doing this out of choice. Let me also assure you that me and people like myself really appreciate their efforts.
    Having said that, I wish you had taken time to read about my issue. There is infact a registry setting that specifies the NLS_LANG and it is already set under both Infrastructure and Middle Tier in the registry. I mentioned it earlier. The value is AMERICAN_AMERICA.AR8MSWIN1256 and I believe this is correct for Arabic characters.
    What is confusing for me is the fact that if browser was not capable of showing Arabic characters then the static Arabic words in the reports layout (field name for instance) would also show as garbage or question marks. They appear to be fine. Since we are just passing some parameters in Arabic language and not saving anything in the database, the DB characterset does not come into play for now. Although the DB characterset is also set to store Arabic data. We are displaying the parameters that we are passing through the parameter form in the output of the report and this is where we see question marks (????).
    Finally, if it was a browser issue or a DB characterset issue, then in my limited knowledge, I believe that the report that we are running using the other Application Server that is pointing to the same database should also show the same behaviour. That is not the case as it displays the same report perfectly. Client machine is the same in both cases using Windows 7 and IE as browser.
    http://appserver1/reports/rwservlet?admin/myreport           (connecting to db1)    works fine
    http://appserver2/reports/rwservlet?admin/myreport          (connecting to db1)     show question marks
    Above URLs are examples. The point I am trying to make here is that the issue has to be with the new application server and it cannot be registry settings as I have double checked the entry and it exists in all Oracle Homes ie Infrastructure and Middle Tier. So maybe it is some configuration file setting that I am missing here.
    Any help will be appreciated.

  • Tabular form - Different LOV for different rows

    In a tabular form column, is it possible to have a select list whose values depend on some other column in the row? There doesn't appear to be a way to use #COL# notation to refer to current row values in the LOV query definition.
    Ideas? Thanks

    Hi Scott,
    Thanks ..I formed some idea about APEX_UTIL.KEYVAL_NUM. I have a problem where I am not able to decide if I can make use of this package and solve..
    Can you please have a look at this thread.. Re: Tabular form - Different LOV for different rows
    I have a SQL which populates a tabular form on the page.Coulmn1 some text, Column 2 is to show a drop down as YES and NO. i am trying to freeze the option for rows 2,3,4 as NO, if the Option choosen in first is NO.
    So, what I am trying to ask is..can I save my first selection in a global variable and use it in where clause of [select list query] the second drop down..Not sure how I can do this..Appreciate if you can show me a direction.
    Thanks,
    Chaitu.

  • BDC : to select different rows in table control

    Hi,
    I have to fill many rows in table control and want to select different row one by one  in increasing order which rows are filled in BDC.
    Can anybody suggest me with coding...
    thanks
    naresh

    Hi ,
    I am attaching sample code for BDC transaction code is : FV11 , This code is also contains poage down concepts . By using this page down concept you can add number of item fields
    Program Name        : ZFV11_NEW
    Program Description : To Upload Condition Records-FV11
    Author              : Jagadish
    Start Date          : 11/06/2007
    REPORT zfv11
           NO STANDARD PAGE HEADING LINE-SIZE 255.
       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  ***
    TABLES : t100.
    DATA: BEGIN OF record OCCURS 0,
    data element: KSCHA
            kschl(004),               "Condition Type
    data element: SELKZ_LIST
          selkz(001),
    data element: WERKS_D
            werks(004),               "Plant
    data element: ELIFN
            lifnr(010),               "Vendor
    data element: MATNR
            matnr(018),               "Material No.
    data element: KBETR_KOND
            kbetr(016),               "Amount
    data element: KODATAB
            datab(010),               "Condition Validity Date from
    data element: KODATBI
            datbi(010),               "Condition Validity To
    data element: MWSKZ
            mwsk1(002),
          END OF record.
    DATA : BEGIN OF it_new OCCURS 0,                    " Internal Table for Header Data
           kschl(004),
           werks(004),
           lifnr(010),
           END OF it_new.
    DATA : BEGIN OF it_item OCCURS 0,                  " Internal table for Item Data
          werks(004),
          lifnr(010),
          matnr(018),
          kbetr(016),
          datab(010),
          datbi(010),
          mwsk1(002),
          END OF it_item.
    DATA : cnt(2) TYPE n,
           fld(25) TYPE c.
    TYPE-POOLS: truxs.
    DATA: it_raw TYPE truxs_t_text_data.
    DATA : n TYPE n.
    DATA:
         BEGIN OF t_data OCCURS 0,
               data TYPE string,
         END   OF t_data.
    DATA:BEGIN OF it_mess OCCURS 0,
      msgtyp(5),
       lms(200),
       msgv1(50),
        END OF it_mess.
    DATA : p_mode    TYPE c.
    DATA:it_msgtab TYPE STANDARD TABLE OF  bdcmsgcoll WITH HEADER LINE,
       it_msgtab1 TYPE STANDARD TABLE OF bdcmsgcoll WITH HEADER LINE.
    DATA :  l_mstring(150).
    DATA : BEGIN OF bdcdata OCCURS 0.
            INCLUDE STRUCTURE bdcdata.
    DATA: END OF bdcdata.
    PARAMETERS : p_file1 LIKE rlgrap-filename.
    INITIALIZATION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
      PERFORM file_selection.
      PERFORM data_upload.
      PERFORM table_control.
      LOOP AT it_new.
        REFRESH bdcdata.
        PERFORM bdc_dynpro      USING 'SAPMV13A' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RV13A-KSCHL'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RV13A-KSCHL'
                                      it_new-kschl.
        PERFORM bdc_dynpro      USING 'SAPLV14A' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RV130-SELKZ(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=WEIT'.
        PERFORM bdc_dynpro      USING 'SAPMV13A' '1363'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'KONP-KBETR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'KOMG-WERKS'
                                      it_new-werks.
        PERFORM bdc_field       USING 'KOMG-LIFNR'
                                      it_new-lifnr.
    DATA: "X(5) TYPE N,
             N(5) TYPE N.
       N = 0.
       LOOP AT it_item.
         N = N + 1.
       ENDLOOP.
       "X = 1.
       CNT = 1.
       DO N TIMES.
         IF CNT > 19.
           perform bdc_field       using 'BDC_OKCODE' 'KOMG-MATNR(01)'.
           perform bdc_field       using 'BDC_OKCODE' '=P+'.
           PERFORM bdc_dynpro      USING 'SAPMV13A' '1363'.
           CNT = 1.
         ENDIF.
        cnt = 1.
        LOOP AT it_item WHERE werks EQ it_new-werks AND lifnr EQ it_new-lifnr . "FROM x TO x.
          CONCATENATE 'KOMG-MATNR(' cnt ')' INTO fld.
          PERFORM bdc_field USING fld it_item-matnr.
          CONCATENATE 'KONP-KBETR(' cnt')' INTO fld.
          PERFORM bdc_field USING fld it_item-kbetr.
          CONCATENATE 'RV13A-DATAB(' cnt ')' INTO fld.
          PERFORM bdc_field USING fld it_item-datab.
          CONCATENATE 'RV13A-DATBI(' cnt ')' INTO fld.
          PERFORM bdc_field USING fld it_item-datbi.
          CONCATENATE 'KONP-MWSK1(' cnt ')' INTO fld.
          PERFORM bdc_field USING fld it_item-mwsk1.
          cnt = cnt + 1.
          if cnt = 20.
            perform bdc_field       using 'BDC_OKCODE' 'KOMG-MATNR(19)'.
            perform bdc_field       using 'BDC_OKCODE' '=P+'.
            PERFORM bdc_dynpro      USING 'SAPMV13A' '1363'.
            CNT = 1.
           endif.
    CLEAR it_item.
        ENDLOOP.
       ENDDO.
        PERFORM bdc_dynpro      USING 'SAPMV13A' '1363'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'KONP-MWSK1(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SICH'.
        CALL TRANSACTION 'FV11' USING bdcdata MODE 'A'
                                            UPDATE 'S'
                                           MESSAGES  INTO it_msgtab.
        CLEAR bdcdata[].
        PERFORM error.
      ENDLOOP.
           Start new screen   -Subroutine     for screen s                                      *
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "BDC_DYNPRO
           Insert field        -Subroutine   for field s                                         *
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
    ENDFORM.                    "BDC_FIELD
    *&      Form  file_selection
    FORM file_selection .
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = 'P_FILE1'
        IMPORTING
          file_name     = p_file1.
    ENDFORM.                    " file_selection
    *&      Form  data_upload
    FORM data_upload .
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
       EXPORTING
        I_FIELD_SEPERATOR        =
           i_line_header            =  'X'
           i_tab_raw_data           =  it_raw
           i_filename               =  p_file1
         TABLES
           i_tab_converted_data     = record
        EXCEPTIONS
           conversion_failed        = 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.
    ENDFORM.                    " data_upload
    *&      Form  error
    FORM error .
      LOOP AT it_msgtab.
        IF it_msgtab-msgtyp = 'E'.
          SELECT SINGLE * FROM t100 WHERE sprsl = it_msgtab-msgspra
                                    AND   arbgb = it_msgtab-msgid
                                    AND   msgnr = it_msgtab-msgnr.
          IF sy-subrc = 0.
            l_mstring = t100-text.
            IF l_mstring CS '&1'.
              REPLACE '&1' WITH it_msgtab-msgv1 INTO l_mstring.
              REPLACE '&2' WITH it_msgtab-msgv2 INTO l_mstring.
              REPLACE '&3' WITH it_msgtab-msgv3 INTO l_mstring.
              REPLACE '&4' WITH it_msgtab-msgv4 INTO l_mstring.
            ELSE.
              REPLACE '&' WITH it_msgtab-msgv1 INTO l_mstring.
              REPLACE '&' WITH it_msgtab-msgv2 INTO l_mstring.
              REPLACE '&' WITH it_msgtab-msgv3 INTO l_mstring.
              REPLACE '&' WITH it_msgtab-msgv4 INTO l_mstring.
            ENDIF.
            CONDENSE l_mstring.
            it_mess-msgtyp = it_msgtab-msgtyp.
            it_mess-lms = l_mstring.
            it_mess-msgv1 = it_msgtab-msgv1.
            APPEND it_mess.
           WRITE: / it_msgtab-msgtyp, l_mstring(150).
          ELSE.
           WRITE: / it_msgtab.
            it_mess-msgtyp = it_msgtab-msgtyp.
            it_mess-lms = l_mstring.
            it_mess-msgv1 = it_msgtab-msgv1.
            APPEND it_mess.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " error
    *&      Form  table_Control
    FORM table_control .
    SORT record BY lifnr matnr.
      LOOP AT record.
        ON CHANGE OF record-lifnr.
          MOVE-CORRESPONDING record TO it_new.
          APPEND it_new.
        ENDON.
        MOVE-CORRESPONDING record TO it_item.
        APPEND it_item.
      ENDLOOP.
    ENDFORM.                    " table_Control
    Reward if useful
    Thanks
    Jagadeesh.G

  • How to make tabs show up selectively in different pages?

    Hi,
    I'm new to APEX and getting my hands dirty now...
    I have a standard Tab Set called "TS1", which has 2 tabs (say, tab1 and tab2) in there. Since tabs are under "shared component", so it appears that they are shared throughout all the 10 pages I have.
    How can I make the tabs show up selectively in different pages? For example, I want tab1 and tab2 showing up in page1-9, but NOT in page10. There's a "conditions" (Condition Type), but it has many types and I don't know how to use it.
    Please kindly help!
    Thanks much,
    Helen

    I have a similar requirement. I have several tabs (Operations, Maintenance, Safety, etc.) and users get individually assigned rights. I have a table where I have all the users listed and I added one column for each tab so I can set whether or not that user has access to that tab. You could go the same thing with groups if you want.
    Basically, my table looks like this:
    USER_ID, USER_NM, PWD_HASH, SAFETY_TAB, MAINT_TAB, OPER_TAB, etc.
    where each of the _TAB fields is set up as a VARCHAR2(2) for just Y/N.
    On my home page, I assign an APPLICATION_ITEM called G_USER_ID (Global User ID) on login so I can track who it is. Then I set the condition statement on the tab to SQL QUERY RETURNS AT LEAST ONE ROW
    using the following query:
    select SAFETY_TAB from APEX_USERS
    where SAFETY_TAB = 'Y'
      and USER_ID = :G_USER_IDThis example would be for the Safety tab, but you can easily substitute others. It works pretty slick.

Maybe you are looking for

  • How to make a control table with the same number of rows of its itab

    I'm creating a control table, but it always have the maximum number of lines possible. How can I make it so that it has only the same number of rows of it's internal table?

  • Error while changing modules

    On a Mac, did digital download from B&H. Has never worked because error while changing modules. Did EVERY step in forums. Nothing. Still under manufacturers warranty, need to talk to actual customer rep but only gives me option to post question on fo

  • Is Photos using a lot of CPU?

    Photos is now using a lot of CPU. This is after it converted my iPhoto library. Is this normal? Is anyone else seeing this on their machine? Here's a screen shot with Photos hidden (not actively being used).

  • I can't find photoshop cs6 trial

    I've looked everywhere and I'm having a hard time finding it.

  • Whats wrong with the code?????

    Hi All Pls can anyone help me, what is wrong with the below code, when ever i tried giving 10 digit number to chk out whether it is prime or not it is giving an NumberFormatException to me, pls can anyone help me... class PrimeNo{ public static void