How does 0SOURSYSTEM Souce system Id get filled?

Hi Gang,
How does 0SOURSYSTEM Souce system Id get filled?
I'm trying to recreate some transfer rules which were deleted.
Is there an ABAP program or transfer program to populate this field?
Or do I hard code a value?
Thanks,
John Hawk

Hi,
Yes you need to write code..
INCLUDE rsbctbbp_transfer_r3.
TABLES: srm_proj_contr.
DATA:   l_s_errorlog TYPE rssm_s_errorlog_int,
          l_text TYPE string.
Retrieve source system ID form the source system
CALL FUNCTION 'RSDG_ID_GET_FROM_LOGSYS'
        EXPORTING
          I_SOURCE_SYSTEM = TRAN_STRUCTURE-ORGLOGSY
        IMPORTING
          E_SOURSYSID     = RESULT
        EXCEPTIONS
          ID_NOT_FOUND    = 1.
      IF SY-SUBRC <> 0.
        RETURNCODE = 4.
        message E087(R7) with TRAN_STRUCTURE-ORGLOGSY into l_text.
        move-corresponding syst to l_s_errorlog.
        l_s_errorlog-record = RECORD_NO.
        append l_s_errorlog to g_t_errorlog.
      ENDIF.
    ELSE.
      RESULT = SPACE.
    ENDIF.
  ENDIF.
See
Problem with mapping 0SOURSYSTEM and 0LOGSYS in BI7.
Thanks
Reddy

Similar Messages

  • How does  the Logical System GUID get created

    In R3 table CRMPRLS has a logical GUID for its logical system name.  How does this get created/updated?  Is it created during the initial replication of the data between R3 and CRM?   Why I am wondering is my systems where working ok in my QA environment then something happen to change LSGUID in my CRMPRLS table on R3.  So now my middleware is not working.  I will use notes 588701 and 765018 to fix the problem, but I am trying figure out what caused it before it happens again in my production environment.
    We are doing one thing to mention is that our R3 environment is being setup to talk to 2 different CRMs.  I am wondering if the setup of the second CRM caused the guid to change.  If so what step during the middleware setup of CRM would cause that?
    Thanks.
    Matthew

    HI Matthew,
    We are facing a similar issue. Could you please let us know the activities done to get the issue resolved?
    Did you revert back the changes done as suggested in the Note 588701, if yes can you let me know where the changes has been done and how has it is reverted back?
    Also, in the table CRMPRLS in R/3 we do not see an entry for the external SRM system.
    Please note, for replicating material into SRM we use the CRM Middleware.
    BR// 420

  • How does the adapter specific parameters gets filled up?

    Hello,
    How do I check adapter specific parameters?
    like, I am making the Soap action parameter to dynamically fill in the receiver soap adapter.
    I want to check if the correct (one of the 4 actions) action was filled in action field
    how do I check?
    thanks
    nikhil.

    Hi,
    You need to test the scenario from RWB testing to get the proper results about the dynamic settings for adapter specific parameters.
    Refer
    Accessing Adapter-Specific Attributes through User Defined Function
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
    Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
    Re: Adapter-Specific Message Attributes
    setting adapter specific message attributes
    Thanks
    Swarup

  • [Flex 4.5.1] How does Button's fontSize property gets applied to labelDisplay?

    How does Button's fontSize property gets applied to labelDisplay when lableDisplay's fontSize is not explicitly set. I just tested it it works but I don't know how. I looked through the ButtonBase class but I don't see any code applying the fontSize to the labelDisplay nor I see code in the Label to get parent's fontSize property if not set. Could someone explain to me how this works? I would be very grateful! Thanks !

    Ok I found it, thanks for the heads up. I pretty much get the idea of how things work now
    Could you please take a look at one more probably very simple to you question. I had to customize a button to be able to have 2 lables in it with different fontSize and topPadding in this case. I kinda copied some of the code from ButtonBase + added the styles and some code I needed to make it work.
    Here it is:
    package
        import flash.events.Event;
        import spark.components.Button;
        import spark.components.Label;
        [Style(name="numberFontSize", type="Number", format="Length", inherit="yes", minValue="1.0", maxValue="720.0")]
        [Style(name="numberPaddingTop", type="Number", format="Length", inherit="no", minValue="0.0", maxValue="1000.0")]
        public class DialPadButton extends Button
            public function DialPadButton()
                super();
            private var _numberContent:*;
            [SkinPart(required="false")]
            public var numberLabelDisplay:Label;
            [Bindable("numberContentChange")]
            public function get numberContent():Object
                return _numberContent;
            public function set numberContent(value:Object):void
                _numberContent = value;
                if (numberLabelDisplay)
                    numberLabelDisplay.text = label;
                dispatchEvent(new Event("numberContentChange"));
            public function set numberLabel(value:String):void
                numberContent = value;
            public function get numberLabel():String         
                return (numberContent != null) ? numberContent.toString() : "";
            override protected function partAdded(partName:String, instance:Object):void
                super.partAdded(partName, instance);
                if (instance == numberLabelDisplay)
                    if (_numberContent !== undefined)
                        numberLabelDisplay.text = numberLabel;
                    if(getStyle("numberFontSize"))
                        numberLabelDisplay.setStyle("fontSize", getStyle("numberFontSize"));
                    if(getStyle("numberPaddingTop") || getStyle("numberPaddingTop") == 0)
                        numberLabelDisplay.setStyle("paddingTop", getStyle("numberPaddingTop"));
            override public function styleChanged(styleProp:String):void
                if (!styleProp ||
                    styleProp == "styleName" ||
                    styleProp == "numberFontSize" ||
                    styleProp == "numberPaddingTop")
                    if (numberLabelDisplay){
                        if(getStyle("numberFontSize"))
                            numberLabelDisplay.setStyle("fontSize", getStyle("numberFontSize"));
                        if(getStyle("numberPaddingTop"))
                            numberLabelDisplay.setStyle("paddingTop", getStyle("numberPaddingTop"));
                super.styleChanged(styleProp);
    So here are the questions:
    1) If I am not going to use the styles in css then maybe I should better declare them as variables ?
    2) I don't really understand how does the button gets updated and redrawn when I set Styles or properties like that cause there is nowhere a call to invalidate the display list (at least I couldn't find in the Button and ButtonBase classes) as I read in the Flex docs: Overriding the styleChanged() method
    UPDATE: I forgot that setStyle calls invalidateDisplayList... and I just figured out that when the lable sets the text on the TextBase it calls the invalidates. I answered this one myself
    3) I don't understand why do I have this code (copied from the buttonBase):
    if (!styleProp ||
        styleProp == "styleName" ||
        styleProp == "numberFontSize" ||
        styleProp == "numberPaddingTop")
    instead of just the code below:
    if (styleProp == "numberFontSize" ||
       styleProp == "numberPaddingTop")
    5) I am also not sure why I had to use content and label (again copied from the ButtonBase) when they are basicly the same thing
    Currently with this Custom Component I've made, I am able to put 2 lables in the skin. One is the default. And the other one takes the default values I put on the label itself + uses the two styles numberFontSize and numberTopPadding to change that default values in case they need to be altered.
    Although this works, I am not sure if I did it the best way or why does it work as you can say from my 5 questions
    I hope you or someone who understands this have the time to answer them for me and anyone who reads this Thanks
    Message was edited by: FM_Flame

  • How does the production system take the benefit from user-exits.

    How does the production system take the benefit from user-exits.

    and it is not the production system that benefits. its the company and the people working with SAP that benefits from the user exits which allow SAP to be altered for the company specific situations.

  • How does the PRODUCTION SYSTEM take the benifit from the USER EXITS?

    how does the PRODUCTION SYSTEM take the benifit from the USER EXITS?
    please explain

    and it is not the production system that benefits. its the company and the people working with SAP that benefits from the user exits which allow SAP to be altered for the company specific situations.

  • How Does run-as-identity-principal Get Authenticated?

    Using WLS 6.1, SP1. I've got a Stateful Session EJB that invokes
    methods on another EJB located in another instance of WLS on a
    completely separate machine. I set up the first bean with a run-as
    identity and gave it a run-as-identity-principal that exists on both
    machines. Since I don't see anywhere for me to supply the password
    for the first container to use when logging onto the second container,
    how does that authentication occur? (I'm getting authentication
    errors (specifically, java.lang.SecurityException nested inside
    java.rmi.RemoteException) when the run-as-identity-principal tries to
    execute the remote method.)
    So the question is, how do I authenticate a run-as-identity-principal
    on one machine to a WLS container on another machine? If it's a
    matter of setting up a trust relationship between the two containers,
    how do I do that?
    Thanks.

    It's trust relation ship between containers. All you need is to have same
    system
    password on both the servers.
    -Utpal
    "Edgar" <[email protected]> wrote in message
    news:[email protected]..
    Using WLS 6.1, SP1. I've got a Stateful Session EJB that invokes
    methods on another EJB located in another instance of WLS on a
    completely separate machine. I set up the first bean with a run-as
    identity and gave it a run-as-identity-principal that exists on both
    machines. Since I don't see anywhere for me to supply the password
    for the first container to use when logging onto the second container,
    how does that authentication occur? (I'm getting authentication
    errors (specifically, java.lang.SecurityException nested inside
    java.rmi.RemoteException) when the run-as-identity-principal tries to
    execute the remote method.)
    So the question is, how do I authenticate a run-as-identity-principal
    on one machine to a WLS container on another machine? If it's a
    matter of setting up a trust relationship between the two containers,
    how do I do that?
    Thanks.

  • How to recover database SYSTEM datafile get corrupt ?

    Database is in ARCHIVELOG mode, and the datafile belonging to SYSTEM tablespace gets corrupted. Up to what point can I recover the database ?
    A. Until last commit.
    B. Until the time you perform recovery.
    C. Until the time the datafile got corrupted.
    D. You cannot recover the SYSTEM tablespace and you must be re-create the database.
    and 1 more doubt :
    If redologfiles are not multiplexed and redolog blocks get corrupt in group 2, and archiving stops. All redolog files are filled and database activity is halted.
    DBWR has written everything to disk. What command can be used to proceed further ?
    A. recover logfile block group 2;
    B. alter database drop logfile group 2;
    C. alter database clear logfile group 2;
    D. alter database recover logfile group 2;
    E. alter database clear unarchived lofile group 2;
    Edited by: user642367 on Sep 18, 2008 8:45 PM

    1. A. Since the DB is in archivelog mode, so you can always restore and recover the whole DB including system tablespace datafile till last SCN generated provided the redo record is available in archive/online logfiles.
    2. E. Since only redolog is corrupted so archiver won't proceed and hence a db hang is obvious, So, in order to proceed further you need to clear online (un archived log file) and then db will work as usual. Care should be taken that you must take a full backkup of DB(cold backup wherever feasible) as soon as possible after issuing this command. As now you don't have redo info in archivelog files to recover the db in case of a crash.
    Please go through Oracle 10g DB Administrators guide (available on OTN) for more details.
    Thanks

  • How does the software updates actually get installed?

    Hello,
    Yesterday I followed the steps to perform "To manually deploy the software updates in a software update group" or
    https://technet.microsoft.com/en-us/library/gg712304.aspx.  or pages 12-15.  In a nutshell, I created a Critical Update item with a collection of 3 servers.  When I look
    at the Software Update Group area that lists the members that I created, I do see under the tabs that Deployed=Yes and Download=Yes for the items that I created.    However, this was not installed on any of the servers.   How does
    this actually get installed on the collection servers?  Did I miss a step?   Do the client settings play a role here?  Please advise.
    Thanks for all the help!
    Reez

    Kind of. Yes a software update scan cycle must run (a deployment eval doesn't), but it doesn't wait until the 7 day interval. Simply creating a new deployment in the console will trigger a software update scan cycle on targeted clients:
    http://blog.configmgrftw.com/notes-software-update-scan-cycle/
    For your deployment, did you create a "Required" deployment?
    Have you reviewed software center on the targeted clients?
    Have you check wuahandler.log on the clients.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • How does Siri know what I get "home"?

    So, lets say I want to create a reminder to pick up milk when I get home. How does Siri know where "home" is, or anything else for that matter. Like, say I want to be reminded to bring my laptop in from my car when I get to work. Where do I set "work" or "home" so Siri knows?

    I believe it uses your address book? I just told siri to go home and my address came up from the contact info.

  • How does one intercept System.out.println stream.

    If you want some functionality wherein when you call System.out.println - the stream gets written to System.out AND additionally does something else (e.g. send mail).
    AND
    You do not want to write a new class/method to do so and replace all System.out.println in your source base with this new class/method;
    Then how would you be able to achieve this. Thanks in advance.

    Here is the basic code, you may need to tune performance. I havent compiler or tested it, but it should give you a good idea.
    public class OutputStreamCollection extends OutputStream{
    private OutputStream[] outs = new OutputStream[0];
    public synchronized void addOutputStream(OutputStream argOut) {
    OutputStream[] old = outs;
    outs = new OuputStream[old.length + 1];
    System.arraycopy(old,0,outs,0, old.length);
    outs[outs.length - 1] = argOut;
    public syncrhonized void write(int data) {
    for(int i = 0; i < outs.length; i++) {
    outs.write();
    public synchronized void write(byte[] data, int offset, int length) {
    for(int i = 0; i < outs.length; i++) {
    outs[i].write(data, offset, length);
    nor the following code, will print and log to respective files whatever is going to stdout or stderr
    OutpputStreamCollection out = new OutputStreamCollection();
    out.addOutputStream(System.out);
    out.addOutputStream(new FileOutputStream("stdout.log"));
    System.setOut(out);
    OutpputStreamCollection err = new OutputStreamCollection();
    out.addOutputStream(System.err);
    out.addOutputStream(new FileOutputStream("stderr.log"));
    System.setOut(err);
    you can write adapter classes to process the stream in any way you need, like logging with log4J, or sending mail depending on some crieteria.
    Hope it helps.

  • How does the operating system manage labview vi's

    Background:
    I am using compact field points and low end compact rio's for my projects and I am approaching the RAM limits of my devices.
    I am looking to modify my coding practices to minimize RAM usage.
    I follow the "Labview 101" do's and don't for optimised code but I need more information about how the VI's are handled in memory.
    My background is in embedded C coding where when a function is called the code is run from ROM and uses memory from the stack, releasing it on completion.
    My observations (best quess) from my cFP application is that all vi's are unpacked (decompressed) into RAM (takes 5-10 minutes) and executed is from there.  Each .VI keeps it's memory.
    My application uses quite a lot of code reading configurations at the start, never to be used again.  I am speculating that this resides in RAM until the end of time.
    If this is the case, is there a method to release the unwanted VI from memory.
    To minimise RAM usage I tend to use In Place structures and wire data in and out of VI's using it.
    Attached code snippet show data from an object being passed through a sub .VI.
    I want to be sure that additional RAM isn't being used here,  If so I will need to do the manipulation directly to the object.
    iTm - Senior Systems Engineer
    uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

    tst,
    Thanks for the links.
    The array allocation is a bit of an eye opener, I will think carefully about how I use arrays.
    I have seen the OOP one before, re-reading it was helpful.
    I found a few hints about default data.
    It does illude to once all vi's (not dynamicaly loaded) are loaded into memory and stay there, required or not.
    In the case of dynamic allocation, this makes sense for a transient object, in my case the objects hand aroung, about half of the methods are only called at startup, Squatting on memory without further need.
    I can think of an ugly workaround where a "Read Config" VI is dynamicaly loaded, Hands off it's data to a more permanent object before being dumped.
    I would like to know more about the deallocate memory VI, Does it Dump RAM and Program or just RAM?
    Does it apply to LVOOP Methods?
    iTm - Senior Systems Engineer
    uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

  • How does the fault system work with AppleCare warranty extension?

    I'm an owner of an iPhone 4S on Telus Mobility in Canada and I have two year AppleCare warranty extension that is linked to my phone. I've had my iPhone for over a year now with no issues, so this question is meant for reference if and when I do need to make a claim.
    When I bought my AppleCare, the representative never explained to me how the fault system works, or if and what I pay in the event of a claim, or really anything else related to AppleCare. My friend told me if I pay a certain amount of money during a claim, I can get a new iPhone. Is this true? Are there limitations of the AppleCare?
    Could somebody please explain to me in a fairly decent amount of detail how AppleCare works, how the fault system works, and anything else I would need to know about AppleCare? Thanks.

    Here's the link explaining it:
    http://www.apple.com/support/products/iphone.html
    This would work in the U.S. - I think (but am not sure) it will work in Canada as well.

  • How does a document down load get a zipper and make a new copy?            py i can"t open? i don't even know what the zipper means help

    why does a document get a zipper on it, I downloaded it I don't know why it's "zipped" when I try to open it it make another copy I can't open what is the problem what did I do to cause this?

    Zip is a method of compressing files for archiving, and is often used for downloading large files or installers.
    Double-clicking the Zip file should unzip it, leaving the original file nearby on the dektop (or in whatever folder you downloaded to).
    If the Mac's built-in tool can't open it, obtain Stuffit Expander from http://www.stuffit.com/mac-expander.html  That will open most forms of compressed files.

  • How does it usually take to get the activation email after receiving the invoice receipt?

    Hi all. I'm doing the develop enrollment. I received the invoice receipt 3 days ago, which says apple has received my 99 dollars. But I'm still waiting for the activation email. It should take no more than 24 hours to get the activation email, right? if I click "Program enrollment" in this page(https://developer.apple.com/contact/), safari will tell me there are too many redirects and can't open the link. What should I do, please?

    I got my activation e-mail rather quickly; however, something is wrong with my Developer enrollment (I registered as an individual and it says they are trying to verify my identity to see if I can act on my company's behalf--which does not make sense because I registered as an individual).
    Apple has my $99 too and I also am unable to contact them due to the same redirect problem you are facing.
    I am wondering if there is a recent bug on their site that needs to be addressed (seems like it is getting caught in a loop while trying to verify the device and/or browser).  I have posted a question as well so let's hope this gets resolved soon.
    Not a smooth way to start :-/

Maybe you are looking for

  • Switch from MySQL to MS SQL Server, Query not working

    I'm sure there is a simple setting somewhere for this, but cannot seem to find it and really would appreciate some assistance. Have an application which uses JDBC to connect to a MySQL DB to run the following query without an issue: SELECT * FROM use

  • Some emails, that are on my server, do not appear in my thunderbird listing (or do appear one day and not thereafter), why?

    I seem to be loosing some emails. They may (or may not) appear once in the thunderbird listing, but thereafter they are gone. These, typically are from the same source that have previously been received (ie follow up emails) but, once gone from the l

  • BDLS Conversion error

    Hi All, BDLS conversion job completed successfully but spool shows below tables in red. Table Name                Field Name               Number of Relevant Entries        Number of Converted Entries TBD05                                  RCVSYSTEM 

  • Connecting webservice

    Hi all,         I want to connect webservice to R/3 .Here am getting input from Webservice like "empno" , so that  If I choose SOAP to RFC synchronus ,then how would I get the input which is coming from webservice. Whether I want to use NWDS to perfo

  • Server certificate verification failed: issuer is not trusted

    Tried to sign in to a couple of websites lately and got this message: Server certificate verification failed: issuer is not trusted What is going on and how do you fix?