Help Needed on Table View Control
Hi Abapers
In Table View Control which property or system variable keeps the user selected row's row id.
Situation is that user enters many records into sales details table view. Table view contains the fields, productid product no qty discount and rate. Suppose user wants to delete one particular record(sales details) from that table view while entering this sales details .here i want to know which is that particular row that the user selected. Table views which property keeps this row no information. i am very glad if you people give me more information abount table View Controls .
With regards
Anoop.
You would have to use the outbound plugs to transfer data from your component to the other component. Here you have a parameter IV_DATA_COLLECTION. Fill the entries you want to fill here.
Check the Sold to Party pop up while creating Quotation for Sales cycle when you log in with SALESPRO.
Regards
Kavindra
Edited by: joshi_kavindra on Nov 23, 2011 5:03 PM
Similar Messages
-
Help needed on table view popup
I have created custom popup(table view) and able to display the data in the same.
I have created the button(BT108H_LEA/LeadOVViewSet) in the toolbar in lead overview screen in web ui and when I clicks the button popup is triggering.
I want to transfer the selected record from popup to products assignment block in the overview.
Please help me how to transfer the data from popup to products.
What I did:
1. I have created the custom view(popup view) and context node in the component BT108H_LEA.
2. Created the new window (pop window)and embed the popup view in the runtime repository.
3. Added in the interface view as pop window.
4. Created Component Usages with the popup window.
5. Triggering the popup when the user clicks the button and populating the data in the popup in DO_PREPARE_OUTPUT method of custom view(popup view).
6. Now I want to transfer the data from popup to products assignment block.
Example: popup data
item product
10 Mat100
If I select row from the above popup how to fill the data in the below component(view).
Products assignment block in the lead.
item product qty UOM description
Thanks,
VenkatYou would have to use the outbound plugs to transfer data from your component to the other component. Here you have a parameter IV_DATA_COLLECTION. Fill the entries you want to fill here.
Check the Sold to Party pop up while creating Quotation for Sales cycle when you log in with SALESPRO.
Regards
Kavindra
Edited by: joshi_kavindra on Nov 23, 2011 5:03 PM -
Help Needed regarding to Table View Control
Hi Abapers
In Table View Control which property or system variable keeps the user selected row's row id.
Situation is that user enters many records into sales details table view. Table view contains the fields, productid product no qty discount and rate. Suppose user wants to delete one particular record(sales details) from that table view while entering this sales details .here i want to know which is that particular row that the user selected. Table views which property keeps this row no information. i am very glad if you people give me more information abount table View Controls .
With regards
Anoop.Hello Anoop,
post your questions in the correct forums and you can hope to get a better answer. This forum as you see is the suggestions and comments forum and not the ABAP forum.
Sameer -
Input field in a table view control
Hi,
I have a table view control, with input field in one of the columns.
That is meant for entering some values.
My problem is when i am entering a 3 input field with value and then by using mouse control i enter say 20th input field with value. After that when i use the directional keys to enter the 21st field, the cursor is not in 21st field, it is somewhere else.
How to correct this problem.
Regards,
VijayalakshmiHi,
Try to use the TABINDEX property of <input>.
Best regards,
Guillaume -
Total sum to be displayed in a table view control ?
Hi,
I am unable to display the total sum of a column in a table view control( using HTMLB ). How should one display the sum of a column ?
THanks in advance,
VaraPrasadHi,
it should work once you are restricting the capacity of the out put port then it should provide that much rows only otherwise its a Bug.
Alternativily you are tellin to disaply using sorting then add a Sort operator to the output port and the display ur output port in down order.
But first option should work just check it again.
On which SP u r working?
Regards,
Govindu -
To display Total sum of a column in a table view control ?
Hi,
I am unable to display the sum of a column in a table view control ( using HTMLB ). How should one display the sum of a column in a table view control ?
Thanks in advance.
Vara.Hi there, do a search in this forum for TableView Iterator. Then check out these weblogs:
/people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators
/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
An Iterator is the way to go for you -
TABLE VIEW CONTROL IN MODULE POOL PROGRAMMING
Hai Friends,
<b>My problem is i design table view control using se51. I entered the data on table view and when i press ENTER button on keyboard the total data is disapears from the screec(i.e table view).
but i do not want this functionality. when i press ENTER button on keyboard that data is must be on the screen only.....................
please tell me how it is possible
</b>Hello,
Fill the data of the table control in PBO event of the screen.
CHeck this sample report:
DEMO_DYNPRO_TABCONT_LOOP
Vasanth -
Table view control problem in screen painter
Hi All,
i am unable to display the contents in the table view control in screen painter....actually i have created two screen one to take input and second to display details on next screen in table view control..but i m nt getting that details...
my second screen PBO/PAI code is
PROCESS BEFORE OUTPUT.
loop at itab with control TCNTRL CURSOR tcntrl-current_line.
MODULE STATUS_0101.
endloop.
PROCESS AFTER INPUT.
loop at itab.
endloop.
MODULE USER_COMMAND_0101.
can anyone solve my problem????????
Thanks,
JayshreeHi,
Use below approch (syntax may not be correct as I have typed it in notepad but use it as guide line)
***In screen flow logic
PROCESS AFTER INPUT.
module cancel at exit-command.
chain.
field: zproject_details-originator,
zproject_details-proj_type.
module check_data on chain-request.
endchain.
module user_command_002.
***In abap code
module cancel input.
leave program.
endmodule.
module check_data input.
if zproject_details-originator is initial.
message exxxx "throw error message here
endif.
if zproject_details-proj_type is initial.
message exxxx "throw error message here
endif.
endmodule.
module user_command_002.
save_ok = ok_code. "good practice to save okcode
clear ok_code.
case save_ok.
when 'save' " using constant for fcode here is better
perform save_data. "make it moduler instead of writing whole code in case statement
enscase.
endmodule.
form save_data.
** do some additional checks if required before saving
update zproject_details from zproject_details. " update database table here from work area contents
endform.
Regards,
Vishal -
WHATS THE USE OF TABLE STRIP CONTROL AND TABLE VIEW CONTROL
WHATS THE USE OF TABLE STRIP CONTROL AND TABLE VIEW CONTROL
Subhash,
You create and distribute a model in BD64. The details of that are stored in this tables.
A model gives you the details of the sender / receiving systems and what are the message types that are getting transferred between these systems.
Regarding the IDOC segments issue, can you explaing how are you triggering the IDOC and which message / idoc type you are dealing with.
Regards,
Ravi
Note :Please mark the helpful answers
Message was edited by: Ravikumar Allampallam -
I need a table/view so I can list current portal users
Is there a table/view that I can use within portal that holds the names of all the portal users ?
That link looks interesting - couldn't get the code in Appendix A to work for some reason. I assume it should be run in the ORASSO schema?
Anyway, I need to get a list of Portal users and their group memberships from PL/SQL.
What is the best way to approach this?
Cheers,
John -
Help needed with tables in iWork pages
Hi,
When I have a table in microsoft word I can fill it with all the content I like and it will run on page to page.
In Pages however, a row (along with the rest of the table below) will split off and start on the next page if threre is too much content.
If the contents runs over a whole page the text will run on into nowhere, so off the page and the subsquent empty cells will start on the next page.
How do I stop this from happening?
ThanksThat is the way tables in Pages works. It doesn't work as in Word. Do you really need using tables? I myself find it a bad habit when using a table for every thing.
-
Help needed! ADF Data Control: Navigation Buttons + Table issue.
Hey all!
We are working on a new application using ADF JSF+EJB 3.0 stack and are experiencing a problem with a simple feature we need to implement.
Scenario:
- Creating a data control for a facade session bean and drag a List returned by one of its methods as table;
- Dragging its corresponding navigation buttons (first, previous, next, last) from the data control onto the page.
Issue:
As we press those buttons, we see the page being submitted but but nothing changes in the table...It keep showing the same records all the time (buit-in range navigation works fine though). However, when we manage to drop the collection as a form (with nav buttons included), everything works fine.
We have inspected pagedefs for both cases and could not identify the difference.
Any help would be much appreciated as we need to address the issue asap..
Thanks in advance,
Gustavo
PS: Sorry for my English! ;)Hey, i have the solve to my problem.
In the definition page of the table page i change the propert Refresh (ifNeeded is his default value) to always of the iterator who im using to the table.But i use Toplink, then i had to change the property "Refresh Identity Map Results" to "enabled", that option is in the options of the named queries on queries in the toplinkmap of the current table who im using to my page.
i hope this will be util for you.
That's all
Dany -
Hi guys,
I am new to dialog programming , I have the following requirement in table control.
I have to be displayed 4 fields in Table control
1. Mara-MATNR (Match code)
2.Mara-BISMT
3. Mara-MATKL
4. Makt-MAKTX
Based on Material number the rest of the fields to be displayed automatically.
If possible send the sample code for the above requirement.
Thanks & Regards
RajHi,
Create a screen and create those fields in that screen with proper data element type.
in the PAI event, create a Module like MODULE_FILL_DATA. and double click on that one, in that module write this code
IF MATNR IS INITIAL.
Write the Error like please enter the material No
ELSE.
Select BISMT MATKL MAKTX into those screen field from MARA where
MARA = Screenfield-MATNR.
ENDIF.
that's it, and when you run the screen enter the material no and press enter, then all the fields will come over there
Regards
Sudheer -
Hello All,
I have the following (simplified slightly as a example)
CREATE VIEW TRACK30.GVITEMASSOCIATE002F AS
SELECT
VATTRIBUTEASSOCIATEZ0000.ATTRIBUTEID AS ATTRIBUTEID,
... lots more columns from vattributeassociate
VISOTOPEZ0001.ISOTOPEID AS ISOTOPEID,
... lots more columns from visotope
FROM
VATTRIBUTEASSOCIATE VATTRIBUTEASSOCIATEZ0000, VISOTOPE VISOTOPEZ0001
WHERE
VATTRIBUTEASSOCIATEZ0000.A54E67=VISOTOPEZ0001.ISOTOPEID
AND VATTRIBUTEASSOCIATEZ0000.ATTRIBUTEISID=47
and
CREATE VIEW TRACK30.GVITEM AS
SELECT
VITEMZ0000.ITEMID AS ITEMID,...
GVITEMASSOCIATE002FZ0005.KEYID AS A553DB,...
FROM
VITEM VITEMZ0000, GVITEMASSOCIATE002F GVITEMASSOCIATE002FZ0005
WHERE
VITEMZ0000.ITEMID=GVITEMASSOCIATE002FZ0005.KEYID(+) AND
(GVITEMASSOCIATE002FZ0005.ATTRIBUTEISID=47 OR GVITEMASSOCIATE002FZ0005.ATTRIBUTEISID IS NULL )
and
CREATE VIEW TRACK30.GVFINAL AS
SELECT
O.*,
I,*,
T,*,
C.*
FROM
CONTENT O, GVITEM I, GVTRANSACTION T, GVCOLLECTION C
WHERE
O.COLLECTIONID=C.COLLECTIONID AND
O.ITEMID=I.ITEMID AND
O.TRANSACTIONID=T.TRANSACTIONID
I'm getting back the numbers of rows I expect from each view and the data is correct at each stage EXCEPT within GVFINAL where the data from GVITEMASSOCIATE002F.VISOTOPE is missing. How could that be? The other data from GVITEMASSOCIATE002F.VATTRIBUTEASSOCIATE is present in GVFINAL. If I query the gvitem view then the data is present for visotope for a particular item but not when querying the gvfinal view?!?!?!?
Anyone know why this is?
Thanks in advance.
Richard (Confused again)Hi, Thanks for the reply.
The names are generated by some code so I don't really mind them being huge. ;-)
I think you've skated over my point. So I'll try and explain a bit better and simplify it a bit more.
within the content table the itemid column contains a list of all the items in their respective containers. Hence every item will be present and since I'm not filtering on containerid nothing would restrict this.
within the gvitem view we have the data for all of the items therefore the counts within content and item grouped by itemid are identical.
Therefore the join of gvitem to content should produce all of the data within gvitem and all of the data within content. (I've removed gvtransaction and gvcollection since they ain't pertinent to the problem).
But, the data from within gvitemassociate which is joined to gvitem is missing from gvfinal. Yet the other information from within gvitem is present.
Maybe an example will help...
simplifying the views down to
CREATE OR REPLACE VIEW GVITEM2 AS
SELECT
VITEMZ0000.ITEMID,
GVITEMASSOCIATE0047Z0005.WHENAT AS A259197,
GVITEMASSOCIATE0047Z0005.HALFLIFEAT
FROM
VITEM VITEMZ0000,
GVITEMASSOCIATE0047 GVITEMASSOCIATE0047Z0005
WHERE
VITEMZ0000.ITEMID=GVITEMASSOCIATE0047Z0005.KEYID(+) AND
(GVITEMASSOCIATE0047Z0005.ATTRIBUTEISID=47 OR GVITEMASSOCIATE0047Z0005.ATTRIBUTEISID IS NULL )
CREATE OR REPLACE VIEW TRACK30.GVFINAL2 AS
SELECT
O.ITEMID,
I.ITEMID AS GVITEMITEMID,
I.A259197,
I.HALFLIFEAT
FROM
CONTENT O, GVITEM2 I
WHERE
O.ITEMID=I.ITEMID
Therefore itemid comes from content, gvitemitemid comes from vitem and the others come from gvitemassociate.
and then doing...
select * from gvitem2 where halflifeat between '18-APR-1910' and '18-APR-1920';
gives
ITEMID A259197 HALFLIFEA
52806 03-JAN-06 18-APR-12
52797 21-DEC-05 18-APR-12
52798 21-DEC-05 18-APR-12
52799 21-DEC-05 18-APR-12
52800 21-DEC-05 18-APR-12
51571 15-DEC-05 18-APR-12
51572 15-DEC-05 18-APR-12
51573 15-DEC-05 18-APR-12
51575 15-DEC-05 18-APR-12
51576 15-DEC-05 18-APR-12
51577 15-DEC-05 18-APR-12
11 rows selected.
and then if I go
select itemid,gvitemitemid,a259197,halflifeat from gvfinal2 where itemid in (52797,52798,52799,52800,52806)
i get
ITEMID GVITEMITEMID A259197 HALFLIFEA
52797 52797
52797 52797
52800 52800
52800 52800
52798 52798
52798 52798
52806 52806
52806 52806
52799 52799
52799 52799
10 rows selected.
So the A259197 and HalfLifeAt columns don't have data within them? yet they did a second ago??!?! e.g. itemid=52797
interestingly if I query via halflifeat then I do get that information but that's no good to me since I need to filter by container in the program.
e.g.
select itemid,gvitemitemid,a259197,halflifeat from gvfinal2 where halflifeat between '18-APR-1910' and '18-APR-1920'
ITEMID GVITEMITEMID A259197 HALFLIFEA
51571 51571 15-DEC-05 18-APR-12
51571 51571 15-DEC-05 18-APR-12
51572 51572 15-DEC-05 18-APR-12
51572 51572 15-DEC-05 18-APR-12
51573 51573 15-DEC-05 18-APR-12
51573 51573 15-DEC-05 18-APR-12
51573 51573 15-DEC-05 18-APR-12
51573 51573 15-DEC-05 18-APR-12
51575 51575 15-DEC-05 18-APR-12
51576 51576 15-DEC-05 18-APR-12
51577 51577 15-DEC-05 18-APR-12
51577 51577 15-DEC-05 18-APR-12
52797 52797 21-DEC-05 18-APR-12
52797 52797 21-DEC-05 18-APR-12
52798 52798 21-DEC-05 18-APR-12
52798 52798 21-DEC-05 18-APR-12
52799 52799 21-DEC-05 18-APR-12
52799 52799 21-DEC-05 18-APR-12
52800 52800 21-DEC-05 18-APR-12
52800 52800 21-DEC-05 18-APR-12
52806 52806 03-JAN-06 18-APR-12
52806 52806 03-JAN-06 18-APR-12
22 rows selected.
It looks like Oracle's joining differently depending on how I filter (Which it obviously would) but is sometimes ignoreing joins when it shouldn't (IMO).
Bizarre or what?
I suspect I'm missing something obvious but for the life of me cannot see it!
Heeeeelllllppppp.
Thanks
Richard -
hi,
i am using a table control to hav the customer information.i need to edit some fields in my table control to change the values and the chaged values should be updated to the database table.how to edit the fields in TC and how the updation can be made.please give me the related infomation regarding the same.
thanks®ards,
shwetha.<b>In PBO
you have something like </b>
loop at itab with control cursor control-current_line
module editable.
endloop.
<b>in the pai like this</b>
loop at itab.
module save.
endloop.
editable should do this
loop at screen.
check screen-name = fieldtobeeditableon the screen.
screen-input = 1.
screen-output = 1.
modify screen.
endloop.
save should do
move fieldname of the screen to work area.
then modify
Maybe you are looking for
-
Submit Button Does Not Work...Purple one and Gray One
Hello, Please Help me. I am creating a form and i wanted to test it first. * Created In Adobe Pro Extended. * Imported Into Adobe LifeCyle. I wanted to test the form before I submitted it for the group. note: somewhere....some
-
Peripherals = fan noise?
i'm going to post this in a couple areas since it doesn't apply to just displays. i have the last revision (D) 12" PB and have been thinking about switching to the macbook for some time. one problem i had with my pb was that the fan came on a lot whe
-
Hi, Purchase Order is created in SAP ECC 6.0 for IS-Retail. This PO has to push to third party, through XI. What is the procedure to do the same in SAP? Which RFC i have to import in XI & other step by steps to complete the same. Regards, Balaji
-
Hi, I've been a Windows user my whole life, although I have used Mac OS a lot at school, and I really like it. Anyways, I'm looking into buying a laptop for video editing, and am loosely looking at these MacBooks. iMovie says it needs 256 MB of RAM.
-
Transport Requets are adding in the PRD buffer
Hi, We are unable to add the request into the PRD buffer (from QA) even when we wanted to add it manually it gives following error (TMS_TP_MAINTAIN_BUFFER). Also the existing requests in the PRD buffer are not imported in the PRD. While importing the