Code Dilemma

Hello everyone,
                          In ABAP, how do I check to see if a field is null and if it is then fill it in with some value.  I have the following statement however, I am pretty sure this not correct because it seems to overwrite all my dates with current system date.  So If this code runs today it will put in system date for all the records coming in but if I run this code tomorrow it will replace the date with tomorrow's date which is useless.
Select * from /BI0/MProfit_Ctr into table lt_profit_Ctr.
Read table lt_profit_Ctr with key PROFIT_CTR = /BI0/MPROFIT_CTR.
if sy-subrc <> 0 or lt_profit_Ctr-CALDAY IS INITIAL.
RESULT = SY-DATUM.
ENDIF
If a record for a profit center is there but the date is not there it is supposed to put in a current system date for that record but if a profit center is there with a date it MUST not do anything and move on and if profit center is not there then add it with a date.
Please let me know your ideas,
Syed.

sorry actually the statement goes like this
update /BI0/MProfit_Ctr with wa_profit_Ctr transporting calday.
what this statement will do is that when calday is initial for the particular record u have retrieved it will assign the system date to the work area of the retrieved record but then u need to update ur database table back with this data so we use update statement.
but again i'm not sure why are u using read instead of loop at if only one record is getting retrieved use select single.
and
this is the code u posted above
Select * from /BI0/MProfit_Ctr into table lt_profit_Ctr.
Read table lt_profit_Ctr with key PROFIT_CTR = /BI0/MPROFIT_CTR.
if sy-subrc 0 or lt_profit_Ctr-CALDAY IS INITIAL.
RESULT = SY-DATUM.
ENDIF
i have some doubts in this code, please clarify those
Read table lt_profit_Ctr with key PROFIT_CTR = /BI0/MPROFIT_CTR.
whats the thing i have marked in red, i see that its the same as ur table name what condition u r trying to check in read table.
i think it shud go like this.
Select * from /BI0/MProfit_Ctr into table lt_profit_Ctr
where PROFIT_CTR = <some variable having ur profit_ctr>
now loop at and rest of the code is same as above discussion
if u r sure that only one record is going to get retrived then
use
select single * from /BI0/MProfit_Ctr into wa_profit_Ctr
where PROFIT_CTR = <some variable having ur profit_ctr>
then update /BI0/MProfit_Ctr with wa_profit_Ctr.
if i'm wrong then please explain ur requirement for us to help u better.
regards,
kartik
Edited by: kartik tarla on Dec 20, 2008 9:23 AM

Similar Messages

  • Code crashing dilemma

    In the first frame I have this code for my preloader:
    stop();
    addEventListener(Event.ENTER_FRAME, loaderF);
    function loaderF(e:Event):void{
        var toLoad:Number = loaderInfo.bytesTotal;
        var loaded:Number = loaderInfo.bytesLoaded;
        var total:Number = loaded/toLoad;
        if(loaded == toLoad){
            removeEventListener(Event.ENTER_FRAME, loaderF);
            gotoAndStop(2);
        } else {
            preloader_mc.preloaderFill_mc.scaleX = total;
            preloader_mc.percent_txt.text = Math.floor(total*100) + "%";
            preloader_mc.ofBytes_txt.text = loaded + "bytes";
            preloader_mc.totalBytes_txt.text = toLoad + "bytes";
    And it works perfectly, but when I add this code in the second frame it does not: (The code below also works perfectly by itself)
    toggleButton.addEventListener(MouseEvent.MOUSE_OVER, rolloverToggle);
    toggleButton.addEventListener(MouseEvent.MOUSE_OUT, rolloutToggle);
    toggleButton.addEventListener(MouseEvent.CLICK, toggleClick);
    toggleButton.buttonState = "on";
    var song:Sound = new TitleMusic();
    var songChannel:SoundChannel=song.play();
    function rolloverToggle(event:MouseEvent) {
        toggleButton.gotoAndStop(toggleButton.buttonState+" over");
    function rolloutToggle(event:MouseEvent) {
        toggleButton.gotoAndStop(toggleButton.buttonState);
    function toggleClick(event:MouseEvent) {
        if (toggleButton.buttonState == "on") {
            toggleButton.buttonState = "off";
            stopSong();
        } else {
            toggleButton.buttonState = "on";
            startSong();
        toggleButton.gotoAndStop(toggleButton.buttonState+ "over");
    function startSong() {
        songChannel = song.play();
        songChannel.addEventListener(Event.SOUND_COMPLETE, songCompleteHandler);
    function stopSong() {
        songChannel.stop();
    function songCompleteHandler(event:Event) {
        toggleButton.buttonState = "off";
        toggleButton.gotoAndStop(toggleButton.buttonState+" over");
    This is what happens when I combine them: I get no errors, but when I simulate download the screen is white and then the preloader comes in a couple seconds later; and the preloader starts around 80% so you barely have anytime to see it.
    The strangest thing is even when I get rid of the sound AS (The second code) and Simulate Download; it happens permently. Why is this and what can I do to fix this problem?

    I found a tutorial online about external mp3 music; would this be correct:
    // ActionScript 3.0
    var url:String = "http://www.helpexamples.com/flash/sound/song2.mp3";
    var urlRequest:URLRequest = new URLRequest(url);
    var sound:Sound = new Sound();
    sound.load(urlRequest);
    sound.play();
    Is there any way to edit it so I don't have to use a URL? Also is there a way to have make it toggle the sound?

  • Error code -8003 dilemma

    Hi all,
    This error keep coming out whenever im trying to empty my thrash. Anybody out there can find me a solution for it?

    I was having the same issue, but I deleted the incomplete downloads. Then clicked on transfer purchases again and it went through the second time. Good luck!

  • Actual and Plan Versions annual view - Multiple versions per company code

    Good Day,
    Iu2019m creating an FI-CO query with an annual view of both Actuals and Plan Values, which uses period and version as input values. The dilemma is around the plan versions which are hardcoded per company codes (eg. 1 Company Code = versions 501 u2013 512)
    Can anyone suggest a possible solutions as normally there is only one version used for planning but in this instance there are multiple versions per Company Code.
    Currently the report is hardcoded for one Company Code and going forward it should cater for more than one(Company Company* 12 Version)
    Kind Regards

    Remove restriction on comp code. There could be 2 models.
    1. Include comp code, value type and version in the rows. This way you get multiple records for a comp code. One record for actual data and one record each for plan versions. To have this model at the query, the data model in the cube also should be in this way (what we call as the account model), multiple records differentiated into actual/plan by valuetype and different versions by version.
    2. Include comp code in rows. Create selections, one for actuals (restrict with key fig and value type 10, actuals), one for each plan versions (restrict key fig with value type 20, version 501. Create one selection for each version this way). This way we have one record per comp code with diff key fig for actual and plan versions. We call this as key fig model. To have this model at the query, the data model in the cube could be account model or key fig model. If it is key fig model then no need of selections. The key fig could be taken directly from the cube.

  • APEX,PDF's, BI Publisher and SQL Query returning SQL code..

    I don't know if I should be posting this in this Forum or the BI Publisher forum, so I am posting in BOTH forums..
    I love APEX, let me say that first.. And appreciate the support offered here by the group, but am running int a confusing issue when BI Publisher tries to build a report from the above type APEX report..
    Here is my dilemma:
    I have a number of reports that are part of a Oracle package. They return an SQL Query back to a reports region on a page. I am having to deal with the column names returned are col01, col02..
    The issue I have is, when building the Application Level query to download the XML sample from in building RTF layouts in Word, you can not use this code, you MUST use a standard SQL Select.
    I have taken the sql from the function returning sql, and copied into the application query, supplying the required data values for bind variables being used in the query.
    An XML file is produced, and I use this to build the RTF format file that I load back into APEX and try to use it for the PDF rendering of the report. I can view the output as a PDF in the Word add on, but when I try using it with the report, it is returning an empty PDF file.
    Can anyone tell me what error log files on the bi publisher side I can look at to see what error is happening?
    Thank you,
    Tony Miller
    UTMB/EHN
    Title adjusted to allow people to know what I am talking about...
    Message was edited by:
    Tony Miller

    Tony,
    You can find the log as follows:
    - go to http://[yourserver]:[yourport]/em
    - logon to OC4J EM: oc4jadmin/[yourpassword]
    - click on "logs" at the bottom of the page
    - in the hgrid/tree, expand OC4J->home->Application
    xmlpserver
    - click on view log icon
    You can also observe what's going on in BI Publisher
    by going to the command prompt from where you started
    it.
    Or, as a third option, you can locate the file on
    your file system, depending on your setup, the path
    would be something similar to this:
    \oracle\product\10.2.0\bip\j2ee\home\application-deplo
    yments\xmlpserver\application.log
    With that said though, I don't expect you'll find
    much in there that would help with your particular
    problem. I suspect you either get no rows in your XML
    at runtime, due to some session state issues, or your
    XML structure does in fact not match your RTF
    template.
    I'm not quite following your problem description,
    i.e. when did you do what and are you associating
    your report layout with a report query or report
    region. So just some general notes, your query needs
    to be parseable at design-time, when exporting the
    XML, so that you get the XML file with the proper
    column names derived from your query. If you want to
    use your RTF template with a standard report region,
    you must export the XML file first using the advanced
    XML structure option. And of course the column names
    in your report query need to match the column names
    in your report region.
    Perhaps this helps you further diagnose what's going
    on, if you have additional information that could
    help, let me know. And if you could stage this on
    apex.oracle.com, I'd be happy to take a look.
    Regards,
    MarcMarc,
    Thanks for looking at this issue. Below find my remarks to your questions..
    Re: your query needs
    to be parseable at design-time, when exporting the
    XML, so that you get the XML file with the proper
    column names derived from your query.At the start of this process, the query code was a function in a package. The function was returning an SQL select statement, for a report region on a page. I took the select statement, built an application query to build a sample of the xml for BI Publisher desktop (Add-on for Word). The code was producing the usual Col01, Col02.. since at design time that is were the column names.
    When I then took the xml from this and built the rtf for loading into my APEX application.
    When testing the Application Query with this RTF report layout, I am getting PDF's. When using it with the report region sending an xml feed to BI Publisher I am getting nothing back.
    I have since taken the sql code and moved it back into the report region, and set the region to have a type of straight SQL Query. I have even tried to hard-code the parameters I was getting from the page to limit data returned.
    Is it possible to see the xml being produced by the APEX page?
    Re: Stage this on apex.oracle.com.. I would love to, but we would have HIPPA issues if I posted the data on a public website.
    Can I send you the RTF file and the xml file that the application query is creating to see if there something weird about them?
    Thank you,
    Tony Miller
    UTMB/EHN

  • Finder's "Get Info" Creator field not the same as "Creator Code"??

    Can someone explain what the difference is between the "Creator Code" associated with a file, and what the Finder's "Get Info" shows as the "Creator" (in the "More Info" section)?? I have a program that will not process a file unless a specific application has created the file. But if I change the "Creator Code" with a utility like "Type & Creator Changer" from AlphaOmega, the "Get Info" command shows no difference in the "Creator" field of the "Get Info" window.
    What is going on? What is the difference between these two "Creator" pieces of information of a file?
    How can one change what is in the "Get Info" "Creator" field??
    Thanks for your help...
    -Bob

    I don't think what you are talking about is the same as what I asked. I looked at the file that works with HexEdit and there is some other info about "CreatorTool" and "Creator" that in the case of the file that works is set to "ScanSnap Manager" and this is what appears in the "Creator" field of "Get Info" (in the "More Info" part of the GetInfo window). This is what I am guessing the Abbyy FineReader program is looking for to allow it to process the file. Without it it will not convert a PDF image file to a searchable text PDF file. Files that work and don't work can both have the "Open With" set to the same thing, so don't think that this has anything to do with the issue. Both can have the same "CreatorCode" too, so this is not it.
    In fact I just verified that if I change the "Creator" info in a file that works, the FineReader software will not process it. But the problem is that just changing the "Creator" info in a file to "ScanSnap Manager" is not enough. Bummer...
    So my dilemma is I can print a PDF file onto paper, then turn right around and scan it on the ScanSnap scanner and then FineReader will process it. But this is silly to have to print a file I already have the PDF of, let alone kill a few trees for the paper to print it on, in order to do the FindReader processing. Any suggestions??
    So, the question still is, what exactly is the FineReader looking for and how do I change a PDF file to have it so that FineReader will process it??? Is there a utility that will add/edit this other CreatorTool and/or Creator info in the file???
    Thanks...
    -Bob

  • Component to Search AS2 Code

    I am trying to figure out a way to search the code and frames of an FLA and return the results that can be printed or at least displayed some way on screen.
    We have hundreds of Computer Based Training (CBT) Flash movies that need to be updated periodically. Each FLA has several frames which represent separate lessons. My dilemma is that in order to update an acronym, for instance, I'd have to open each FLA and look into each frame. I'd like to automate the process and be able to enter search criteria and then have the component spit out all instances of the acronym (or whatever) and also tell me on which frame each instance exists. To compound the issue external SWFs are loaded into some of the frames.
    Is there a way to do this with a component or maybe jsfl? Is there a way to report which frame the playhead is on when the search criteria is found? Although I think this is impossible, is there a way to jump into an externally loaded SWF and search the frames it contains for the search criteria?
    Any help is greatly appreciated.
    Thanks

    well, here's more of that code.  it's from a jsfl file that finds specific actionscript strings and replaces it with other actionscript.  all timelines that are used or could be used are searched for actionscript:
    var doc = fl.getDocumentDOM();
    var rootTL = doc.getTimeline();
    var checked_mcA = [];
    // *** begin initializations
    // array of replacement arrays.  first term is searched and replaced by 2nd.
    // example:
    //var replacementA = [["new Sound()","new Sound(this)"],[" 'audio/","pathS+'audio/"]];
    var replacementA = [["._x+357","._x+350"]];
    // *** end initializations
    //fl.trace(doc.name);
    findAS(rootTL);
    //findLibrary_mcAS();
    //fl.saveDocumentAs(doc);
    fl.saveDocumentAs(doc);
    function findAS(tl) {
        if(tl==rootTL){
            for (var layerIndex = 0; layerIndex<tl.layers.length; layerIndex++) {
                for (var frameIndex = 0; frameIndex<700; frameIndex++) {
                //for (var frameIndex = 0; frameIndex<tl.layers[layerIndex].frameCount; frameIndex++) {
                    //fl.trace(frameIndex+" : "+tl.layers[layerIndex].frameCount);
                    if(tl.layers[layerIndex].frames[frameIndex]!=undefined&&tl.layers[layerIndex].frames[fram eIndex]!=null){
                        //fl.trace(tl.name+" : "+tl.layers[layerIndex].name+" "+frameIndex);
                        findASinLayerFrame(tl, frameIndex, layerIndex);
        } else {
            for (var layerIndex = 0; layerIndex<tl.layers.length; layerIndex++) {
                for (var frameIndex = 0; frameIndex<tl.layers[layerIndex].frameCount; frameIndex++) {
                    findASinLayerFrame(tl, frameIndex, layerIndex);
                // end frameIndex
            // end layerIndex
    function findASinLayerFrame(tl, frameIndex, layerIndex) {
        //fl.trace(tl.layers[layerIndex].name+" :: "+layerIndex+" ::: "+frameIndex+" "+tl.layers[layerIndex].frames[frameIndex].startFrame);
        if (tl.layers[layerIndex].frames[frameIndex].startFrame == frameIndex) {
            // edit actionscript, if any, attached to this frame/layer.  actionscript only on keyframes (hence, start_frame=frameIndex)
            var as = tl.layers[layerIndex].frames[frameIndex].actionScript;
            if (editNeeded(as)) {
                //fl.trace("frameIndex: "+frameIndex);
                as = editAS(as);
                //fl.trace(tl.name);
            tl.layers[layerIndex].frames[frameIndex].actionScript = as;
            //fl.trace("****");
            // find components/movieclips/buttons that could have actionscript attached to this tl/layer/frame
            //elementA = tl.layers[layerIndex].frames[frameIndex].elements;
            //fl.trace(tl.layers[layerIndex].frames[frameIndex].elements.length);
            for (var eNum = 0; eNum<tl.layers[layerIndex].frames[frameIndex].elements.length; eNum++) {
                if (tl.layers[layerIndex].frames[frameIndex].elements[eNum].elementType == "instance") {
                    libItem = tl.layers[layerIndex].frames[frameIndex].elements[eNum].libraryItem;
                    //fl.trace(tl.layers[layerIndex].frames[frameIndex].elements[eNum].libraryItem.name+" "+tl.layers[layerIndex].frames[frameIndex].elements[eNum].elementType+" "+tl.layers[layerIndex].frames[frameIndex].elements[eNum].libraryItem.itemType)
                    // check for code directly attached to this instance, if button
                    // anything in library derives from Item object.  item objects have itemType property
                    // tl.layers[layerIndex].frames[frameIndex].elements[eNum] is a SymbolInstance and therefore as an actionScript property
                    if (libItem.itemType == "button") {
                        if (editNeeded(tl.layers[layerIndex].frames[frameIndex].elements[eNum].actionScript)) {
                            tl.layers[layerIndex].frames[frameIndex].elements[eNum].actionScript = editAS(tl.layers[layerIndex].frames[frameIndex].elements[eNum].actionScript);
                    // check for code directly attached to this instance, if component
                    if (libItem.itemType == "component") {
                        if (editNeeded(tl.layers[layerIndex].frames[frameIndex].elements[eNum].actionScript)) {
                            tl.layers[layerIndex].frames[frameIndex].elements[eNum].actionScript = editAS(tl.layers[layerIndex].frames[frameIndex].elements[eNum].actionScript);
                    if (libItem.itemType == "movie clip") {
                        // check for code directly attached to this instance, if movieclip
                        if (editNeeded(tl.layers[layerIndex].frames[frameIndex].elements[eNum].actionScript)) {
                            tl.layers[layerIndex].frames[frameIndex].elements[eNum].actionScript = editAS(tl.layers[layerIndex].frames[frameIndex].elements[eNum].actionScript);
                        // and then check if this is a movieclip that has code on its timeline  
                        // or other movieclips/buttons on its timeline etc
                        // linked library items checked from findLibrary_mcAS.  relative path difficult because library items may be attached to any timeline
                        // and in fact, the same library item may be attached to different timelines and have different relative paths
                        if (!memberOfA(checked_mcA, libItem)) {
                            //fl.trace("libItem "+libItem.name);
                            checked_mcA.push(libItem);
                            findAS(libItem.timeline);
                    //end itemType = "movie clip"
                // end if-elementyType=="instance"
            //end eNum loop
        // end if-startFrame
    function findLibrary_mcAS(){
        libraryItemsA = doc.library.items;
        for (var libItemNum = 0; libItemNum<libraryItemsA.length; libItemNum++) {
            libraryItem = libraryItemsA[libItemNum];
            if (libraryItem.linkageExportForAS && !memberOfA(checked_mcA,libraryItem) && libraryItem.itemType == "movie clip") {
                checked_mcA.push(libraryItem);
                findAS(libraryItem.timeline);
    function editAS(as){
        for(var rIndex=0;rIndex<replacementA.length;rIndex++){
            as = as.split(replacementA[rIndex][0]).join(replacementA[rIndex][1]);
        return as;
    function editNeeded(as){
        if(as==undefined||as==null){
            return false;
        } else {
            if(as.length>0){
                for(var rIndex=0;rIndex<replacementA.length;rIndex++){
                    if(as.indexOf(replacementA[rIndex][0])>-1 && as.indexOf    (replacementA[rIndex][1])==-1){
                        return true;
                // as defined, as.length>0, no replacement strings found
                return false;
            } else {
                // as defined,as.length==0
                return false;
    function memberOfA(a,e){
        for(i=0;i<a.length;i++){
            if(a[i]==e){
                return true;
        return false;

  • Fluid grid for Wordpress: insert PHP code into DW or DW code into Wordpress?

    This may be a stupid question but it's a dilemma for me. Here's the problem. I want to create a mobile first, fluid grid Wordpress website in Dreamweaver CS6 based on an existing Wordpress theme. I can see two ways of doing that:
    1) Create a fluid grid layout in DW, then insert the Wordpress PHP code into the right places in DW
    Pro: the fluid grid layout is set up by DW and therefore can be easily edited with DW (I imagine)
    Con: It is beyond my coding skills to make a fully functional WP template
    2) Take an existing responsive Wordpress template with media queries and edit that in Dreamweaver
    Pro: I start with a fully functional WP template and only have to make changes (mostly in CSS) to customise it
    Con: When I start with an existing template (like Skeleton) I run into trouble using DW
    For example: I click a navigation button to get at the CSS but it's not clear to me from DW's interface in which media query I have to make changes. I did a tutorial on creating a fluid grid layout with DW so I can do that. But DW doesn't work the same way with an existing WP template like Skeleton. I searched the web but all I can find is help on creating a fluid layout with DW, not editing an existing one.
    By the way, I am experienced with HTML/CSS but not PHP and I have a local Wordpress server running on my Mac so I can work in Dreamweaver's Live View.
    The problem may be that I am only just starting with responsive web design and need some more experience with media queries, css rules and DW CS6. Could anyone comment on this problem or point me towards more information on the subject?
    TIA!

    You can certainly use DW to customize a 3rd party WP Theme.  However, you must be throughly familliar with how WordPress Themes work and have a good working knowledge of  HTML, CSS and PHP code.  Design View will not be much help to you. 
    WP Themes are a sum of their various parts:  header.php, footer,php, sidebar.php, page.php, index.php, archive.php, etc...  The web server parses code from the various parts and creates whole pages on the fly.  Once WP is deployed on your server, you cannot use DW to edit content.  You must use the WP Admin Panel (CMS) to manage content, Themes, plugins and backup data.
    For simple static sites, the FluidGrid Layout feature in DW is a nice starting point.  But these layouts have definite  limitations which, IMO would not be a good fit with WordPress.
    Nancy O.

  • Same code; different response

    I am using an extremely simple script that I've used at least
    a half dozen times on different projects and it has always worked
    before. Spent hours re-pasting code, trying variations and this
    stupid thing won't work. There's an iTunes gift certificate for the
    first person that helps me solve this insane dilemma. Here's the
    code:
    menu buttons:
    on(release) {
    _root.link=1;
    _root.play();
    Main timeline rolls and encounters this script:
    label="m" + _root.link;
    gotoAndPlay(label);
    So in this case it should jump to frame label "m1"
    but the code is just ignored.
    As I mentioned, I have this working in about 6 different
    projects and it always functions. I have copied and pasted the code
    over and over, trying to find the bug. Completely lost.

    I tried quickly adding
    _root
    to
    _root.gotoAndPlay(label)
    And it works fine! Amazing how I never needed that before and
    all of the other files still function. Chalk it up to bugs in the
    software I guess. Seen enough with this dodgy program over the
    years!

  • HP 15g000 (15gt) laptop administrator/power on password needed. Error code after 3 tries= 88816924

    Hi:  My friend bought a laptop and after a couple of months it immediately asks for the Administrator password or Power On password.  They bought it from "fingerhut" who says they will do nothing.  They have not even completed paying for it yet.I have removed all batteries, even the one supplying the CMOS.  It then says it will reset the CMOS to default, but it then still is asking for the password. Is there a password or utility to fix this? thanks. 

    Hi: Please read this post which should resolve your dilemma. http://h30434.www3.hp.com/t5/Notebook-Operating-Sy​​​​​​​​​​​​​​​​​​​​​​stems-and-Software/System-Hal​... Then... You can: 1. Use the unlock code you generated to enter the BIOS
    2. Disable all passwords that are enabled in the BIOS's security menu.
    3. If asked for current password - type the unlock code
    4. For new password, just press ENTER key
    5. Repeat the same for verify password column.

  • Posting time across company codes

    I have a question around timesheets accross different company codes. My example is:
    Company A wins the work with the external customer, who they will invoice and recognise the revenue for using RA. They are unable to complete the work so purchase the service of an employee within Company B. Normally this would mean raising a PO from Company A to Company B. The employee (who has a HR record within company B), then raises a Project & SO within company B and posts his time to it. He then invocies Company A.
    It would be very easy just to then service receipt the PO in company A, and post the invocie from company B. However we want to be able to action this via timesheets. The only solution we can come up with is to have the employee in company B to also have an external HR record in company A. This will then allow him to also enter time in the Company A project, and using CATM create the SES on the PO.
    However this means the employee is keying in 2 timesheet records. We can eliminate the records by the employee number range, but sometimes an entry could be missed.
    So how do others cross book accross company codes with timesheets. Bear in mind Company A wants to recognise all the Revenue for their project, and company B will also want to see the time postings in their company code.
    Any ideas?

    Okay, clear on your comment, and appreciate that.This comment fascinates me though, "In the scenario the project will consist of top level WBS billing element linked to sales order with customer and then another WBS belonging to the supplying company code in the lower hierarchy linked to sales order to the internal customer". In order to get RRICB to be read correctly in DP93 taking into consideration proper set up of DIP profile, etc. you need to have account assignment "E' in play. This prevents the use of a WBS on the contract and subsequently the sales order. Your suggested model is very different from what SAP documentation suggests for ECC 6.0. Again, not questioning you, just interested to know more as I have spent a lot of time recently modeling things in our sandbox environment, and have poured over the documentation many times.
    My conclusion at this point is RRICB works, and works well. BUT, there are limitations in terms of how things are accounted for at the end of the day. If the gap between the business requirement and the system standard doesn't cut it, not much you can do - really the essence of OSS NOTE 1341136.
    I am equally confused at item 6 (SAP documentation, not me). Further confusion in the fact you are suggesting the creation of a WBS at lower level, and SAP documentation suggesting there is no need for a project in this relationship. I have the suggested model in the link I posted previously working in our sandbox environment and admittedly I like what I see, just running into issues as the level of accounting that plays out in the scenario doesn't meet our the business requirement.
    We spent a lot of time trying to resolve our profit center dilemma via EXIT_SAPLV46H_001, but couldn't get it to take. Our code was successful in deriving what we were looking for, but seemed to get trumped later on in the process.
    Useful notes on the collective process I found ...
    352261      VA01: Error message KI100
    815972      PCA substitution for cross-company-code sale
    916973      Part PCtr incorr in interco bill before ext billing
    1410850    DP93: Service order on selection screen leads to VPK1 310
    1341136    RRICB, classic FI, new G/L, CO and PCA
    643838      Billing between company codes: Expense Reports and so on.
    Any further insights are welcomed.
    Thanks again,
    Jason

  • Re: Invalid MAC Code?

    I am having the same problem (switching my broadband from o2 to BT and being issued an invalid mac code) and i am getting nowhere fast.  My broadband with o2 worked very well for well over a year.  The wireless router was good enough to let me son play his xbox live in his room and for various mobile phones to get internet connections.  Then without warning o2 did an upgrade and my router stopped working.  I was sent what they called a better router - it wasn't.  Kept disconnecting and there was no signal throughout the house.  I complained and they sent me a second better version and again the same problems.
    I then decided to move to BT who assured me there router was much better.  And so the nightmare began.
    o2 issued a mac code for the broadband and BT said it was invalid because there was something incomptable.
    Went back to o2 and they insisted mac code was valid.
    Returned to BT and again I was advised that mac code was invalid.
    Back to o2 then BT then o2 then Bt then o2 then BT etc... etc..
    Decided to contact Ofcom and they advised me the responsibility lay with o2 and that I should ask to speak to a manger.  I did try however getting to a manger seems to be almost impossible.  I was promised by o2 that they would send me another mac code and the advisor did admit they were having technical difficulties!!!
    Still waiting ........

    Hi, 
    I have had what I beleive to be a similar problem with my present ISP Talk Talk, I wish to move to BT Infinity and having placed the order,was asked to request a Mac Code from TT which they duly provided.
    This is where the fun begins !!
    Promptly fed the Mac Code into the required online form - not recognised ! tried again and again - same result ! .
    Contacted BT help and they explained that I would need to be on BT Broad Band before I could upgrade to Fibre,to which I accepted that may be the case.I then mentioned about the problematic Mac Code to which the CSrep took down the code and said he would then ring me on my mobile the following day with regard to instructions about Fibre Optics order and mac code problem. This he did but unfortunately the same problem with the mac code occurred.
    So am now in the dilemma of being in between two ISPs albeit still connected to TT I would like to have been in a more positive situation with BT

  • Better code or better maintenance

    A question of semantics.
    I am working on an application for a client. The application is deployed in the field using access as the DB, and in the office using SQL as the db. The code already exists.
    I have been tasked with making an improvement in the application. Simply put the section that I am dealing with makes a copy of large amounts of data, mapping new primary keys with newly created records etc.
    My dilemma and question. I feel that the SQL version should implement a mostly SQL solution, using the power of the DB to do the work. This would make this section of the application have to be maintained in two places though as the Access version would likely use a java based solution as it does now.
    What do the experts think? Should I split the code or should I improve the java based solution?
    I have to update the java based solution anyway so doing the SQL work would be extra work up front. The payoff would be in the performace of the SQL version.
    Thanks for thoughts.

    My first thought is that there's little point in having a DB if you don't use it properly.
    However, it's also a bad idea to branch the code.
    The ideal solution would be to add a layer of abstraction in between the DB and the business logic such that both solutions look the same from the business layer. That kind of design is lot easier to implement from the beginning.

  • Error Code 37 running labview 6 with windows XP

    I've checked most of the posts concerning this Generic error code 37. Here is my dilemma..Currently running Labview 6 on a windows NT system. That computer is on its last legs and we want to upgrade to XP...I installed labview 6 on an XP machine and the program runs fine..and I actually get data from my external device except I get the ERROR 37...The big thing is I cannot run a SUBVI that creates a linear fit because once I get the error 37, the SUBVI stops. I can't understand how I can read data from my external device, yet get the device not found msg. I've even tried installing LV 7, and LV 8 yet get the same results.
    Solved!
    Go to Solution.

    Thanks for the information...Unfortunately I tried all the suggestions and still no luck. The weird thing is I can get individual data from the analog device to output from the VI (i get actual data to show where it is supposed to show in the output boxes), yet I still get the "ERROR 37" message. The one big problem is that I cannot standardize the device through the LV program and therefore the individual data is not calibrated properly. In the standardize VI, the programs runs through a series of samples, and creates a calibration curve. Then when we run individual analyses the calibration curve is used. The problem that occurs in the standardize VI is that the program doesn't advance past the first sample (error 37)so I cannot generate the calibration curve.
    All of the suggestions are greatly aprreciated. What I really do not understand is that without changing anything (just copying files from one computer to another) how the error code comes about. One thing I am going to try over the weekend is to add another COMM port and see what happens.
    This may seem ignorant, but How do you "CLOSE" a COMM port???

  • Adobe product dilemma!

    Hey everyone,
    So im having an issue with some Adobe products. And I know that this really has nothing to do with Apple, but im on a Macbook Pro and I figured you guys would be just as knowledgeable! So I appreciate all the advice you can give,
    I am a newly declared Illustration and Digital Media major in school. The issue is, last September I purchased Adobe Design Standard CS6 for my Mac from Amazon. This comes with Photoshop, Illustrator, and In Design among others, which I use in my illustration based classes all the time. Now though, im discovering that I need more programs for the Digital Media side of my major. Specifically After Effects and Premiere Pro. Im only now discovering that there is Production Premium which comes with those two programs, PLUS the ones I already own, PLUS others. Had I known this from the start I would have just payed the extra $150. Being a college kid, and living the "starving artist" lifestyle means that I am truly broke. So therefore really I cannot afford to pay the $600 dollars again for PP (And would I really want to? I already own half of the suite anyway!) And I can't buy them individually, because those costs are just in a whole other world of stupidity. I refuse to upgrade to Creative Cloud, because that in its own way is the definition of idiotic.
    So ideally, I guess I would want to get rid of the copy I have of DS, and purchase PP. The problem with THAT though is that I bought the digital version AND its Student /Teacher Edition. (I believe I already know the ending of this ordeal, I just want your take on it!) Maybe wishful thinking but does anyone have any experience with returning digital software to Amazon? Selling my serial codes, are out of the question right, being that its a Student/Teacher edition?
    On the other side of the coin, my only other option, like I said, is to just purchase PP. So with that being said, can anyone give me some insight on whether or not this is the right choice? (Like I said I already own half of the suite with DS.) I believe the only difference between the PP and DS versions of Photoshop is that one is Extended, What are the differences?)
    So thats my dilemma. Is there hope for me, or should I just resign in defeat?
    Seriously though, thank you for all your help! Its extremely appreciated.

    Have you called Adobe and asked if there's an upgrade path?

Maybe you are looking for

  • Error -50 when trying to share with media browser?

    I'm attempting to burn a dvd in idvd for the first time. When I click media browser under share in imovie 08, I'm fist told that there's missing media. A source clip is not available. Although I hear it (audio) in both the project and in the source m

  • Filling PDF Form with XML data file

    Hello everybody. I need help. I created a form with LiveCycle Designer. I filled it and generated a XML data files. Now, I would like to fill the same blank PDF form with this XML data file. I know that I can do it with Adobe 8.0 but I must do it in

  • Create an email merge with Acrobat XI

    How do I create an email merge (secure and insecure) with Adobe Acrobat XI professional?

  • HT201317 I can't find my more recent photo stream photos on my laptop

    In a bit of a pickle with my iCloud.......in our house we use an ipad, old ipod touch, I have an iphone 4s, husband has an iphone 5, and now another 5s just added .  Got them all set up (I believe) to share photo stream....set it up on the laptop and

  • Print Center / Printer Setup Utility missing

    My refurb iMac had its entire logic board replaced several weeks ago. Since then I have not been able to use my Epson Stylus Photo R280 printer. Turns out that somehow my utilities called Print Center and also Printer Setup Utility have disappeared f