Property init only on initial load

Here is my problem.
I have events that need to be triggered by the processValueonChange sort of action on checkboxes and radio buttons. In order for these to actually process, I have to have submitOnChange turned on (these components are inside of a table). However, this creates issues with storing the data (since the page is immediatly submitted, any values stored in the page scope are immediatly destroyed. Am I doing this correctly?
Do I really need to "submitOnChange" just to processValueChange of the checkbox components? If so, do I really have to store these results in a "higher scope" to ensure they will be maintained when the page returns?
Since I am dealing with so many tables that control other objects, it seems that I am moving more and more objects out of the page scope and to higher levels. Would the request scope be a valid place to store this information to be used when the page is re-loaded, or do I need to go to the Session level?

Yes, a session bean is how I have been using, but wasn't sure if that was needed (there was a way for a page to hold it's own value).
However, I am a bit confused (unsure) about the scope of beans in a portlet. Does the scope refer to the the portlet itself, or the entire portal? (IE, if I add variables into the application scope, is it for all portlets in the portal, or just the portlet I am deploying the variable into?). Same for Session Beans, are they available to all portlets in the portal session, or just that portlet?
Beacuse of these questions, I have been weary of using beans (at a higher level then page). Thanks for the note.

Similar Messages

  • WAD : Call Javascript Function only on Initial Load

    Hi
    I need to replicate the functionality found in the web template parameter ACTION_BEFORE_FIRST_RENDERING in a Javascript function. I need to to do this in order to read a querystring parameter, and then perform actions based on that querystring parameter.
    Is there a way to either call a function from the ACTION_BEFORE_FIRST_RENDERING command, or how do I call my Javascript function only the 1st time the page is loaded?
    I can call the Javascript function from the body onLoad event, but that results in the function being called every time the page loads, which is not what I want ... I only want the function called the 1st time the page is loaded.
    Cheers,
    Andrew

    Seems you can use this parameter to check :
    sapbi_page.m_requestIdValue
    The first time a page is loaded, that value is 1. Thereafter, it increases. I can therefore put that check in my onLoad function, and call the stuff I need if it is 1, otherwise leave the function.
    Cheers,
    Andrew

  • Sysfail error during initial load

    Got sysfail error. Checked for shortdumps and found this
    MESSAGE_TYPE_X     SAPLCRMO
    'No external system (such as CRM) connected'
    Checked the RFC. Seems ok. Any idea?
    Get the parameters for the RFC conection.
        c_stshd-mass_queue = c_stshd-mass_data.
        PERFORM get_download_params_and_queue
                TABLES t_bapistructures
                USING c_stshd-objname
                      c_stshd-objclass
                      gv_destination
                      gv_rfc_queue
                      gv_server_release
                      i_bapicrmdh2
                      c_stshd-mass_queue
                      c_stshd
                      i_transfer_data
                      i_crmrfcpar
                      e_rfcoltp.
    Set variables
        e_synchronous_call = gv_synchronous_call.
    Raise an error if the destination of the foreign system could not be
    found. (Only during Initial Load, Upload, Compare and Requests).
        IF gt_rfcdest[] IS INITIAL AND
           NOT i_bapicrmdh2-ref_id IS INITIAL.
          MESSAGE x050(c_) WITH
                  'No external system (such as CRM) connected'(007).
        ELSE.
          t_rfcdest[] = gt_rfcdest[].
        ENDIF.

    The  RFC Destination for Replication & Realignment (Clt 000) isn't set because only the root admin has access to clnt000 and he's in vacation. Could that be the problem?

  • Initial Load - AS ABAP - getting only user with a group

    Hi,
    when i start initial load, i just get users with groups. Is that standard?
    Br,
    Philip

    First of all - you'll need to familiarize yourself with the database for effective learning and debugging. I'm talking about the MS-SQL or Oracle-DB where you installed the IC-schema. It often helps me to understand whats going on behind the scenes.
    Secondly - I read some of your posts - I would advise you to install the dispatcher and everything on the server where the DB is hosted - at least as long as you're in development. The MMC can still be on your local pc/laptop, although some things won't work well there (Import, Dispatcher-Status, ...). This'll ease things a lot I suppose.
    About the service-user... SAP delivers a role you can import into PFCG (SAP_BC_SEC_IDM_.SAP-File in misc-folder of installation media). This role should be sufficient for your communication user, is updated every now and then and contains only the necessary permissions. Maybe you'll have to extend it (Z_SAP_) in case you want to read special tables not supported by the SAP framework (e.g. license data).
    I can hardly believe that the current role assigned to your user only has permissions to users with groups != empty
    By now I have no clue why you only see users in IdM with groups assigned in SU01... look up the SQL-table I mentioned if there are more users.
    BR
    Michael

  • Initial Load Setup...Potential Big Problem

    Hi All,
    I think we have a big problem.  I have posted a similiar question before, but answers are confusing to me.  Let me explain our current situation and please comment.
    1. We are loading billing documents, thus using VDITM.
    2. We have 2 number ranges for billing documents.
    3. On R3 we filled the setup tables with the smaller number of billing documents.  Then in BW ran a full load.
    4. The second billing document number range was kicked off in R3 and setup tables filled.
    5. Now, here is where I think there is a problem.  This second and final load from the setup table was setup and ran as a full load on BW.  Shouldn't this have been the Delta Init?
    Please comment on this:
    I believe this second load should be the delta init.  Then after this was done schedule the RMBWV313 job in R3 to run, for us, hourly.  In BW schedule the daily delta to run at night (for us).  Everything is in sync this way.
    My concern is the second setup table load from BW was setup as a Full Load.  After this load is done can we just schedule RMBWV313 in R/3 to run hourly and then schedule the Daily Delta in BW to run later that night.
    Please comment asap...please.
    Appreciate it,
    Mike

    Hi Mike,
    You may be okay!  You can run the Init Delta InfoPackage in BW <i><b>without</b></i> transferring data, and your delta process would then be set up.  If you have the means, check your data in R/3 and verify in BW after a couple of days (couple of delta extracts) to make sure your billing totals match.
    The setup tables are only good for doing your initial load (or full load). 
    Your other solution would be to delete the second full load in BW, fill your setup table with the second range again (to get the new billing data), and then run the Init Delta InfoPackage in BW <i><b>with</b></i> data transfer, and you should be set to go.
    Let us know if you succeed!

  • MacBook Pro (mid 2010) - Slow Startup and Initial Load of Apps after Mavericks Install

    Hello everyone,
    Long time Snow Leopard user here.  I've been absolutely, 100% thrilled with my MBP's performance / speed since mid 2010.  Since installing Mavericks I've noticed two things:
    1. Initial on boot load times seem much slower
    2.  The first time you open an app (Safari, even TextEdit) is far slower than in Snow Leopard.
    Now granted, once the computer has been on for about 5 minutes, and once you've had an application open for 1-2 minutes, than performance is okay once again.  But it seems that quite literally everytime you do "anything" for the first time since the computer has been turned on you run the risk of a spinning beachball and an extended wait.  This simply never happened in Snow Leopard.
    I'm not a computer science major but I do understand that when you do something for the first time since a reboot it will need to load new files into the RAM which takes time.  However, I've been using this computer since 2010 and have never experienced this behavior / speed / delay, etc... something seems fundamentally different.
    For example, even just opening finder, and navigating to the Applications folder results in sluggish behavior the first time.  Also, anytime you first click the top menu bar in an application you run the risk of a beachball.
    It doesn't seem like a failing hard drive because I can read/write large chunks of data one an app is finally loaded.  It's just initially loading the app takes quite literally 10-20 times longer than Snow Leopard.  It seems like perhaps Mavericks itself, the core of the new OS was perhaps installed in a bad sector of the HD, but none of my other files are on bad sectors... if that makes sense.  Again - I'm not a computer science major so I'm largely just making things up
    It also seems as if multitasking and switching between several open apps has seen a decrease in performance.  Could it be that perhaps Mavericks RAM management is superior to Snow Leopard, but only if there is a TON of RAM to go around?  Could it be as simple as Macs with only  4GB installed should not be allowed to even install Mavericks? 
    Does this sound normal for Mavericks considering I have a C2D processor, a non SSD, and only 4GB ram?  I know those specs are "outdated" for 2014, but keep in mind these were the specs that I've always had and with Snow Leoapard I was consistently thrilled with the speed of the computer.
    I suppose my question is: should my strategy be to simply turn the computer on, get a cup of coffee and let everything load and maybe even have my frequently used apps load on startup, etc... and carry on as normal?  Does something seem off?  Should I invest in a new SSD / RAM upgrade?  I know the upgrades couldn't hurt, but the issue is that I was perfectly content until upgrading to Mavericks
    I've tried booting into OS X Recovery mode and using the Disk Utility.  I've tried Safe Mode.  I've included a "EtreCheck" report below.  I'm open to any ideas / suggestions.
    Thanks!!
    Hardware Information:
              MacBook Pro (13-inch, Mid 2010)
              MacBook Pro - model: MacBookPro7,1
              1 2.4 GHz Intel Core 2 Duo CPU: 2 cores
              4 GB RAM
    Video Information:
              NVIDIA GeForce 320M - VRAM: 256 MB
    System Software:
              OS X 10.9.1 (13B42) - Uptime: 0 days 0:10:48
    Disk Information:
              Hitachi HTS545025B9SA02 disk0 : (250.06 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 249.2 GB (228.46 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-898 
    USB Information:
              Apple Inc. Built-in iSight
              Apple, Inc. Keyboard Hub
                        Logitech USB Receiver
                        Apple Inc. Apple Keyboard
              Apple Internal Memory Card Reader
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
              Apple Inc. Apple Internal Keyboard / Trackpad
    FireWire Information:
    Thunderbolt Information:
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
    Launch Agents:
              [System] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
              [System] com.adobe.AdobeCreativeCloud.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
              [not loaded] com.google.keystone.agent.plist 3rd-Party support link
    User Login Items:
              None
    Internet Plug-ins:
              FlashPlayer-10.6: Version: 11.9.900.152 - SDK 10.6 3rd-Party support link
              Flash Player: Version: 11.9.900.152 - SDK 10.6 Outdated! Update
              QuickTime Plugin: Version: 7.7.3
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Outdated! Update
              AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
    Old Applications:
              None
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                   4%          WindowServer
                   1%          EtreCheck
                   0%          mds
                   0%          mds_stores
                   0%          airportd
    Top Processes by Memory:
              111 MB          com.apple.IconServicesAgent
              94 MB          Finder
              57 MB          Dock
              53 MB          SystemUIServer
              53 MB          EtreCheck
    Virtual Memory Information:
              1.64 GB          Free RAM
              1.42 GB          Active RAM
              314 MB          Inactive RAM
              390 MB          Wired RAM
              316 MB          Page-ins
              0 B          Page-outs

    Wish I could be of some help, but I'm having similar issues on my mid 2011 macbook pro with 8 GB ram. It's very frustrating. I haven't worked on a computer this slow since the early 90's. Even simple things like signing in to this site bring up the beach ball for maybe ten seconds. When opening up apps I often have to wait minutes, and often end up force quitting when they hang. I'm using force quit a dozen or more times a day, when it used to be very rare.
    I don't know if it's Mavericks. I installed a new hard drive in November, but the problems really started getting bad since the latest upgrade.
    It's not just opening apps. If I have an app open in the background and switch to it I have similar issues. Watching a simple video is often accompanied by stalls and delays - which is really bad as I'm often using the laptop to edit video. It's become unuseable for work.
    Perhaps the most frustrating is clicking on a link, only to find Safari decides to complete a previous scroll that it had paused. The page jumps down, and sometimes I end up clicking on a link I didn't want. Then I have to wait for THAT spinning beach ball before I can go back to the previous spinning beach ball.
    It can take up to ten minutes to restart. I've tried everything I could find on these pages so far, and nothing has worked.
    I thought maybe it was something I've done (and perhaps it is), but I keep seeing others with similar issues.

  • Initial load failing between identical tables. DEFGEN skewed and fixable?

    Initial load failing between identical tables. DEFGEN skewed and fixable?
    Error seen:
    2013-01-28 15:23:46 WARNING OGG-00869 [SQL error 0 (0x0)][HP][ODBC/MX Driver] DATETIME FIELD OVERFLOW. Incorrect Format or Data. Row: 1 Column: 11.
    Then compared the discard record against a select * on the key column.
    Mapping problem with insert record (target format)...
    **** Comparing Discard contents to Select * display
    ABCHID = 3431100001357760616974974003012 = 3431100001357760616974974003012
    *!!! ABCHSTEPCD = 909129785 <> 9 ???*
    ABCHCREATEDDATE = 2013-01-09 13:43:36 = 2013-01-09 13:43:36
    ABCHMODIFIEDDATE = 2013-01-09 13:43:36 =2013-01-09 13:43:36
    ABCHNRTPUSHED = 0 = 0
    ABCHPRISMRESULTISEVALUATED = 0 = 0
    SABCHPSEUDOTERM = 005340 = 005340
    ABCHTERMID = TERM05 = TERM05
    ABCHTXNSEQNUM = 300911112224 = 300911112224
    ABCHTIMERQSTRECVFROMACQR = 1357799914310 = 1357799914310
    *!!! ABCTHDATE = 1357-61-24 00:43:34 <> 2013-01-09 13:43:34*
    ABCHABCDATETIME = 2013-01-09 13:43:34.310000 = 2013-01-09 13:43:34.310000
    ABCHACCOUNTABCBER =123ABC = 123ABC
    ABCHMESSAGETYPECODE = 1210 = 1210
    ABCHPROCCDETRANTYPE = 00 = 00
    ABCHPROCCDEFROMACCT = 00 = 00
    ABCHPROCCDETOACCT = 00 = 00
    ABCHRESPONSECODE = 00 = 00
    …. <snipped>
    Defgen comes out same when run against either table.
    Also have copied over and tried both outputs from DEFGEN.
    +- Defgen version 2.0, Encoding ISO-8859-1
    * Definitions created/modified 2013-01-28 15:00
    * Field descriptions for each column entry:
    * 1 Name
    * 2 Data Type
    * 3 External Length
    * 4 Fetch Offset
    * 5 Scale
    * 6 Level
    * 7 Null
    * 8 Bump if Odd
    * 9 Internal Length
    * 10 Binary Length
    * 11 Table Length
    * 12 Most Significant DT
    * 13 Least Significant DT
    * 14 High Precision
    * 15 Low Precision
    * 16 Elementary Item
    * 17 Occurs
    * 18 Key Column
    * 19 Sub Data Type
    Database type: SQLMX
    Character set ID: ISO-8859-1
    National character set ID: UTF-16
    Locale: en_EN_US
    Case sensitivity: 14 14 14 14 14 14 14 14 14 14 14 14 11 14 14 14
    Definition for table RT.ABC
    Record length: 1311
    Syskey: 0
    Columns: 106
    ABCHID 64 34 0 0 0 0 0 34 34 34 0 0 32 32 1 0 1 3
    ABCHSTEPCD 132 4 39 0 0 0 0 4 4 4 0 0 0 0 1 0 0 0
    ABCHCREATEDDATE 192 19 46 0 0 0 0 19 19 19 0 5 0 0 1 0 0 0
    ABCHMODIFIEDDATE 192 19 68 0 0 0 0 19 19 19 0 5 0 0 1 0 0 0
    ABCHNRTPUSHED 130 2 90 0 0 0 0 2 2 2 0 0 0 0 1 0 0 0
    ABCHPRISMRESULTISEVALUATED 130 2 95 0 0 0 0 2 2 2 0 0 0 0 1 0 0 0
    ABCHPSEUDOTERM 0 8 100 0 0 0 0 8 8 8 0 0 0 0 1 0 0 0
    ABCTERMID 0 16 111 0 0 0 0 16 16 16 0 0 0 0 1 0 0 0
    ABCHTXNSEQNUM 0 12 130 0 0 0 0 12 12 12 0 0 0 0 1 0 0 0
    ABCHTIMERQSTRECVFROMACQR 64 24 145 0 0 0 0 24 24 24 0 0 22 22 1 0 0 3
    ABCTHDATE 192 19 174 0 0 0 0 19 19 19 0 5 0 0 1 0 0 0
    ABCHABCDATETIME 192 26 196 0 0 1 0 26 26 26 0 6 0 0 1 0 0 0
    ABCHACCOUNTABCER 0 19 225 0 0 1 0 19 19 19 0 0 0 0 1 0 0 0
    ABCHMESSAGETYPECODE 0 4 247 0 0 1 0 4 4 4 0 0 0 0 1 0 0 0
    ABCHPROCCDETRANTYPE 0 2 254 0 0 1 0 2 2 2 0 0 0 0 1 0 0 0
    ABCHPROCCDEFROMACCT 0 2 259 0 0 1 0 2 2 2 0 0 0 0 1 0 0 0
    ABCHPROCCDETOACCT 0 2 264 0 0 1 0 2 2 2 0 0 0 0 1 0 0 0
    ABCHRESPONSECODE 0 5 269 0 0 1 0 5 5 5 0 0 0 0 1 0 0 0
    … <snipped>
    The physical table shows a PACKED REC 1078
    And table invoke is:
    -- Definition of table ABC3.RT.ABC
    -- Definition current Mon Jan 28 18:20:02 2013
    ABCHID NUMERIC(32, 0) NO DEFAULT HEADING '' NOT
    NULL NOT DROPPABLE
    , ABCHSTEPCD INT NO DEFAULT HEADING '' NOT NULL NOT
    DROPPABLE
    , ABCHCREATEDDATE TIMESTAMP(0) NO DEFAULT HEADING '' NOT
    NULL NOT DROPPABLE
    , ABCHMODIFIEDDATE TIMESTAMP(0) NO DEFAULT HEADING '' NOT
    NULL NOT DROPPABLE
    , ABCHNRTPUSHED SMALLINT DEFAULT 0 HEADING '' NOT NULL NOT
    DROPPABLE
    , ABCHPRISMRESULTISEVALUATED SMALLINT DEFAULT 0 HEADING '' NOT NULL NOT
    DROPPABLE
    , ABCHPSEUDOTERM CHAR(8) CHARACTER SET ISO88591 COLLATE
    DEFAULT NO DEFAULT HEADING '' NOT NULL NOT DROPPABLE
    , ABCHTERMID CHAR(16) CHARACTER SET ISO88591 COLLATE
    DEFAULT NO DEFAULT HEADING '' NOT NULL NOT DROPPABLE
    , ABCHTXNSEQNUM CHAR(12) CHARACTER SET ISO88591 COLLATE
    DEFAULT NO DEFAULT HEADING '' NOT NULL NOT DROPPABLE
    , ABCHTIMERQSTRECVFROMACQR NUMERIC(22, 0) NO DEFAULT HEADING '' NOT
    NULL NOT DROPPABLE
    , ABCTHDATE TIMESTAMP(0) NO DEFAULT HEADING '' NOT
    NULL NOT DROPPABLE
    , ABCHABCDATETIME TIMESTAMP(6) DEFAULT NULL HEADING ''
    , ABCHACCOUNTNABCBER CHAR(19) CHARACTER SET ISO88591 COLLATE
    DEFAULT DEFAULT NULL HEADING ''
    , ABCHMESSAGETYPECODE CHAR(4) CHARACTER SET ISO88591 COLLATE
    DEFAULT DEFAULT NULL HEADING ''
    , ABCHPROCCDETRANTYPE CHAR(2) CHARACTER SET ISO88591 COLLATE
    DEFAULT DEFAULT NULL HEADING ''
    , ABCHPROCCDEFROMACCT CHAR(2) CHARACTER SET ISO88591 COLLATE
    DEFAULT DEFAULT NULL HEADING ''
    , ABCHPROCCDETOACCT CHAR(2) CHARACTER SET ISO88591 COLLATE
    DEFAULT DEFAULT NULL HEADING ''
    , ABCHRESPONSECODE CHAR(5) CHARACTER SET ISO88591 COLLATE
    DEFAULT DEFAULT NULL HEADING ''
    …. Snipped
    I suspect that the fields having subtype 3 just before the garbled columns is a clue, but not sure what to replace with or adjust.
    Any and all help mighty appreciated.

    Worthwhile suggestion, just having difficulty applying.
    I will tinker with it more. But still open to more suggestions.
    =-=-=-=-
    Oracle GoldenGate Delivery for SQL/MX
    Version 11.2.1.0.1 14305084
    NonStop H06 on Jul 11 2012 14:11:30
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
    Starting at 2013-01-31 15:19:35
    Operating System Version:
    NONSTOP_KERNEL
    Version 12, Release J06
    Node: abc3
    Machine: NSE-AB
    Process id: 67895711
    Description:
    ** Running with the following parameters **
    2013-01-31 15:19:40 INFO OGG-03035 Operating system character set identified as ISO-8859-1. Locale: en_US_POSIX, LC_ALL:.
    Comment
    Comment
    REPLICAT lodrepx
    ASSUMETARGETDEFS
    Source Context :
    SourceModule : [er.init]
    SourceID : [home/ecloud/sqlmx_mlr14305084/src/app/er/init.cpp]
    SourceFunction : [get_infile_params]
    SourceLine : [2418]
    2013-01-31 15:19:40 ERROR OGG-00184 ASSUMETARGETDEFS is not supported for SQL/MX ODBC replicat.
    2013-01-31 15:19:45 ERROR OGG-01668 PROCESS ABENDING.

  • Connection Refused Error while running AS ABAP Initial Load

    All,
    I've never connected SAP NW IdM to an actual SAP system before, and I feel like I'm missing some obvious step of configuration, but I can't figure out what.
    We are in the process of trying provision user accounts to our SAP ABAP systems. My first step was to try to read all of the existing accounts from the ABAP system:
    Our Basis team created me a Communication user with the proper authorizations (I ensured that the authorizations included in SAP_BC_SEC_IDM_COMMUNICATION)
    I created a repository using the SAP NewWeaver AS ABAP (Specific Application Server) Repository Template (No CUA, No SNC) using that user's credentials
    I then used the Job Wizard and used the job template AS ABAP - Initial Load, specifying my repository above.
    When I run the job I get the following:
    Initializing SAP connection with parameters:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server failed Connect_PM MSHOST=<IPADDRESS>, R3NAME=<SID>, GROUP=PUBLIC LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host <IPADDRESS>, service sapms<SID>) TIME Wed Jun 01 13:54:36 201 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r.cpp LINE 8840 DETAIL NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 1
    Error Init failed
    I'm running SAP NW IdM 7.1 SP5 on Windows Server 2003 with MSSQL 2005. The ABAP server is on a UNIX box with an Oracle 10.2 dB.
    Is there additional configuration that needs to take place on the ABAP side to accept the connection?
    I've tried to find documentation on this, but have been unsuccessful. If someone could point me to the correct documents, or at least point me in the right direction for troubleshooting, it would be greatly appreciated.

    Ankur,
    Looks like the endpoint URL of the webservice is not updated and still pointing to the localhost. Try changing it to http://<ip_addres_of_your_server>:7101..... and see if it works fine then.
    -Arun

  • Initial Load of Business Partner not running

    Dear SAP CRM gurus,
    We have been able to perform initial download of Business Partners from ECC into our CRM system. We have done this many times. We do not know what is wrong, but since last week, we are unable to perform initial download of our Business Partners. When we run initial download using R3AS, there is no BDoc created, there is also no queues on inbound/outbound of both CRM and ECC system. There is also no error. R3AM1 showing initial download complete but only with 1 block. But there is no BDoc created!! All other replication objects are fine, except that BUPA_MAIN we are unable to perform initial download. Delta download is fine as well.
    We have not changed anything on SMOEAC and it is all correct. Entries on CRMSUBTAB and CRMC_BUT_CALL_FU is also correct.
    Please help!!

    Hi,
    When you are downloading CUSTOMER_MAIN through R3AS are u getting any warning or error??
    or r u getting pop up with green light??
    If u are getting any warning or error then go to tcode: smwp. Then go to runtime information
    ->Adapter Status Information>Initial Load Status
    under that check running objects and check customer_main is there or not??
    if found delete that entry and do initial load again.
    Also check outbound queue of R/3 and inbound queue of CRM .
    If then also its not working do request download using r3ar2, r3ar3 and r3ar4 and check whether it is working or not.
    If helpful kindly reward me.
    Thanks & Regards,
    Anirban

  • Initial Load of contract from ISU to CRM

    Hi All,
    We are working on the replication of contract from ISU to CRM.
    We have done all the necessary setting,like assigning default product,running ecrm_generate_everh report etc
    When we are running initial load on SI_CONTRACT,only single BDOC is getting generated which is error free but still it contains no data.
    Since its without an error ,we are not able to figure out whats the error is.
    Regards
    Nikhil

    Hello Nikhill,
    Could you resolve the problem?? I've a similar error, the BDoc is empty. The table everh is filed but the fields contractpos and contarcthead have value '0000000000000000' i think that is the problem. ANd the recport ECRM_CHECK_EVERH say that are misiing contracts.
    Could you help me please!!!
    Thnks!!

  • Initial load of mview on a prebuilt table

    We are using 9i Advanced Replication, materialized views. The situation is, we have a number of tables utilizing FAST or FORCE on PREBUILT TABLE. The master site database is already loaded and the mview logs have been created.
    The initial creation of these materialized views does not result in the population of the prebuilt tables as expected. Only an update of the master site table will trigger a replication.
    Is there a way to trigger a replication event that would provide the initial load on a prebuilt table?

    You will need to set you mv refresh to COMPLETE, refresh your group then set them back to FAST.
    Depending on you data volumes, this might use a lot of rollback since the group is done in a single txn. Also make sure the refresh interval isn't so small that it tries another FULL refresh straight away - before you change them back to FAST.

  • Initial load of inventory level from csv - double datarows in query

    Hello everybody,
    a query result shown in a web browser seems strange to me and I would be very glad, if anyone can give me some advice how to solve the problem. As I do not think that it is related to the query, I posted it into this forum.
    The query refers to an InfoCube for inventory management with a single non-cumulative key figure and two other cumulative key figures for increase and decrease of inventory. The time reference characteristic is 0CALDAY. The initial load has been processed reading from a flat file (CSV), the structure looks like this:
    Product group     XXX
    Day               20040101
    Quantity          1000
    Increase          0
    Decrease          0
    Unit               ST
    The initial load runs fine, the system fills all the record sets into the InfoCube. Unfortunately I do not know how to look at the records written into the cube, because only the cumulative key figures are shown in InfoCube-> Manage-> Contents.
    Well, when executing the query, a really simple one, the result is just strange, because somehow there are now two rows for each product group with different dates, one with the 1st of January, 2004 and the other for the 31st of December, 2003 containing both 1000 units. The sum is 2000.
    It became more confusing, when I loaded the data for increase and decrease: now the quantities and sums      are correct, but the date of the initial load is a few days later than before, the data table in the query does not contain the 1st of January.
    Does anybody know, what I did wrong or where there is information about how to perform an initial load of inventory from csv in a better way?
    Kind regards
    Peter

    Peter,
    Inventory is not that straight forward to evaluate as it is non-cumulative. Basically it means that one KF is derived from one/two other KFs. You cannot see non-cumulative KFs in manage infocube.
    Have you uploaded opening balances separately? If so, your data for 31st of december is explained.
    In non-cumulative cubes, there need not be a posting for a particular day for a record to exist. For e.g. if you have stock as 10 units on 1st and then no posting for 2nd and 3rd and then increase 10 units on 4th, even for 2nd and 3rd, the non-cumulative KF will report as 10 units (stock on 1st rolled forward).
    There is a how to...inventory management document on service market place that explains this quite nicely.
    Cheers
    Aneesh

  • Initial load of small target tables via flashback query?

    A simple question.
    Scenario: I’m currently building a near real time warehouse, streaming some basic facts and dimension tables between two databases. I’m considering building a simple package to "reset" or reinitialize the dimensions an all-round fix for variety of problem scenarios (since they are really small, like 15 000 rows each). The first time I loaded the target tables I utilized data pump with good success, however since streams transforms data on the way a complete reload is somewhat more complex.
    Considered solution: Ill just write a nice flashback query via db-link fetching data from a specific (recent) SCN and then I reinitialize the table on that SCN in streams...
    Is this a good idea? Or is there something obvious like a green and yellow elephant in the gift shop that I overlooked? Why I’m at all worried is because in the manuals this solution is not mention among the supported ways to do the initial load of a target table and I’m thinking there is a reason for this?

    I have a series of streams with some tranformations feeding rather small dimensional tables, I want to make this solution easy to manage even when operations encounter difficult replication issues, so Im developing a PL/SQL package that will:
    1) Stop all streams
    2) Clear all errors
    3) Truncate target tables
    4) Reload them including transformation (using a SELECT AS OF "ANY RECENT SCN" from target to source over dblink)
    5) Using this random recent SCN I will re-instantiate the tables
    6) Start all streams
    As you see datapump even if it works is rather difficult to utilize when you tranform data from A to B, using AS OF I not only get a constant snapshot from the source, I also get the exact SCN for it.
    What do you think? Can I safely use SELECT AS OF SCN instead of datapump with SCN and still get a consisten sollution?
    For the bigger FACT tables im thinking about using the same SELECT AS OF SCN but there with particular recent paritions as targets only and thus not having to reload the whole table.
    Anyways this package would ensure operations that they can recover from any kind of disaster or incomplete recovery on both source and target databases, and just re-instantiate the warehouse within minutes.

  • Initial Load of BUAG_MAIN (Business Agreements) IS-U = CRM

    Hello. We are integrating ISU to SAP CRM 7.0.
    We have been replicating Business Partners between the two systems for a couple of years, and now wish to begin replication the Business Agreements <=> Contract acconts objects (BUAG_MAIN)
    In our development system, in order to successfully process the initial load of BUAG_MAIN, I had to RE-run an inital load of BUPA_MAIN. I am really unconfortable having to do this in our productive systems!
    My question to you experts:
    Is there a way to run an initial load of a dependent object (BUAG_MAIN) without having to re-run an initial load of the parent object? Any suggestions would be greatly appreciated!

    Hello Pratik,
    - There are no dumps in ST22
    - There are no errors in SMW01
    - No. range settings are set as following:
    CRM: Master Data-> Business Agreement-> Define Number Range for Business Agreement:
    No.     From number         To number          Ext.
    01       000100000000       000199999999     X
    02       000200000000       000299999999    
    ERP/IS-U: Financial Accounting (New)-> Contract Accounts Receivable and Payable-> Basic Functions->Contract Accounts->Number Ranges and Contract Account Categories
    No.     From number         To number          Ext.
    01       000100000000       000199999999
    02       000200000000       000299999999     X
    But before inital download we have set all no. ranges to External as prescribed in the set-up and load guide for business agreements and contract accounts.
    (There is just one Business Agreement Class and one contract account category)
    Hope to hear from you soon.
    Kind Regards
    Saima

  • Initial Load of BUPA_MAIN  to GWA_01 does not work

    Hi all
    I have a question concerning the serverside groupware Integration and the initial Load of BUPA_MAIN.
    According to the groupware integration guide, I have to "Transfer Business Partner to Public Contact Directory".
    This is done with transaction R3AS (Object BUPA_Main, Sender=CRM, Receiver=GWA_01 (the mBDOC site)).
    When I want to chose the above options in R3AS I cannot select GWA_01 as receiver site (only CRM or OLTP is offered when I click F4). That means when I chose BUPA_MAIN as object I cannot chose GWA_01 as receiver site (fbut or other objects f.ex. GWA_* I can chose GWA_01 as receiver site).
    I created all subsriptions needed (I had to recreate the publication "ALL Business Partners (MESG)" because it was missing in my system).
    Does anyone have an idea what could be wrong?
    Thanks in advance and Regards
    Marco

    Hi Marco,
    Thank you for the reply.
    The below steps i followed to customize Groupware Adapter. Please correct me if i went Wrong 
         1) Generated Functions and Services for BDoc Types
    2) Generated Replication Services
    3) Generated R/3 Adapter Services
          4) Created Sites for Groupware Adapter
                        Name                                           
         Groupware adapter 01 (mBDoc)             
         Groupware Adapter 02 (sBDoc)                         
          5) Created Subscriptions for the Groupware Adapter
    6) Enabled the Transfer of Business Partners to the Private Contact Folders.
    7) Enabling the Transfer of Attachments from CRM to Groupware
                      TBD
          8) Prepared for Customizing Download
    9) Loading the Customizing Objects to Groupware
           Note : TBD
    10)  Loading Business Partners to Groupware
    Note : TBD
          11) Customizing Activities for Groupware Integration in IMG
    Defined RFC Destination for the MapBox
    Defined Internal SyncPoint Settings
    Delete Timed Out Sessions from Status Table
               Maintained Application Scenarios
               Maintained vCard Properties
               Maintained vCard Sub-Properties
                Maintained  iCalendar Priorities
                Maintained Groupware Adapter Properties
                Maintained General Groupware Settings
                Maintained Groupware Object Selection Fields
                Maintained Groupware Object Selection and Retrieval
                Maintained Groupware Object Master Category List
          12) Application-Specific IMG Views for Groupware Integration
                 Maintained Business Partner Properties
                 Maintained Business Partner Sub-Properties
                 Mapped CRM Business Partner Properties to vCard Properties
                 Mapped iCalendar Priorities and SAP Application Priorities
       Filter Condition for Business Partners Exchange with Groupware
          13) Activity Management -Specific IMG Views for Groupware Integration
    Maped Activity Status to Groupwar
                 Maped Task Status to Groupware               
                 Maped Activity Text Types and Business Partners to Groupware
    All the above steps from 11 to 13,all the default entries were reentered starting with Z,is this ok.
    Please let me now whether the above steps on customizing the Groupware Adapter which i followed are enough or i need to do any additional customization.
    As we are using two sites, let me know how can i define RFC Destination for the MapBox.
    How I can check whether ABAP MAPBOX is having the RFC Connection and it is activated.
    Thanks & Regards
    Pranav

Maybe you are looking for