How to know what component call it?

Dear experts!
   I have a problem as following: Both component BT111H_OPPT (opportunity) and BT115H_SLSO (Sales contract) call component GS_CM (Attachments) as a assignment block. In component GS_CM, the attribute FILENAME of context node VDOCUMENT has two set of value, type dropdown list, for example Droplist_01 and Droplist_02. i maintain code in method GET_V_FILENAME to supply dropdown list for attribute FILENAME. If GS_CM in component BT111H_OPPT, the attribute FILENAME only displays Droplist_01, and if GS_CM in component GT115H_SLSO, the attribute FILENAME only displays Droplist_02. So, in method GET_V_FILENAME of attribute FILENAME in component GS_CM, i must limit value depent what component (BT111H_OPPT or BT115H_SLSO) call the component GS_CM. But in method GET_V_FILENAME i do not know what component calls it. So, can i help me resolve this problem.
   Thanks for your concern!
   Longndtb.

Hi,
When the gscm object is created in each of the 2 components (ie opportunity and sales contract),by default an attribute of the GS-CM context node is set with the Bus object type of the calling object.
Bus objects are object nos assigned to each of the one order objects in the backend.
so for eg if the gscm component is called from the BT111H_OPPT,the attribute type_id of the context node CMBUSOBJ(context node in the component controller of the component GS_CM is set with the bus object type of opportunity ie 'BUS2000111'.
and when it is called from the BT115H_SLSO component,the type_id is set with the value 'BUS2000121'.
So in your get v method,read this attribute value of the context node  CMBUSOBJ of the comp controller .
But you cannot directly read the comp contoller attribute in the get_v of ur attribute filename.Creat an atttribute in the VDOCUMENT context node impl class.Now in the Do prepare Output of your view impl(lets say lv_bus_object),set the value of this attribute using something like this:
lr_comp_controller?=me->comp_controller;
ie-> lv_bus_obj= comp_controller->typed_context->CMBUSOBJ->type_id .
if the lv_bus_obj = 'BUS2000111',then calling component is  BT111H_OPPT
and if  lv_bus_obj = 'BUS2000121' then calling comp is BT115H_SLSO
In the get_v_filename ,you can do the coding by readin this attribute directly ie
u can say: if lv_bus_obj= 'BUS2000111 then use this value,else this.
Edited by: suvidha_24 on Oct 1, 2010 1:34 PM

Similar Messages

  • On my G5 mac at work, I am getting - don't know what to call it - looks like extraneous matrix type code around prompt windows and in applications. Sometimes I will get large shapes of colors, yellows, magentas, cyans. Anyone else experience this?

    On my G5 mac at work, I am getting - don't know what to call it - looks like extraneous matrix type code around prompt windows and in applications. Sometimes I will get large shapes of colors, yellows, magentas, cyans. Anyone else experience this?
    I will attach a recent screen shot of a print window I opened and the extra code is above and below the window. There are matrix type blocks of code and then lines under the window. I get this all the time and it is getting worse.
    Any help to get rid of it would be appreciated.
    Thanks
    TatteredSkull

    It's likely the Video card, or possibly heat.
    At the Apple Icon at top left>About this Mac.
    Then click on More Info>Hardware and report this upto *but not including the Serial#*...
    Hardware Overview:
    Machine Name: Power Mac G5 Quad
    Machine Model: PowerMac11,2
    CPU Type: PowerPC G5 (1.1)
    Number Of CPUs: 4
    CPU Speed: 2.5 GHz
    L2 Cache (per CPU): 1 MB
    Memory: 10 GB
    Bus Speed: 1.25 GHz
    Boot ROM Version: 5.2.7f1
    Get Temperature Monitor to see if it's heat related...
    http://www.macupdate.com/info.php/id/12381/temperature-monitor
    iStat Menus...
    http://bjango.com/mac/istatmenus/
    And/or iStat Pro...
    http://www.islayer.com/apps/istatpro/
    If you have any temps in the 70°C/160°F range, that's likely it.

  • How to know what were line item dimensions

    Dear SDN,
    How to know what were made line item dimensions.
    Thankyou.

    Rahul,
    Go to the edit mode of your info cube and then check out your dimensions, there if the line item dimension check box is checked then it means that, that particular dimension is a Line item dimension.
    Regards,
    Gattu

  • HT5457 How I know what model is my iPad ?

    How I know what model is my iPad

    Go to support.apple.com/kb/HT5452
    I hope I helped!!!

  • How to know what are all the Webservices available in P6V7

    Hi All,
    How to know what are the webservices available for integration in P6V7?
    Thanks,
    RR

    Information on Web Services for P6 are available in the Reference Manual that get installed along with P6 Web Service software. you will find the complete list there.
    Sachin

  • How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    To see what reports are running, take a look at the execution log views that are available in the database.  Which views that are available are dependent on your version of SSRS.
    http://technet.microsoft.com/en-us/library/ms159110.aspx
    To see which application is using SSRS is a little more difficult.  You can turn HTTP logging on, which will give you an idea of where connections are coming from, so you can see IP addresses.  You can also look at the execution log view to see
    user accounts.  So, depending on your environment and use of service accounts, this could be easy, or difficult.
    http://technet.microsoft.com/en-us/library/bb630443.aspx
    If all else fails you can look for clues in the SSRS logs.  Good luck...

  • How i know what my collection in adobe ?..

    Hello !
    week ago i buy my first mac
    and the people give me some collection of adobe about 16 software.
    he say it's all the softwares adobe has..
    but theres no after effects that i really need.
    i search in the adobe site the collection of mine..
    i think it's the premium beacuse all the software in the premium i have (just not premier and after effects).
    how i know what my collection ? and how to download after effects if it's the premium collection ?
    thank, tom.

    Hi Helen,
    At the Apple Icon at top left>About this Mac, then click on More Info, then click on Software>Applications.
    Unless you mean the OS version, then the Apple Icon at top left>About this Mac will tell you.

  • How  I know what stored in my iCloud

    How  I know what stored in my iCloud?

    Check Settings>iCloud>Storage & Backup>Manage Storage.  If you want to see the actual data, look in the apps on your device that correspond to the data you are syncing (mail, contacts, calendars, notes, reminders, etc.).

  • How to know what database components have been installed on my database?

    How to know what database components that have been installed on my database using SQL*PLUS tool? (10g 10.2.0)
    Edited by: frank.qian on Nov 8, 2008 10:55 PM

    Hi..
    >
    SQL> select comp_name,comp_id,version,status from dba_registry;
    select comp_name,comp_id,version,status from dba_registry
    The error on the first line:
    ORA-00942:The table or view not exis.
    >
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    sys >desc dba_registry
    Name                                                                                                      Null?    Type
    COMP_ID                                                                                                   NOT NULL VARCHAR2(30)
    COMP_NAME                                                                                                          VARCHAR2(255)
    VERSION                                                                                                            VARCHAR2(30)
    STATUS                                                                                                             VARCHAR2(11)
    MODIFIED                                                                                                           VARCHAR2(20)
    NAMESPACE                                                                                                 NOT NULL VARCHAR2(30)
    CONTROL                                                                                                   NOT NULL VARCHAR2(30)
    SCHEMA                                                                                                    NOT NULL VARCHAR2(30)
    PROCEDURE                                                                                                          VARCHAR2(61)
    STARTUP                                                                                                            VARCHAR2(8)
    PARENT_ID                                                                                                          VARCHAR2(30)
    OTHER_SCHEMAS                                                                                                      VARCHAR2(4000)
    sys >select COMP_ID,COMP_NAME,VERSION,STATUS from dba_registry;
    COMP_ID                        COMP_NAME                      VERSION      STATUS
    CATALOG                        Oracle Database Catalog Views  10.2.0.4.0   VALID
    CATPROC                        Oracle Database Packages and T 10.2.0.4.0   VALID
                                   ypes
    OWM                            Oracle Workspace Manager       10.2.0.4.3   VALID
    JAVAVM                         JServer JAVA Virtual Machine   10.2.0.4.0   VALID
    XML                            Oracle XDK                     10.2.0.4.0   VALID
    CATJAVA                        Oracle Database Java Packages  10.2.0.4.0   VALID
    EXF                            Oracle Expression Filter       10.2.0.4.0   VALID
    ODM                            Oracle Data Mining             10.2.0.4.0   VALID
    CONTEXT                        Oracle Text                    10.2.0.4.0   VALID
    XDB                            Oracle XML Database            10.2.0.4.0   VALID
    RUL                            Oracle Rules Manager           10.2.0.4.0   VALID
    ORDIM                          Oracle interMedia              10.2.0.4.0   VALID
    APS                            OLAP Analytic Workspace        10.2.0.4.0   VALID
    XOQ                            Oracle OLAP API                10.2.0.4.0   VALID
    AMD                            OLAP Catalog                   10.2.0.4.0   VALID
    SDO                            Spatial                        10.2.0.4.0   VALID
    EM                             Oracle Enterprise Manager      10.2.0.4.0   VALID

  • How to know all outgoing calls time?

    how to know all outgoing calls time?
    4S

    It all depends on your carrier whether incoming vs. outgoing times even matter.
    For example, here in the U.S., AT&T doesn't charge any differently whether a call is incoming or outgoing.  The carrier (AT&T) accepts a text code *646# to give you a summary of your call minutes, but they're divided into "Daytime", "Night and Weekend", and "Mobile to Mobile".  Those three types of minutes are billed differently here.

  • C++ How to know what link is clicked on a Balloon tooltip after handle the TTN_LINKCLICK message

    switch (msg) {
    case WM_NOTIFY:
    NMHDR* nmhdr = (LPNMHDR)lparam;
    switch(nmhdr->code) {
    case TTN_LINKCLICK:
    <code>
    return TRUE;
    I'm able to trap the TTN_LINKCLICK notification. However I would like to retrieve the URL text link that was clicked.
    How to know what link is clicked on a Balloon tooltip after handle the TTN_LINKCLICK message ?
    MCunha

    Basically you don't know what link was clicked.  If you need more than one link, you may need to use a different UI element to display it, like a dialog or some sort of other popup window that you have control over.

  • HT1338 how i know what software is in my mac

    how i know what software is in my mac

    Hi Helen,
    At the Apple Icon at top left>About this Mac, then click on More Info, then click on Software>Applications.
    Unless you mean the OS version, then the Apple Icon at top left>About this Mac will tell you.

  • How to know what CBO programs uses transaction codes

    Hello Everyone,
    How to know what CBO programs uses transaction codes?
    Thanks for the help!

    Hi,
    Please clarify your question ....
    for e.g. give program name

  • How to know what are the privs for one custom schema?

    how to know what are the privs for one custom schema?
    please suggest me......

    Hi,
    Check this user_sys_privs
    Cheers
    Pavan Kumar N

  • How to know what applications are currently running !!

    how to know what applications are currently running !!

    if it is in linux use "ps(Process Status)" command to know what is running currently.... for more see this link
    http://www.computerhope.com/unix/ups.htm

Maybe you are looking for

  • DDR NVidia GeForce FX 5200 graphicis card & 30" Mac HD monitor

    I am a new Mac user, having had Dell desktops all my life. Recently, my Dell W1700 monitor/tv crapped out, and (of course) it is just out of warranty. This prompted me to by a Mac Book Pro with a 30" HD monitor (to work with the PC also). MY QUESTION

  • Help with a new install of Adobe Acrobat

    I just had to install Adober Acrobat on a new laptop, and I need to point it to all the forms I was tracking on my old laptop.  How do I go about doing this?

  • How to activate web cam on Satellite C660-C660D?

    I cant get my webcam built in to work on Satellite C660D/C660. Do I need to switch it on or download a driver? Help

  • Itunes Extra purchase wont synch to iphone

    Today I purchased Up via Apple TV. Movies great and appears in itunes on my MBP as an iTunes extra title. Problem is, it wont synch to my iPhone 3GS. Is this something I am doing wrong or do Apple mean to prevent me watching the movie I bought on my

  • Oracle 9i SCM

    Is this possible to merge 2 versions of forms using Oracle 9i SCM. In Oracle 9i SCM , we have a MERGE Options.What is the use of Merge in SCM? Can u pls explain this ? This is an urgent issue.