Data not updated in business entity after change in architectural object

Hi,
A business entity was created from Architectural Object.
When we modify the address in the architectural object, the data is not updated in the business entity.
Is there any solution that make an automatic update for the address in business entity after a change in architectural object ?
Thx for your help.
Regards
Saad

Hi,
I have created new infopackage and ran. Now the following message I have got on the monitor.
"Data not received in PSA Table
Diagnosis
Data has not been updated in PSA Table . The request is probably still running or there was a short dump.
Procedure
In the short dump overview in BW, look for the short dump that belongs to your data request. Make sure the correct date and time are specified in the selection screen.
You can use the wizard to get to the short dump list, or follow the menu path "Environment -> Short dump -> In Data Warehouse".
Removing errors
Follow the instructions in the short dump."
Any more thoughts?
Thanks,
Rao.

Similar Messages

  • Name server not updated in development configuration after change of SLD

    Hi Guys
    Hope you can help me with this one.
    We have moved our SLD from one server to another.
    After this we changed the name server in NWDI and in NWDS.
    In NWDS i removed the development configuration and reimported it, but when I do this, a popup box shows the details of the development configuration and the name server is still the old SLD server. This means that when I start the NWDS I get an error saying that the name server host is unreachable.
    Where do I change this?
    I found out that the name server is setup in the .confdef file under .dtc\0 in the field called name-server-url. If I change this manually in the file, it works. But if I remove the development configuration and reimport it again, I am taken back to the old name server again.
    It seems as if something has to be changed in NWDI, but I can't figure out what.
    Can anybody help?
    Cheers,
    Jacob Vennervald

    Hi Jacob,
    I would proceed as follows:<br><br>
    -  login to your new SLD<br>
    -  go to the technical systems in the landscape area of the SLD<br>
    -  in the filter drop down select AS JAVA<br>
    - check if your NWDI has reported to this SLD in the last 12 or 24 hours, you can check this on the "last update" column<br>
    - if your system has reported to this sld the last few hours this is good if not go to the step "change J2ee to new sld" i will descirbe later.<br>
    - remember the name of the system here. it is like sid on dbhostname.<br>
    -  got to sld administration (link on top) choose content maintenace in administration<br>
    - in the subset filter select "All with instances" as class set SAP AS JAVA Cluster<br>
    - you should find your system there. click on it.<br>
    - in the new screen find a link in the middle top <nr> associated instances -> click it<br>
    - in the next screen you will see the relationship of the technical system to the rest of the sld data.<br>
    - there should be a topic called "hosted application server"<br>
    - the should be an entry like: system landscape directory: sld on sid on server -> click it<br>
    - here you will see the data for this hosted system. You can find the cim/url definig the SLD you will find the roles. Landscape and name server should assigend and so on here you can chage the SLD url. <br><br>
    You can although proceed as follows. This as well requieres you nwdi to report and use this sld in j2ee see below if not.<br>
    - on sld startscreen choose landscapes in the landscapes part of sld<br>
    - select landscape type nwdi systems<br>
    - if there is no landscape you can create one<br>
    - in the landscape ypu can assinge systems. The sld should be availabel to choose.<br>
    - once in the landscape you can view the system and you can change the CIM Server url and the roles there aswell its just another view on the content.<br>
    <br>
    you can although check:<br>
    - open name reservation from develpoment part of start screen<br>
    - here you should find a button about enabling or disabling the sld for nwdi usege. this should be of course enabled...<br>
    <br>
    <b>"change J2ee to new sld" <br>Ok and here what to do or to check if you are not sure if your NWDI uses/reports to the new sld.</b><br>
    - Go to the nwdi server an open Visual admin i asume you are running a 7.0 Di if not let me knoe i can although tell you for CE.<br>
    - ok in VA. select on of your server nodes->services->SLD data supplier.<br>
    - an overview page will show up.<br>
    - select the http settings tab in the lower middle.<br>
    - https settings will tell the j2ee where to report to. Verify the data and change if needed. use the lightinigbolt button on top to transfer data to the sld. have a little patiance if your data is not shown immediately in your sld,. it may take 1-2 minutes until it is shown in the gui.<br>
    - switch to cim client generation tab. those paraemters will tell your j2ee from what sld to read data from. It is important to understand that you may report to one sld but to read from antioher. depending on your sld landscape. The CIm CLient should use the same Sld as your NWDI uses in CMS setting.<br>
    - if all is setup. do a cim client test.<br>
    <br><br>
    Allright. This is all I know on how the NWDI is integrated in SLD. Hope you can resolve your problem wiht this steps.
    <br>
    Have a good time<br>
    Jan

  • Bug in newest version of iTunes: last played data not updating after songs are played

    I just downloaded the newest version of iTunes on my Mac. The "last played" data is not updating automatically after a song has finished playing (even after waiting for a while). Sometimes in the older versions it would take 5-10 second for the data to update automatically, but even after several minutes, "last played" still shows as if the song had not just been played.

    RestonMacGuy wrote:
    I did something similar, but not the same: I "played" a few tracks from the iPod (fast-forwarding until about 30 seconds from the end) while the Shuffle was connected to my computer and in iTunes, which then caused the "Last Played" field to be updated.
    The next time I connected my Shuffle, the Last Played values were updated.
    I bet the Last Played was updated after you stopped playing the tracks...IN FACT. if you were watching your shuffle icon, you might have noticed the rotating thingy to the left of the eject symbol, meaning an update was ongoing.
    This will happen AS LONG AS the track has "remember playback position" set.

  • Update of project planning after change in activity type

    Hello Experts,
    we are doing manual activity input planning ( CJ40 ) via customer report per year equal to project dates.
    This means if we change activity plan price ( KP26 ) in future years, we need to recalculate the planned values in project system.
    If we manually change values in CJ40 after changes in KP26 the system calculates the new monetary value in background
    Example: Planned on project 10 Hrs a 20€ = 200€ // change price of activity type to 30€ // Plan 1 additional hour in CJ40: Monetary value changes to 11 Hrs a30€ = 330€ and posts +1 Hr with +130€ price difference.
    Is there a opinion to adjust/update the monetary value after changes in KP26 without changing plan values?
    Thanks

    Hi Frank,
    I am not sure what kind of project cost planning you are using.  Usually it is either direct WBS cost planning with CJR2 or cost roll up from Network Activities and Orders or ECP.
    The system will take AType price relevant for the period. If you have 100 hours with price 20 for Year N and 50 hours with price 30 for Year N+1, the planned cost will be 2000 + 1500 = 3500.
    CJ40 is the Overall Planning, but you still can select a year (as a period). In the Overall view you have no button for Activity Input, it will show up only when you select a year.
    Regards,
    Paulo

  • Automatic postings r not updated thru business area wise like dep.run tax c

    automatic postings r not updated thru business area wise like dep.run tax code also......how to updated this....
    my client requirement.....plz halp me

    Hi
    Business area updations will not get updated through automatic postings like tax line generations, etc.  You will have to search for some note for updations.  Otherwise while preparing blance sheets for business area, you can make adjustment postings.
    Regards,

  • Folio producer not updating folios on app after publishing folios

    Folio producer not updating folios on app after publishing folios, before May updates it used to update my folios right away, it's been 2 days and my folios has not been published or updated. please help

    yes I did, i even unpublished the folios adn then published them again,  i made them public when publishing and it still doesn't make the updates on the app, on the folio producer it shows the latest files and that the updates request was sucessfull. But istill no updtes on app,
    please help

  • Deactivation date is not updating in Asset Master after retirement (ABAON)

    Dear Experts,
    Asset Capitalized on: 28.02.2009 and depreciation key used as: LINK-Str.-line from acq.value to zero without interest. Asset Retirement done with revenue (210) on 31.05.2009. We do have depreciation like (01 book depreciation, 15 Tax depreciation, 30 Local GAAP book depreciation).  Below is the asset and class:
    Asset name:  Maruti Baleno
    Asset Class: Vehicles
    Here my question is after retirement done with the transaction code: ABAON u201CDeactivation onu201D date is not updating automatically in the system, however when am trying to update manually the system showing error like u201CDeactivation not possible. Dep.area 15 has acquisition values.
    When am trying to do same transaction with T code: u201CABAVNu201D, the system updating the deactivation date.
    Can anybody explain me why the above error happening and why the deactivation date is not updating with t code: ABAON.
    Thanks,
    Francis.J

    Dear Atif Farooq,
    In the AO74 the transaction types (Deactivate fixed asset check box also ticked)
    200     Retirement without revenue
    210     Retirement with revenue
    When am trying to update manually below error appearing in AS02
    Deactivation not possible. Dep.area 15 has acquisition values
    Message no. AA296
    Diagnosis
    You cannot deactivate, since acquisition values are still present in depreciation area 15.
    Procedure
    Deactivation can only be posted by a complete retirement/transfer. The deactivation date is then set automatically.
    The above asset procured in the year of 2009 and same has been retired 2009.
    Thanks,
    Francis J

  • TS3992 Changes to my notes, contacts, etc., on my iPhone are not updating in the Cloud after back up

    I upgraded to iPhone 5 but when I back up the Cloud (both wifi and plug-in), changes to my notes, contacts, etc., that I've made on my iPhone are not updating in the Cloud

    Hi Gorm019,
    If you are having issues with Photo Stream, you may find the following articles helpful:
    iCloud: My Photo Stream FAQ
    http://support.apple.com/kb/ht4486
    iCloud: My Photo Stream troubleshooting
    http://support.apple.com/kb/ts3989
    Regards,
    - Brenden

  • Bdoc received but data not updated

    Hello,
    I am using CRM4.0
    I changed the customizing in table CRMC_ACT_DECOM to change values of field KV_DEKO.
    Then, I transported the modification usign R3AS4 to CDB.
    I can see that the table CDBC_ACT_JOURN is updated correctly with the new values.
    My problem is that I don't see the modification on MSA. When I try a select on this table, i just see the old values.
    It tried to do an extract on replication object CRM_DNL_ADOCCH for my site, the bdoc is well sent and I can see the new data in it, but even after synchronisation, the data in MSA is not updated...
    What am I missing ?
    (the strange thing is that I didn't have this issue in dev environnement)
    Thanks in advance,
    EDIT : ok when I launch this query in query analyser :
    SELECT *
    FROM dbo.CDBC_ACT_JOURN
    WHERE FIELDNAME = 'KV_DEKO'
    I get all the data.
    But when I am using the query in SQL Server entrerprise management, I don't see them !!
    Edited by: Louis-Arnaud Bouquin on Nov 10, 2009 10:26 AM

    >
    sujith golla wrote:
    > Status of the IDOC is "53", so successfully posted
    > records that have the status can NOT be reprocessed using BD87
    There are some tricks: you can either create a copy of the IDoc in WE19 and then process it or use report RC1_IDOC_SET_STATUS (be careful though) to update the IDoc status.
    However, you might want to do some more research and use suggestions above before resorting to these measures.

  • Data not updated in the excel while using Live office

    Hi all,
         I have a Trial balance Crystal report in BOE and have created a Live Office document connecting that report. Now I've imported that document to the Xcelsius environment.
       In Xcelsius a Filter component having the YTD values as the Labels and its destination is bound to the cell having input to the Crystal report of the Live Office document. Now in the Preview mode when I change the select the year its corresponding data should be displayed in the Chart but unfortunately that's not that case. But when I change the year in Non Preview mode
    the data is getting updated.
    What could the error ?
    Thanks
    John

    Thanks Senthil, its working!!
    But its taking lot of time for the data to get updated in the chart upon changing the year. Is there any way to speed up the process ?
    Thanks
    John

  • Data not updating from psa into Data Targets

    Hiii,
    We have started data upload in info cubes from psa . The number of records was 4 in psa . But after waiting for at least 3 hours ,still the data is not updated  in info cube . The data which we want to upload in info cube (of stock) is of past date which due to some reason failed to update in BI from ECC . To upload the same that is data of past date we have deleted the setup table in ECC and then after filling the data again in set up tables, created a new info package from which uploaded data in PSA . But while trying to upload data in info cubes,it is not getting updated and the request status is showing still green yellow in psa.
    Please suggest how to resolve this issue.
    Thanks and regards

    Are you loading material movements from 2LIS_03_BF in to cube? If so, please look at the below link for inventory data loads.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/906b837a-0d54-2c10-08b8-bde70337547e?QuickLink=index&overridelayout=true
    Regards,
    JB

  • Planning area data not updated in infocube in APO system

    Hi all,
    User is uploading a flat file using addon program to an infocube 1, from this infocube data for  sales forecast KF is getting transferred to a planning area KF using standard program RTS_INPUT_CUBE.  I can see the updated data in Planning book (which refer the same planning area) data views. In planning book the sales forecast data is also getting copyied to second KF 'Arrangement FC' and its correct.
    Now there is a infocube 2 (second) which is getting data directly from this planning area (infocube also contains both KFs). But When i checked this infocube 2 , the updated data is availabe in Sales forecast KF , but arrangement forecast KF is having old data only and user is running query on second KF , so he is getting wrong report.
    Since there is no data flow for this infocube 2, and it is getting data from planning area, I feel its remote infocube.
    I have also found the datasource for this planning area but don't know how to move further to find why data is not updating properly? Please help on this.
    I have information that 2 weeks before data was properly updated, but this time data is not updated,
    system version  is SAP SCM 4.0

    Hi Vivek
    it is advisable to run the background jobs when the planning books are not being accesses by the users to prevent such inconsistencis. Hence i would advise you to run the jobs durng non-working hours. and if you have a global system, then you may restrict to run the jobs based on regional levels.
    in addition, it is also a good practice to run consistency jobs before and after your have completed the background jobs. i hope you are using process chains to execute the sequeuce of jobs. if yes, then you can add consistency check jobs in the process chains.
    some of the consistency check reports are :
    /SAPAPO/OM17 - liveCache Consistency Check
    /SAPAPO/TSCONS - Consistency Check for Time Series Network
    /SAPAPO/CONSCHK - Model Consistency Check
    and so and so forth..
    you can find these conssistency jobs under APO Adiminstration --> Consistency checks in APO.
    let me know if this helps.
    Rgds, Sandeep

  • Data Not updated in BDC

    hi alll
    1.   i have written below coding for vendor master update. i have two records in text file, in that first record not updated. while updating its shows error. but second record updated. how can i solve. plse help me
    2.  I want to show the error message or i want to print how can i do it
    REPORT  ZVENTESTBDC.
    data : begin of it_xk01 occurs 0,
             LIFNR(10) type c,
             BUKRS(4) type c,
             EKORG(4) type c,
             KTOKK(4) type c,
             NAME1(30) type c,
             SORT1(10) type c,
             LAND1(3) type c,
             AKONT(10) type c,
             FDGRV(10) type c,
             WAERS(3) type c,
          end of it_xk01.
    DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
           IT_BDCMSGCOLL LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
       FILENAME                      = 'C:\Documents and Settings\entegall\Desktop\vendor.txt'
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      TABLES
        DATA_TAB                      = it_xk01.
    loop at it_xk01.
       refresh it_bdcdata.
      perform open_group.
    perform bdc_dynpro      using 'SAPMF02K' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-REF_LIFNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RF02K-LIFNR'
                                   it_xk01-lifnr.
    perform bdc_field       using 'RF02K-BUKRS'
                                  IT_XK01-BUKRS.
    perform bdc_field       using 'RF02K-EKORG'
                                  IT_XK01-EKORG.
    perform bdc_field       using 'RF02K-KTOKK'
                                  IT_XK01-KTOKK.
    perform bdc_dynpro      using 'SAPMF02K' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-LAND1'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LFA1-NAME1'
                                  IT_XK01-NAME1.
    perform bdc_field       using 'LFA1-SORTL'
                                   IT_XK01-SORT1.
    perform bdc_field       using 'LFA1-NAME2'
    perform bdc_field       using 'LFA1-LAND1'
                                  IT_XK01-LAND1.
    perform bdc_dynpro      using 'SAPMF02K' '0120'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-KUNNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPMF02K' '0130'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFBK-BANKS(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    perform bdc_dynpro      using 'SAPMF02K' '0210'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFB1-FDGRV'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LFB1-AKONT'
                                  IT_XK01-AKONT.
    perform bdc_field       using 'LFB1-FDGRV'
                                  IT_XK01-FDGRV.
    perform bdc_dynpro      using 'SAPMF02K' '0215'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFB1-ZTERM'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPMF02K' '0220'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFB5-MAHNA'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPMF02K' '0310'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFM1-WAERS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LFM1-WAERS'
                                  IT_XK01-WAERS.
    perform bdc_dynpro      using 'SAPMF02K' '0320'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-LIFNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=UPDA'.
    *perform bdc_transaction using 'XK01' using IT_BDCDATA mode 'A' UPDATE 'S'
    CALL TRANSACTION 'XK01' USING IT_BDCDATA
                            MODE  'A'
                           UPDATE 'S' MESSAGES INTO IT_BDCMSGCOLL.
    *perform close_group.
    endloop.
    FORM BDC_DYNPRO USING PROG SCR.
      CLEAR IT_BDCDATA.
      IT_BDCDATA-PROGRAM = PROG.
      IT_BDCDATA-DYNPRO  = SCR.
      IT_BDCDATA-DYNBEGIN = 'X'.
      APPEND IT_BDCDATA.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR IT_BDCDATA.
      IT_BDCDATA-FNAM = FNAM.
      IT_BDCDATA-FVAL  = FVAL.
      APPEND IT_BDCDATA.
    ENDFORM.

    go through this porgarm u will get the clear picture about down loading the error msg.
    PROGRAM ID     : ZSD_CONDREC_DISCOUNT_ZSWD
    DESCRIPTION    : BDC PROGRAM TO UPLOAD CONDITION RECORDS FOR Discount
    TRANSACTION    : VK11
    CONDITION TYPE : ZSWD(Key combination 3)
    VERSION        : 1.0
    Text Elements
    001  :  Select Options
    002  :  C:\SD\Error\Discount-ZSWD
    003  :  Error Download Path
    004  :  C:\SD\Error\Discount-ZSWD - DDMMYYYY HH:MM:SS.txt
    REPORT ZSD_CONDREC_DISCOUNT_ZSWD
           MESSAGE-ID 00.
    *include bdcrecx1.
    TABLES : t100.
           Internal table declaration                                    *
    DATA : BEGIN OF it_price OCCURS 0,
                  index(4),      "Index
                  kschl(4),      "Condition type
                  vkorg(4),      "Sales organization
                  vtweg(2),      "distribution channel
                  spart(2),      "Division
                  matnr(18),     "Material no
                  kbetr(11),     "Rate
                  konwa(5),      "Rate unit (currency or percentage)
                  kmein(3),      "Condition unit
                  krech(1),      "Calculation type for condition
                  datab(10),     "Validity start date
                  datbi(10),     "Validity end date
                  er_message(100),
           END OF it_price.
    Internal table to get the error data                                 *
    DATA : it_error LIKE it_price OCCURS 0 WITH HEADER LINE.
    DATA : bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
    DATA : i_msgtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    Internal table to find the error from the legacy data                *
    DATA : BEGIN OF it_erfind OCCURS 0,
                  index(4),      "Index
                  er_message(100),  "For Error Message
           END OF it_erfind.
    Variables declaration                                                *
    DATA : g_message(200),
           time(10),
           date(10)  ,
           v_error_filename LIKE rlgrap-filename.
    date      = sy-datum.
    time      = sy-uzeit.
           Initialization
    INITIALIZATION.
    Generating Error file name with date and time.
      PERFORM make_file_name.
           Selection Screen                                              *
      SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
      PARAMETER: p_file LIKE ibipparms-path OBLIGATORY.
      SELECTION-SCREEN SKIP.
      SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 1(30)  text-003.
      SELECTION-SCREEN COMMENT 33(79) text-004.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN:END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file .
      PERFORM get_filename.
    Start of selection
    START-OF-SELECTION.
      PERFORM upload_data.
      PERFORM fill_data.
    END-OF-SELECTION.
    *&      Form  fill_data
          text
    FORM fill_data.
      LOOP AT it_price.
    *Start of Screen 1
        PERFORM bdc_dynpro      USING 'SAPMV13A' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RV13A-KSCHL'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ANTA'.
        PERFORM bdc_field       USING 'RV13A-KSCHL'
                                      it_price-kschl.
    Key Combination: Sales org / Dist. channel / Division / Material
        PERFORM bdc_dynpro      USING 'SAPLV14A' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RV130-SELKZ(03)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=WEIT'.
        PERFORM bdc_field       USING 'RV130-SELKZ(03)'
                                      'X'.
    *Start of Screen 2
        PERFORM bdc_dynpro      USING 'SAPMV13A' '1800'.
        PERFORM bdc_field       USING 'KOMG-VKORG'
                                      it_price-vkorg.
        PERFORM bdc_field       USING 'KOMG-VTWEG'
                                      it_price-vtweg.
        PERFORM bdc_field       USING 'KOMG-SPART'
                                      it_price-spart.
        PERFORM bdc_field       USING 'KOMG-MATNR(01)'
                                      it_price-matnr.
        PERFORM bdc_field       USING 'KONP-KBETR(01)'
                                      it_price-kbetr.
        PERFORM bdc_field       USING 'KONP-KONWA(01)'
                                      it_price-konwa.
        PERFORM bdc_field       USING 'KONP-KMEIN(01)'
                                      it_price-kmein.
        PERFORM bdc_field       USING 'RV13A-KRECH(01)'
                                      it_price-krech.
        PERFORM bdc_field       USING 'RV13A-DATAB(01)'
                                      it_price-datab.
        PERFORM bdc_field       USING 'RV13A-DATBI(01)'
                                      it_price-datbi.
               perform bdc_dynpro      using 'SAPMV13A' '1821'.
               perform bdc_field       using 'BDC_CURSOR'
                                             'KOMG-MATNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SICH'.                    "Save the entry
        PERFORM bdc_transaction TABLES i_msgtab USING 'VK11' 'N' 'L'.
    *To fetch the error message from the standard error table
        SELECT  SINGLE * FROM t100 WHERE sprsl = 'E'
                                   AND arbgb = sy-msgid
                                   AND msgnr = sy-msgno.
        g_message = t100-text.
    *subroutine to change the error message for every document number
        PERFORM replace_parameters  USING sy-msgv1
                                          sy-msgv2
                                          sy-msgv3
                                          sy-msgv4
                                CHANGING  g_message.
        WRITE: / 'System variables:'.
        SKIP.
        WRITE: / '        Sy-msgty:', sy-msgty.
        WRITE: / '        Sy-msgid:', sy-msgid.
        WRITE: / '        Sy-msgno:', sy-msgno.
        WRITE: / '        Sy-msgv1:', sy-msgv1.
        WRITE: / '        Sy-msgv2:', sy-msgv2.
        WRITE: / '        Sy-msgv3:', sy-msgv3.
        WRITE: / '        Sy-msgv4:', sy-msgv4.
        SKIP.
        WRITE: / 'Message:'.
        SKIP.
        WRITE: / sy-msgty, g_message.
    *To find out the error in the legacy data if there is anything and pass
    *the document no with error message to the seperate internal table
    *called it_erfind
        IF sy-msgty = 'E'.
          it_erfind-index = it_price-index.
          it_erfind-er_message = g_message.
          APPEND it_erfind.
        ENDIF.
    *Finally we are segregating the error and downloading the error data.
        AT LAST.
    *To segregate the error
          PERFORM segregate_error.
    *To download the error from it_error internal table with err mesg
          PERFORM error_download.
          PERFORM display_message.
        ENDAT.
      ENDLOOP.
               perform close_group.
      CLEAR it_price.
    ENDFORM.                    "fill_data
    *Subrotine to replace the parameters
    FORM replace_parameters USING p_par_1 p_par_2 p_par_3
                                  p_par_4 CHANGING p_message.
    erst mal pruefen, ob numerierte Parameter verwendet wurden
      DO.
        REPLACE '&1' WITH p_par_1 INTO p_message.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
      ENDDO.
      DO.
        REPLACE '&2' WITH p_par_2 INTO p_message.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
      ENDDO.
      DO.
        REPLACE '&3' WITH p_par_3 INTO p_message.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
      ENDDO.
      DO.
        REPLACE '&4' WITH p_par_4 INTO p_message.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
      ENDDO.
    falls keine numerierten Parameter vorh., ersetzen wie gehabt
      REPLACE '&' WITH p_par_1 INTO p_message.
      CONDENSE p_message.
      IF sy-subrc EQ 0.
        REPLACE '&' WITH p_par_2 INTO p_message.
        CONDENSE p_message.
        IF sy-subrc EQ 0.
          REPLACE '&' WITH p_par_3 INTO p_message.
          CONDENSE p_message.
          IF sy-subrc EQ 0.
            REPLACE '&' WITH p_par_4 INTO p_message.
            CONDENSE p_message.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    "REPLACE_PARAMETERS
    *Subroutine to segregate the error data from the legacy data
    FORM segregate_error.
      LOOP AT it_erfind.
        LOOP AT it_price WHERE index = it_erfind-index.
          MOVE-CORRESPONDING it_price TO it_error.
          it_error-er_message = it_erfind-er_message.
          APPEND it_error.
        ENDLOOP.
      ENDLOOP.
    ENDFORM.                    "segregate_error
    *Subroutine to download the error data from the it_error table.
    FORM error_download.
      IF it_error[] IS NOT INITIAL.
        CALL FUNCTION 'WS_DOWNLOAD'
          EXPORTING
            codepage = 'IBM'
            filename = v_error_filename
            filetype = 'DAT'
          TABLES
            data_tab = it_error.
      ENDIF.
    ENDFORM.                    "error_download
           Start new screen                                              *
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                  *
    FORM bdc_field USING fnam fval.
             IF FVAL <> NODATA.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
             ENDIF.
    ENDFORM.                    "BDC_FIELD
    *&      Form  bdc_transaction
          text
         -->MESSTAB    text
         -->TCODE      text
         -->CTUMODE    text
         -->CUPDATE    text
    FORM bdc_transaction TABLES messtab USING  tcode ctumode cupdate .
      CALL TRANSACTION tcode USING bdcdata
                            MODE   ctumode
                            UPDATE cupdate
                            MESSAGES INTO messtab.
      REFRESH bdcdata.
      CLEAR   bdcdata.
    ENDFORM.                    " bdc_transaction
    Uploading data file to internal table.                           *
    FORM upload_data.
      CALL FUNCTION 'WS_UPLOAD'
          EXPORTING
             filename                      = p_file
                        CODEPAGE                      = 'IBM '
             filetype                      = 'DAT'
          TABLES
              data_tab                      = it_price
          EXCEPTIONS
             conversion_error              = 1
             invalid_table_width           = 2
             invalid_type                  = 3
             no_batch                      = 4
             unknown_error                 = 5
             gui_refuse_filetransfer       = 6
             OTHERS                        = 7.
      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.                    "upload_data
    *&      Form  display_message
    FORM display_message .
      IF it_error[] IS INITIAL.
        MESSAGE i019(zmsg).   "Success
      ELSE.
        MESSAGE e020(zmsg).   "Failed
      ENDIF.
    ENDFORM.                    " display_message
    *&      Form  get_filename
          text
    -->  p1        text
    <--  p2        text
    FORM get_filename .
      CALL FUNCTION 'F4_FILENAME'
       EXPORTING
         program_name        = syst-cprog
         dynpro_number       = syst-dynnr
          FIELD_NAME          = p_file
       IMPORTING
         file_name           = p_file .
      IF sy-subrc NE 0  .
        WRITE : / 'Enter File Name'.
      ENDIF.
    ENDFORM.                    " get_filename
    *&      Form  make_file_name
    FORM make_file_name .
      WRITE sy-datum TO date  MM/DD/YYYY.
      WRITE sy-uzeit TO time  USING EDIT MASK ' __ __ __'.
      CONCATENATE text-002 date time '.txt'
             INTO v_error_filename.
    ENDFORM.                    " make_file_name
    regards
    prabhu

  • Data not Updated in Custom Screen fields-Vendor Master

    Hello,
    I have created a custom screen in vendor master transaction and also implemented the two BADI's below.
    Business Add-In: Processing Master Data Enhancements
    (CUSTOMER_ADD_DATA/VENDOR_ADD_DATA)
    Passed the Custom Program and Screen No in the method GET_TAXI_SCREEN
    Business Add-In: Customer Subscreens
    (CUSTOMER_ADD_DATA_CS/VENDOR_ADD_DATA_CS)
    activate it with the BADI Processing Master Data Enhancements with method CHECK_ADD_ON_ACTIVE.
    I also created a new screen and used few fields from LFA1 (Append structure fields) such that the fields on the screen are : LFA1-ZZFIELD1 etc...
    Now the issue is the screen is displayed, but the data entered on the screen is not updated on the table LFA1 or data from the table is not displayed on the custom screen.
    Am i missing something?
    Regards,
    Shiva

    Solved this problem.
    I built the query against InfoCube and not the characteristic itself. That's why I can't see the update.
    Thanks.

  • Data not updating in table ,data transfered using DTW

    Hi Everybody,
    I had transfered data using DTW, it shows that data imported,but it not updated, that means it not shows in database.
    So please so me any solution to this.
    Regards,
    Srinivas

    Hi suda,
    I am giving he detailes of the BusinessObject
    BusinessObject =oUserLanguages
    template=oUserLanguages.csv
    i had copied the oUserLanguage.csv file and entered data into it and saved it(comma deliminated)
    steps:
    1.i had selected oUserlanguage object from list.
    2.i had selected source file (oUserLanguage.csv )
    3.the data properly matched and data is displayed when source tab is pressed. and ields are properly matched.
    4.three check boxes are checked.
    5.i had seen the message you are sucessfully specified required information for imporing data
    6.in lost step it shows like below
    Total:  2 business object(s)
    2 business object(s) imported successfully
    0 business object(s) not imported
    0 business object(s) updated successfully
    0 business object(s) not updated
    7.in log files status shows succeeded
    But I had cheked the languages , the data imported not shown.
    Regards
    srinivas

Maybe you are looking for