SAP CRM  2007 - How to Access a Table from one view to another via ABAP BSP

Hi experts, I need your help.
I am working in SAP CRM 2007 developing code modifiying views using transaction "BSP_WD_CMPWB" and my problem is the following:
After the "Account Identification" process I go to "Create Case" and click in "Complaints" option in the navigation bar.
Here there are several views involved, like "General data" and "Parties involved"
"General data" belongs to the component "BT126H_CALL" and the name of the view is "SCDetails.htm"
"Parties involved" belongs to the component "BTPARTNER" and the name of the view is "Partner.htm"
The "Partner.htm" view has a table that is displayed using a "<chtmlb:configTable . . . table = "//BTPartner/Table" instruction.
I need to acces the table "//BTPartner/Table" that belongs to "Partner.htm" in the view "SCDetails.htm" and add data into it.
How can I do that ?
Add the data in the view "Partner.htm" itself is very simple, I am using the "EH_ONINSERT" method but I have not idea how to do that from "SCDetails.htm".
Thanks in advance for your help.
Best Regards.
Exequiel.

Hi,
as I understand from your question you would like to add a partner to the complaint document.
The complaint document is a 1Order document and has the root genil node named BTOrder. Using the genil relationships you have to get the BTPartnerSet and then the right Partner Relationship.
You will find a lot of information in the newsgroup on how to do this by doing a search.
But a quick help would be to use the sapgui transaction genil_model_browser, component set ONEORDER and using the tree structure navigate from the BTOrder root node to the Partner set.
Best regards,
Erika

Similar Messages

  • How to access a table from one view in another view via ABAP source code.

    Hi experts, I need your help.
    I am working in SAP CRM 2007 developing code modifiying views using transaction "BSP_WD_CMPWB" and my problem is the following:
    After the "Account Identification" process I go to "Create Case" and click in "Complaints" option in the navigation bar.
    Here there are several views involved, like "General data" and "Parties involved"
    "General data" belongs to the component "BT126H_CALL" and the name of the view is "SCDetails.htm"
    "Parties involved" belongs to the component "BTPARTNER" and the name of the view is "Partner.htm"
    The "Partner.htm" view has a table that is displayed using a "<chtmlb:configTable . . . table = "//BTPartner/Table" instruction.
    I need to acces the table "//BTPartner/Table"  that belongs to "Partner.htm" in the view "SCDetails.htm" and add data into it.
    How can I do that ?
    Add the data in the view "Partner.htm" itself is very simple, I am using the "EH_ONINSERT" method but I have not idea how to do that from "SCDetails.htm".
    Thanks in advance for your help.
    Best Regards.
    Exequiel.

    Hi,
    as I understand from your question you would like to add a partner to the complaint document.
    The complaint document is a 1Order document and has the root genil node named BTOrder. Using the genil relationships you have to get the BTPartnerSet and then the right Partner Relationship.
    You will find a lot of information in the newsgroup on how to do this by doing a search.
    But a quick help would be to use the sapgui transaction genil_model_browser, component set ONEORDER and using the tree structure navigate from the BTOrder root node to the Partner set.
    Best regards,
    Erika

  • How can I send stuff from one iPhone to another via Bluetooth?

    How can I send stuff from one iPhone to another via Bluetooth?

    There are some apps that will let you send photos from one iOS device to another over BT.

  • How to pass field symbol or table from one view to another view in abap web dynpro?

    I am creating an Inbound Outbound ALV report in ABAP Web Dynpro. However at selection-screen I have select options and fetching is done at view2. Problem is we can pass parameter using inbound outbound parameters but how to pass internal table or field-symbols from one view to another view? I made use of Assistance Class too but its not very clear to me. Please give me some example or code to sort this problem out.

    I am creating an Inbound Outbound ALV report in ABAP Web Dynpro. However at selection-screen I have select options and fetching is done at view2. Problem is we can pass parameter using inbound outbound parameters but how to pass internal table or field-symbols from one view to another view? I made use of Assistance Class too but its not very clear to me. Please give me some example or code to sort this problem out.

  • Simple: How to copy a Table from one Database to another?

    I already know how to do it by creating an identical table and then inserting the Data.
    Like so:
    SET IDENTITY_INSERT dByDtMinusC5 ON
    INSERT INTO [DB1]..T1 ([Id], [HbyD] , [K] )
    SELECT [Id], [[HbyD]]] ,[K] FROM [DB2]..T2
    As you can see I need to have T1 in order to copy T2 into DB1. Is there any way that I could auto create T1 and copy T2?
    There are so many forums in sql server Category, I hope I posted in the right one :0 . We need tag system for forums.   

    Hi Bhupinder,
    According to your description, you want to copy a table with Primary keys from one database to another database.
    As per my understanding, I think the best method is use Transfer SQL Server Objects Task in SQL Server Integration Services. The Transfer SQL Server Objects task transfers one or more types of objects in a SQL Server database between instances of SQL Server.
    Server roles, roles, and users from the specified database can be copied, as well as the permissions for the transferred objects. Indexes, Triggers, Full-text indexes, Primary keys, Foreign keys can also be copied.
    To use the Transfer SQL Server Objects Task, we should create a SQL Server Integration Services Project in SQL Server Data Tools, then drag a Transfer SQL Server Objects Task to Control Flow pane. Specify SourceConnection, SourceDatabase, DestinationConnection
    and DestinationDatabase for the Connection, select the table in the ObjectsToCopy category, then change CopyPrimaryKeys to True and the other corresponding properties in the task.
    References:
    Transfer SQL Server Objects Task
    Transfer SQL Server Objects Task in SSIS 2008 R2 With Example
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to copy a table from one system to another system

    Hi all,
            can any one say how to copy table from one system(sys1) to another system(sys2).
    regards,
    nagaraj

    There are many ways.
    1. Use the already existing transaport request number for that table to do the transaport (Active)
    2. Create mannual transport request from SE01 and in the object list enter following
    R3TR -- TABI -- <Table Name>
    And do the transaport.
    3. Ask your basis consultant to do the transaport from oracle layer.
    Thanks,

  • How to access a variable from one program to another (independent)

    Hi,
    My requirement is to use a variable(value) from one program(prog1) to another (prog2). how is it possible.
    Regards
    Arani Bhaskar

    Go for memory id .
    passing on values from one program to another program
    Program1
    EXPORT (variable) TO MEMORY ID 'LOC'.
    Program2
    IMPORT (variable) FROM MEMORY ID 'LOC'.
    LOC is the address , for more press f1 on export in abap editor.

  • How to export the table from one schema to another schema

    Hi,
    I've 2 schemas dev and test db
    And i need to copy one EMP table from DEV to TEST db in windows OS
    Could you please hint me in which schema which statement to be written ...
    Regards
    josh

    Hi,
    I am not sure I got it all. Do you have 2 schemas in 2 different databases or 2 schemas in the same database ?
    If both schemas are in one DB, you can :
    connect dev/***@DB
    grant select on emp to test;
    connect test/***@DB
    insert /*+ append */ into emp select * from dev.emp;
    commit;Or use a create table emp as select * from dev.emp; if empl table does not exist in test schema.
    If both schemas are in different DBs, you can :
    * use exp / imp tools
    * use sqlldr
    * use a database link
    Hope this helps,
    Francois

  • How to move an itab from one view to another??

    Hi,
    Quick. I retrieve a range from select option in one view? How can i move this range table to another view?
    Currently, this is what I am trying,
      ASSIGN RT_CARRID->* TO <FS_CARRID>.
      RANGE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'TEST' ).
      RANGE->BIND_ELEMENTS( <FS_CARRID> ).
    In the contexts of the two view involved and the component controller i have a node 'TEST' with an attribute range that is declared type ref to data.
    No syntax error, but when i read the context node 'TEST' in the other view, the value is initial.
    Thanks for your quick responses and bright ideas!!
    ALI

    Hi Thomas,
    Here's what I did now. Created an assistance class 'ZCL_WD_COMPONENT_ASSISTANCE' derived from 'CL_WD_COMPONENT_ASSISTANCE' with an attribute, 'my_range_table type ref to data'.
    I assign/attach this class 'ZCL_WD_COMPONENT_ASSISTANCE' to the webdynpro component, by inserting it as an attribute in the component controller. As follow:
    <b>ZWD_ASSIST Type Ref To ZCL_WD_COMPONENT_ASSISTANCE</b>
    Now in the view one I insert code.
    <b>  DATA: RT_CARRID TYPE REF TO DATA.
      DATA: ZWD_ASSIST TYPE REF TO ZCL_WD_COMPONENT_ASSISTANCE.
      CREATE OBJECT ZWD_ASSIST.
      ZWD_ASSIST->MY_RANGE_TABLE = RT_CARRID.
    </b>
    In the view 2.
    <b>  DATA: WD_ASSIST TYPE REF TO ZCL_WD_COMPONENT_ASSISTANCE.
      create object wd_assist.
    rt_carrid = wd_assist->my_range_table.
    </b>
    rt_carrid is still initial.
    Please sort out, if I am not doing correctly.
    Thanks.
    Ali

  • How to copy system table from one client to another client

    Hi,
    Currently i am implementing recruitment module in one of the power sector company. I have finished all the configuration in one of the client in development server. I have trasported all the request in Qulaity server so that i can do the testing. When i am running TCode : PBA7 (Direct Data Transfer) i am getting a runtime error with error analysis -
    A SELECT, UPDATE, or DELETE statement contains the invalid table
    name "PB0021".
    I have checked this system table in this client (Quality Server) but this table is not available, but at the same time this table is available in Devepment server client where i can run this transaction.
    Requiring your help on this to resolve this issue. Do i need to copy this system table PB0021 from Development server client to Quality server client? If so then how to do this activity?
    Thanks in advance....
    Regards,
    Milind

    Hi Milind,
    Goto SE01.
    Create a workbench request manually.
    Add the following entry.
    R3TR TABL PB0021.
    Transport the request to quality system.
    Hope this works.
    Best wishes,
    Dilek

  • How to access a variable from one mxml to another mxml?

    I have Vbox having Hbox in turn hbox has some components ...TextInput...
    I m adding this Vbox in another mxml file....iteratively ....
    I need the sum of all the enetered values in the text boxes to be displayed on the textbox in another Mxml ...
    I am taking sum in a variable and want to show tha some in another file...
    How can I get that variable in my resultant mxml??
    TIA

    In this case it is best to use custom events to pass data. Here are some resources:
    http://chikaradev.com/learning/flex3/customevents/StudentsTutoringCustomEvents1.pdf
    http://chikaradev.com/learning/flex3/customevents/CustomEvents3/CustomEvents3.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_3.html
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • How to get attribute values from one view to another

    HI all,
    Thx in Advance..
    I have 2 view like v1,v2.In v1 i used one attribute values from "get single attribute" method.And i need the same values in v2 screen.For this i did in v1 outbound plugs , i mentioned the parameter name . How can i get the same values in  v2.

    Hi chandru ,
    you said you declare the parameters in the Outbound Plug of V1.  now go to view V2 inbound plug Tab and creat one inbound plug
    double click on the plug name .it will navigate you to the event handeler method . Now add the outbound parameter variables in the
    parameters
    For example : V1firing the navigation plug
    a type string " defined in parameter
      wd_this->fire_out_to_view2_plg(
        a =      'ABCD'                           " string
    you can retrive the value freely in v2 inbound event handeler
    a type string " defined in parameter
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `TEXT`
          value =  a )." here you will get the 'ABCD'.
    regards
    Chinnaiya P
    Edited by: chinnaiya pandiyan on Jun 23, 2010 7:12 PM

  • How to copy a file from one PC to another in ABAP program

    Hello Friends,
    I have a requirement where I have to copy a file from a central location ( central servers like
    inblr102 or
    dwdf ) and save it on local PC in ABAP code. Also, while saving it should ask for the path on PC. Can any of you please help me in this?
    Thanks in advance!
    Divya

    Hi,
    Check out this link. This deletes file,  probally you will get some hint to copy.:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/deleting%252bfile%252bfrom%252bwindows
    Thanks,
    Krishna

  • To copy table from one database to another

    hai,
    I will be really pleased if someone can me tell me that how can i copy table from one database to another. I am having two databases.
    Gursimran

    You can Also do
    ++ Create a database link on the TARGET to SOURCE
    CREATE PUBLIC DATABASE LINK <<DBLNK_NAME>> CONNECT TO <<USER>> IDENTIFIED BY <<PASSOWORD>> USING '<<TNS_NAME>>';
    ++ And copy as below
    CREATE TABLE EMP AS SELECT * FROM EMP@DBLNK_NAME;

  • How can I Move data from one column to another in my access table?

    I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
    I understand how to drop a column or add a column, how do I transfer data from one column to another.
    Here is my trial code:
    <cfquery name="qQueryChangeColumnName" datasource="#dsn#">
      ALTER TABLE leaderboard
      UPDATE leaderboard SET  points2 = points3
    </cfquery>
    Unfortunately, I get the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
    How can I transfer my data with the alter table method?

    I looked up the Access SQL reference (which is probably a
    good place to start when having issues with Access SQL), and
    it suggests you probably need a WHERE clause in there.
    I agree the documentation is a good place to start. But you should not need a WHERE clause here.
    Too few parameters. Expected 1.
    If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message..

Maybe you are looking for

  • How to include time in [Today] in workflow email variable

    I want to add the date/time that an item was added to a library in the email body of a workflow email.  I created a variable and set the date value to Current date.  When the email comes though the date is correct, but the time is 12:00:00 a.m.  Why

  • Oracle Aplication Takes long time to open Using SSGD

    hello everybody! We are accessing Web based oracle application through SSGD 4.2. User claming slow performance of application in compare to direct access over web. please let me know if any tunning required ? Details are as follows:- Application Serv

  • RCU-6092:Component Selection validation failed

    hi am in step 5 installing  rcu (custom variable) am having this error RCU-6092:Component Selection validation failed. Please refer to log at C:\oracle\Middleware\rcuHome\rcu\log\logdir.2013-11-08_09-09\rcu.log for details. Value of Custom Variable W

  • Delivery should be raised after payment received only

    hi friends can u give me the solluation how to configure the following scenario the business want to do the delivery after they receive the payment from  the customer plese help me out thanks nitchel Edited by: nitchel vintha on Feb 1, 2008 11:42 AM

  • Networking mac and pc

    Hi, I am attempting to network my mac and upstairs Pc, I can see the pc from the mac, but when I click connect as, I can't log on. They are on the same time capsule network. With the PC connected to the network via Ethernet and the mac wirelessly.