on 04-08-2006 5:23 PM
Hello,
I have a problem with caridianalty with context when displaying in alv. If the cardinality is 1..N then its displaying the data in alv. But if cardinality is changed to 0..N then its giving a cardinality error.
what i want to do is if the internal table is empty i should refresh the alv with the no records for the second time. so please let me know if there is any method to bind the alv with empty internal table.
Regards
Anil Kumar K
Hi Anil.....
Hope So Following Link will help-ful for u regarding Model-Binding and Data Binding....
1.http://help.sap.com/saphelp_erp2005/helpdata/en/89/5d3d4d4d28c84eb01c635d95a93e0f/frameset.htm
2.http://help.sap.com/saphelp_erp2005/helpdata/en/8f/db0c533a4e514d9720ed2307a40f84/frameset.htm
3.http://help.sap.com/saphelp_erp2005/helpdata/en/fb/fbb84c20df274aa52a0b0833769057/frameset.htm
Best Regard's
Dheerendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil,As I Think U Getting the Data in Table From Back-End R/3.....Through Model-Binding......As i Tested in My Application.....for changing the Cardinality u must first go to Model Binding of custom controller and change it's cardinality 0...n,then change the cardinality of appropriate IViews..............then it(cardinality)will change and will not give any error..........
Best Regard's
Dheerendra Shukla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dheerendra,
Thanks for your reply. But this did not solve my problem.I am taking a context node cardinality as 0..n
and binding the internal table with this context. it is saying the below error.
The following error text was processed in the system NWS : Zugriff über 'NULL' Objektreferenz nicht möglich.
but it is working fine with 1..n. The data is coming from R/3.
I am not using any custom container i am just using the component controller context and view context.Please let me know what model binding is, i think this same as data binding right.
Regards
Anil Kumar K
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.