Not getting correct data for newly added field in 0FI_AR_4

Hi to all,
I have added SPART field from VBRK table into 0FI_AR_4 datasource .
Based on join BSID-VBELN = VBRK-VBELN to get SPART from VBRK table.
but i found that some VBELN are not maintained in VBRK table, But are Present in BSID table, so i am not get SPART for which no
VBELN maintained in VBRK.
Please can any one tell me, what condition should i take to get SPART from VBRK to 0FI_AR_4.
as i knew that only BSID-VBELN = VBRK-VBELN sufficent to get data for SPART.
or any different condition i required.
I shall be thankful to you for this.
Regards
Pavneet Rana

Thanks for reply,
i have written code for that like that.
SELECT SINGLE * FROM VBRK
WHERE VBELN = <fs_d>-VBELN .
if sy-subrc = 0.
<FS_D>-SPART = VBRK-SPART.
endif.
ENDLOOP.
according to it result are not capturing all SPART from VBRK. as it only matches the VBELN which are same in both VBRK and BSID table.
so how to get SPART from VBRK if same VBELN is not maintained in both tables.
Please can you tell me CODE for that.
I shall be thankful to you for this.
Regards
Pavneet Rana
Edited by: pavneet rana on Feb 1, 2011 4:53 AM

Similar Messages

  • How to get the histoical data for newly added field in the cube?

    Hi Experts,
    I have small doubt on remodeling the infocube.
    After adding the characteristic or keyfigure  to a cube by using remodeling concept, how can I get the historical data for that particular field.
    I have searched in SDN also but I didn't get proper information.
    Please excuse me if I posted repeated question.
    helpful answer will be awarded with poitns.
    Thanks & regards,
    Venkat.

    hi
    depending on your customer need you could use the remodelling functionnality but sometimes you have no way to retrieve what you want so another option you should consider is the following:
    Advantages
    that will cost less effort and guarantee the result.
    Drawbacks
    data is redondant for a while
    space (depending on the volume of historical data)
    So here are the steps :
    step 1Adjust your extraction process according to the fields you need to add to populate the cube.
    step 2 Then create a dso next or even a cube, feed the dso with a full load with the enhanced extractor you adjusted with the new fields in step 1 only once in fact this should be one shot.
    step 3 Copy the query to the previous built  multi-provider on top of the new historical data from dso and the running live delta cube. Adjust the queries if necessary.
    optionnal Then if you want to get rid of the dso or new cube for historical data you could empty the actual one push the data from the new data provider and that's all.
    bye
    Boujema

  • BPM reporting not displaying data for newly added field

    Hello All,
    I have a BPM process up and running fine. I have added reporting for monitoring no. of context field. I have also created a VC model for displaying the BPM report data. However, VC application is displaying only the context field that I had selected initially during the New Reporting Datasource creation. It'd not display the reporting data for the field that I added later.
    Please help

    Hi Apoorva ,
    Have you checked in the process repository whether your new process is activated or not?
    Thanks & Regards,
    Rohit

  • Historical data load for newly added fields

    Hi,
    we are using cube 0UCSA_C01 with delta update which has gone live now the requirement is we have to  add 2 new fields to this cube  but the problem is how can we load previous data for dese fields dat has been updated already . Plz letme know hw this can b acheieved  plz letme know the proceedure to achieve dis..
    Thnx
    help will b apprciated

    Hi,
    populate historical data into a newly added field in an infoprovider
    How to populate historical data into a newly added field in an infoprovider
    /people/dinesh.lalchand/blog/2006/02/07/loopback-process--follow-up
    http://sap.ittoolbox.com/documents/popular-q-and-a/adding-characteristics-to-infocubes-2138
    Thanks,
    JituK

  • This field name is not known. for newly added fields

    dear sir,
    i ma using VS 2008 with CR.NET. There are previously dsigned reports. when I add some new Fields to the report, it prompts the error message
    [COMException (0x80041019): This field name is not known.
    Error in File C:\DOCUME1\TERESA1\ASPNET\LOCALS~1\Temp\PolicyReceipt {F0958318-C3D3-493D-9140-4CEA08B27B98}.rpt:
    Error in formula  <Address>.
    '{GetTransactionsForPolicyReceipt;1.ClientAddress_zh}+{GetTransactionsForPolicyReceipt;1.Address_zh_2}'
    This field name is not known.]
       CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +240
    here is the stored procedure
    select Transactions.TransactionID
                 , Transactions.PolicyDate
                 , Transactions.PolicyNumber
                 , ClientBranch.BranchName as ClientBranchName
                 , c.last_name + ', ' + c.other_name as ClientName
                 , c.last_name_zh + c.other_name_zh as ClientName_zh
                 , c.last_name as ClientLastName
                 , c.address as ClientAddress
                 , c.Address_2
                 , c.Address_3
                 , c.Address_4
                 , c.address_zh as ClientAddress_zh
                 , c.Address_zh_2
                 , c.Address_zh_3
                 , c.Address_zh_4
                 , c.email as ClientEmail
                 , c.[language]
                 , Gender.ShowName as ClientGenderName
                 , Gender.ShowName_zh as ClientGenderName_zh
                 , Institution.InstitutionName
                 , Product.ProductName
                 , FormulaType.FormulaTypeName
                 , Frequency.FrequencyName
                 , Frequency.FrequencyName_zh
                 , Frequency.FrequencyPeriod
                 , Frequency.IsLumpsum
                 , Currency.CurrencyName
                 , Currency.CurrencyName_zh
                 , Transactions.FrequencyPayment
                 , Transactions.Years
                 , Transactions.Terms
                 , Transactions.Remarks
    , c.Address_2
                 , c.Address_3
                 , c.Address_4
                 , c.Address_zh_2
                 , c.Address_zh_3
                 , c.Address_zh_4
    are newly added
    the other fields can be shown properly
    Edited by: tomckw on Oct 24, 2011 10:04 AM

    Only the RAS ( Report Application Server ) SDK includes API's to retrieve the version information. As you do not have full build of CR, you do not have the RAS SDK.
    Just as an FYI. The APIs are:
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument.MajorVersion
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument.MinorVersion
    A C# example code looks like this:
    MessageBox.Show("Report Version: " + (rptClientDoc.MajorVersion.ToString() + "." + rptClientDoc.MinorVersion.ToString()), "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    I htink your only way to tell is to take the 10.2 report, add it to your VS2008 project and save. On save, if it says something like;
    "this report was crated ina precious version of CR"
    you know it is not 10.5.
    But I do not think that is your problem here...
    - Ludek

  • LastDataRefresh(ROLLUPTIME)-does not show correct date for multiprovider

    Hi,
    The Last data refresh (Rolluptime) shows incorrect date for multiprovider and we use lot of multiproviders.
    Removing the last data refresh from the "Information" button of the Bex Web Analyzer which is using the "Information field web item",  shows an empty space and a colon ":" and an empty box.
    Please let me know if there is any other way to remove the last data fresh without showing the empty space.
    We are on SPS 7 and FEP 7. Is this problem still exist in SPS 8/FEP 8?
    Thankyou,
    -Sini
    Message was edited by: Sini Kumar

    Depends on your definition of correct. Your initial question was that this time does not display. This time should display. For a multprovider, it uses this formula
    first(last(<All InfoProviders under Multi - ROLLUPTIME>))
    It uses the earliest rollup time from the last rolluptime of all the base providers.

  • Lightroom not reading correct data for Lens and Camera Serial Number

    Hi you all.
    Recently got Lightroom, and I'm so impressed - I never imagined image organizing and adjustment could be this easy and at the same time very advanced.
    I have a problem, however. Lightroom (and Adobe Bridge, too) does not correctly read the EXIF data of Lens type and Camera Serial Number.
    The first ~50 images I took and imported turned out correctly and displayed my serial number and lens (18-55 mm Canon) inside Lightroom.
    But now, whenever I import photos into Lightroom or view them with Bridge, they all display "Unknown Lens" and "Unknown Camera Serial Number".
    At first I thought that maybe the camera didn't correctly record this data on to the photos anymore for some reason, but a comparison using EXIFToolGUI shows that the metadata is EXACTLY the same as in the photos that display this info in Lightroom correctly.
    I have not done any changes to either my camera (Canon EOS-350D / Digitial Rebel XT) or lens (the kit lens, 18-55 mm Canon).
    It seems that for some reason, Lightroom has stopped reading these two fields of metadata - all the other fields, such as aperture and shutter speed, all display correctly.
    I also tried to reimport the photos into Lightroom, but it didn't help. Neither did "Synchronize Folder" -> "Scan for metadata updates".
    What should I do? I'd like my lens information do display correctly, as I'll buy a new lens soon.
    I have attached one of the photos that Lightroom doesn't read the data correctly from. Try importing it into your Lightroom, and see if how the info displays.
    Thanks in advance.

    Are these jpgs or RAW?  I have only edited metadata on jpgs.
    It looks like Vista's import stripped out all the makernotes.  I didn't look at your file but that seems to be what happened.  Be warned, Photoshop CS2 also strips out makernotes!
    Now how to fix the problem.  If you want to edit the metadata on files already loaded into LR, you need to write out your metadata to the files first, then edit the metadata, then read the new metadata into LR.  This is scarey for me, so I always make sure my backup is up to date on the images first.
    What to do...  You probably can't put back all of the makernotes, so what to do to get the lens information in.  I don't know if putting back in the makernote LensType would trigger LR to reconsider its lens information.  I don't know.  If it had a real lens name, my guess would be no because it would have an XMP::Lens field which would override.  But maybe unknown lens doesn't have this field and it would re-read the makernotes.
    The other solution is to forget about makernotes for these images and put the exact text you want into XMP::Lens.  I think that's the "easy" way.
    In either case, you will have to become familiar with exiftoolGUI or exiftool itself.  I use the command line exiftool but it looks like you can edit multiple files with exiftoolGUI.  Select your files, click the edit thingy (^) under XMP, choose various, and there is lens.  Put in the text you want.
    I would do this with one file first.  If the lens shows up after you read the new metadata into LR, you know you have it right.
    Note, exiftool can write backup files for each file.  This makes too much of a mess for me.  I prefer to copy the directory first (I have copies anyway, I just have to make sure the backups are up to date).
    Good luck!  I'm struggling with a similar situation where the same lens used by two different cameras is coming out with a different name.  I need to go back and "fix" the names in the images already imported, and then develop my procedure for setting a single unique name before I load new images into LR.  Not too much of a problem because I'm loading in GPS information anyway...  What's another call to exiftool...
    Judy

  • Not getting any Data for Batch and storage Location for 2LIS_03_UM

    Hi All,
    My requirement is to extract Data from 2lis_13_vdkon from R/3 source system.
    currently we are on R/3 PI 2003_1_470, For 2lis_13_vdkon we need to upgrade to PlugIn 2004_1.
    we are planning to upgraded to Solution Tool 2008-1, will that be helpful or we need to upgrade to PlugIn 2004_1.

    http://help.sap.com/saphelp_nw70/helpdata/en/7f/0f8c4037fba62be10000000a1550b0/frameset.htm
    Available from OLTP release
    4.0 B
    Delivery with
    PlugIn 2004_1
    Prerequisites
    Prerequisite for the use of the extractor is the R/3 core SAP Note 673964 or the corresponding support package.
    regards,
    Colin

  • Thunderbird does not get server data for ovi mail

    hi there,
    i have the following problem:
    when i try to make an ovi account in my thunderbird mail client, it does not find the right server settings to do so. i searched the net for hints concerning the right settings to set them manually but havent found anything so far.
    does anybody know the right server settings or can provide me with a tip where i can find them, respecively solve the problem otherwise?
    many thanks in advance!

    Hello.  Name here is Stephen.  I live in Missouri.
    I currently use my ovi.com email address with a Nokia E-71 smartphone, on the prepaid Straight Talk (TracFone Owned) wireless network.
    I've also had my ovi.com address setup in Thunderbird (a popular email client) as an IMAP account.
    Now that I see the new settings, I see that IMAP no longer available?  Is that correct?
    If this is the case, how is converting an IMAP account that worked flawlessly to a generic POP3 account progress?  IMAP is more attuned to business users, and is just more efficient all the way around.
    If I'm wrong, please let me know.  If not, I need the current IMAP account settings for my ovi.com email address.
    Please assist me in this matter, as it's driving me nuts.
    Warm Regards,
    Stephen Brown

  • Not getting the data for delta for 0ASSET_ATTR_TEXT  in RSA3

    Hi All
    In RSA3, I am not able to extract the delta for the datasource ASSET_ATTR_TEXT. But when it is on full update then i am gettign the records, when i changed to "D" it is giving me the error 'Errors occurred during the extraction' and the error messege says
    "Errors occurred during the extraction
    Message no. RJ012
    Diagnosis
    During the extraction phase an error occurred for the extractor. An exception, 'error_passed_to_mess_handler' was triggered.
    System Response
    A more precise description of the error can be found in the log.
    Procedure
    Check the function module or the call from the extractor check program
    Kindly provide some inputs on the same
    Regards
    Abhi

    hi Siggi,
    I have checked Datasource in the ROOSOURCE Table for this datasource the DELTA IS - AIE. And do did the Init from the BW i got 8210 recods.Then i executed the Delta Pack. there was an error happend.
    But When i loaded Delta i got the error as :
    Diagnosis                
             Not all the initialization requests have been completed yet for this   
        DataSource, or there may be an incorrect initialization request.                                                                               
    System response                                                                               
    No delta requests can be processed whilst there is an initialization   
        request that has not been completed.                                                                               
    Procedure                                                     Wait until the initialization request has finished, or delete the entry
        for the incorrect initialization request from the corresponding display
        in the Scheduler.                                                      
    Regards
    Abhi

  • Not getting correct output for smatform in spool file

    Hi All,
    I am using smartform to print some letter. In the smartform under main window I have put some layouts. For each layout I am displaying some particular fields in spool file. In the line editor I have given some conitions (if -elseif-else) to display different fields.
    <b>My code in line editor is like:</b>
    /: if <condition1>
    &var1&
    /: elseif <condition2>
    &var2&
    /: else
    &var3&
    So it should display diffent output according to the conditions. But when I am trying to execute form, its showing var1, var2 & var3 all in spool file.
    Does it  means there is no effect of if conition??
    Could u please help me in solving this issue.
    Thanks in advance.
    Regards,
    Vijay

    Why don't u try at Program lines instead of editor.

  • Iam not getting the data on screen after using the user exit zxpadu01

    Dear Freinds
                As per my requirement when the user enters value Ansal  it should get defaulted to Amount field (bet01 ) based on the wage type
    i have written calculation ( q0008-bet01 = ansal/100) before it getting defaulted to bet01, i found that value is not getting default  on the screen for bet01 once i enter value for Ansal , please any body correct my code
    in   ZXPADU02 i have written the code as  below :
    data : wa_p0008 like p0008,
            i0008 like p0008,
           l_v_ANSAL type ANSAL_15,
           l_v_amount type PAD_AMT7S.
    CASE innnn-infty.
    when '0008'.
    CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
    EXPORTING
    prelp = innnn
    IMPORTING
    pnnnn = wa_p0008.   -- HERE I GOT ALL THE DATA EXCEPT BET01
    if wa_p0008-lga01 = 'MFPY'.
    l_v_ansal =  wa_p0008-ansal.
    l_v_amount = l_v_ansal / 100.
    move l_v_amount to wa_p0008-bet01.
    CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
    EXPORTING
    pnnnn = wa_p0008  --- HERE I CAN SEE EVEN THE BET01 IS FILLED
    IMPORTING
    prelp = innnn.         --- HERE I CAN SEE LGART BUT NOT AMOUNT VALUE
    endif.
    when others.
    endcase.
    IN ZXPADU01 I HAVE WRITTEN AS BELOW:
    data : wa_p0008 like p0008,
            i0008 like p0008,
           l_v_ANSAL type ANSAL_15,
           l_v_amount type PAD_AMT7S.
    CASE innnn-infty.
    when '0008'.
    MOVE-CORRESPONDING  innnn to wa_p0008.
    CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
    EXPORTING
    prelp = innnn
    IMPORTING
    pnnnn = wa_p0008.
    if wa_p0008-lga01 = 'MFPY'.
    l_v_ansal =  wa_p0008-ansal.
    l_v_amount = l_v_ansal / 100.
    move l_v_amount to wa_p0008-bet01.
    CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
    EXPORTING
    pnnnn = wa_p0008   --- I CAN SEE ONLY WHEN I COME AGAIN
    IMPORTING
    prelp = innnn.
    endif.
    when others.
    endcase.
    Now my problem is as follows :
                   i have entered the value for Ansal (ex: p0008-Ansal = 1000) ..........and i say enter then i should found the calculated value for the ansal through my coding
    and it should  display in bet01 as 10 ( q0008-bet01 =  p0008-ansal /100)
    but i dont find the value 10 being displayed for the field bet01 on the screen  when
    user enters Ansal  as 1000 .........even then i have saved it to test the scenario......
    now i came in displayed mode (pa20 ) for the infotype 008 for the same personnel no for the same  dates .....where i created the record........i found that the value
    bet01 is there i.e i can see  the value bet01 as 10 ( my requiremnt here matching)
    but when the user say enter during the time of creation of the record the value
    bet01 is not getting defaulted with 10 .........why iam not able to understand
    PLEASE ANY BODY HELP ME IN THIS REGARD 
    regards
    shanti.

    Hi Pranesh,
                   i have used the logic which you hav given as below
    in ZXPADU02
      FIELD-SYMBOLS <fs>  TYPE ANY.
    ASSIGN ('(MP000800)Q0008-betrg') TO <fs>.
    if <fs> is assigned.
    <fs> = l_v_amount .  ---  amount as (ansal /100 i.e 1000/100 = 10) 10
    endif.
    still iam not getting the data for the field bet01
    this is the coding i am using
    data : wa_p0008 like p0008,
            i0008 like p0008,
           l_v_ANSAL type ANSAL_15,
           l_v_amount type PAD_AMT7S.
      FIELD-SYMBOLS <fs>  TYPE ANY.
    CASE innnn-infty.
    when '0008'.
    MOVE-CORRESPONDING  innnn to wa_p0008.
    CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
    EXPORTING
    prelp = innnn
    IMPORTING
    pnnnn = wa_p0008.
    if wa_p0008-lga01 = 'MFPY'.
    l_v_ansal =  wa_p0008-ansal.
    l_v_amount = l_v_ansal / 100.
    move l_v_amount to wa_p0008-bet01.
    ASSIGN ('(MP000800)Q0008-betrg') TO <fs>.
    if <fs> is assigned.
    <fs> = l_v_amount .
    endif.
    CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
    EXPORTING
    pnnnn = wa_p0008
    IMPORTING
    prelp = innnn.
    endif.
    when others.
    endcase.
    please help me as iam still not getting (value in bet 01) when i press enter once i enter value in ansal feild.
    regards
    shanti.

  • How to enter values for newly inserted field for maintenace view table

    Hi ,
    I have inserted new field for custom table which consits of maintance view..
    I want to put some values in to this newly inserted field..
    When i try to insert values bu useing se16,iam unable to view this newely inserted field..
    Can you please let me know how can i insert values to this newely created field
    Thanx,
    Parnith

    Hi Parnith,
    It is easy to use a table maintainance to enter values to a database table....
    if you have a table maintainace generator and you are not able to see the newly added field here is the reason
    Everytime you add a new field , the table maintainance needs to be regenerated..The reason is that the screen you are using in the table maintainance is created within a program with respect to the fucntion group and not directly linked to the table..whenever you change the table,the function group is not affected and changes are not reflected in the table maintainance , so you have to regenerate by utilities-> table maintainance generator in sell for that table..once you do it , the function group assigned to the table automatically creates a new one with the latest fields added
    Reward if helpful
    Regards
    Byju

  • Newly added field in the data Source not getting populated

    Hello All,
    We have added few fields in the Data Source. The Data Source is based on the InfoSet. We have included the field in the Infoset and have updated the code to fetch the value for the newly added fields.
    When we perform the test extraction for this Data Source in RSA3, the newly added fields are not getting populdated with the value. In the system generated query's selection list, the newly added fields are not selected.
    Please let mw know how to get the newly added field selected in the system generated query of the infoset.
    Regards,
    -Purnima

    Hi,
    As you said you have added the filed in Info Set. Have you included the same in data source? try if not.
    If you are trying to create a query in source system to check the data. I guess in R/3 (ECC) then you have to include the new field in slection critera (ther is an option available on top menu).
    I would suggest before creating any query go to RSO2 select the data source. Display the field structure and check if the filed is there or not. You maysee Infoset level data directly by data display from top menu. Try that optionas well to check.
    I hope it will help.
    THanks,
    S

  • Newly added field not getting displayed in ALV output

    Hi All,
       I'm adding one more field/column to be displayed in an old existing program that uses REUSE_ALV_FIELDCATALOG_MERGE to generate the ALV fieldcat.
    DATA: BEGIN OF it_salary OCCURS 0,
            pernr LIKE pa0000-pernr,
            ename LIKE pa0001-ename,
            rtext like lv_rtext, -
    added field
            waers LIKE pa0008-waers
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = driver
          i_internal_tabname     = 'IT_SALARY'
          i_client_never_display = 'X'
          i_inclname             = driver
        CHANGING
          ct_fieldcat            = lv_fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = driver
          it_fieldcat             = lv_fieldcat[]
          i_default               = 'X'
          i_save                  = 'A'
          is_variant              = lv_tmplt
          is_layout               = lv_ls_layout
         i_callback_user_command = 'USER_COMMAND'
        TABLES
          t_outtab                = it_salary
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
    The newly added field is not getting populated in the lv_fieldcat table. Tried running programs BALVBUFDEL,
    BCALV_BUFFER_DEL_SHARED then logging off and logging in but of no help.
    Please provide suggestion for this issue.
    Regards,
    Sridevi S

    Hi,
    Fieldcat is buffered - so use
    I_BYPASSING_BUFFER = 'X'
    Since a while CL_GUI_ALV_GRID is available which does NOT need any fieldcat (is determined internally using RTTI). It is worth playing around whith this class if you have some time. This class is recommended for ALV Output by SAP (but no edit is possible - was never supported officially).
    A simple use would be:
    data: gt_output type standard table of (adjust!).
    *simple ALV output
    data go_alv type ref to cl_salv_table.
    data go_functions type ref to cl_salv_functions_list.
    data go_columns type ref to cl_salv_columns_table.
    data go_column type ref to cl_salv_column_table.
    *Exceprion handlig
    data: go_exception  type ref to cx_root,
          gv_errortext   type string.
    ** fill table gt_output ...
    ** ALV output
    if not gt_output is initial.
        try.
            call method cl_salv_table=>factory
              importing
                r_salv_table = go_alv
              changing
                t_table      = gt_output.
          catch cx_salv_msg into go_exception.
            gv_errortext = go_exception->get_text( ).
            message gv_errortext type 'A'.
        endtry.
    * enable all standard ALV functions
        go_functions =  go_alv->get_functions( ).
        go_functions->set_all( ).
    * hide MANDT
        go_columns = go_alv->get_columns( ).
        go_column ?=  go_columns->get_column( columnname = 'MANDT' ).
        go_column->set_technical( ).
        go_alv->display( ).
    Kind regards,
    Holger

Maybe you are looking for