on 03-15-2005 10:05 AM
Hi all,
I have make a application in Sap Netweaver Developer Studio. I like show a payslip that in the system R/3 is how a char of long 135.
I show this value in a table but isn't more pretty.
How can i show this value more pretty in the webdynpro?
Thanks in advance.
Vicente Zaragoza
Hi vincente,
If you want your ouput just linebyline simillar to table but without any borders then you can just change some properties of table. This will display your data more simillar to form like
Name ID PAY DA
For this you need to change the following properties of table
1) footervisible - false
2)gridMode - node
3)rowSelectable - false
4)selectionMode - none
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you can give me more information about this option.
The problem is that the information that i like get of system R/3 is a payslip.
The structure of payslip is:
PAYSLIP>TEXT_COL>TEXT132>CHAR>132
The bapi that i'm using is BAPI_GET_PAYSLIP.
Reagrds
Vicente
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vicente,
The following code may not be directly helps you but his is the way you store data in to a list
public void wdDoInit()
{
//@@begin wdDoInit()
view_Response r = new view_Response();
String po_ref = r.main();
wdContext.currentContextElement().setPO_Ref(po_ref);
cal = r.getDate();
wdContext.currentContextElement().setDate((cal.get(Calendar.MONTH)1)"/"cal.get(Calendar.DATE)"/"+cal.get(Calendar.YEAR));
List l = r.getItem();
int No_Of_Rows = l.size();
for(int i=0 ; i< No_Of_Rows ; i++)
{
POAsASNType.LineItemsType.ItemType item = (POAsASNType.LineItemsType.ItemType)l.get(i);
IPrivateAdvanceShipView.ILine_ItemsElement table = wdContext.createLine_ItemsElement();
table.setItemCode(item.getItemCode().intValue());
table.setItemDescription(item.getItemDescription());
table.setMaterialNo(item.getMaterialNo());
table.setQuantityRequired(item.getQuantityRequired());
table.setSerialNo(item.getSerialNo().intValue());
wdContext.nodeLine_Items().addElement(table);
}
//@@end
}
Hope this helps you
Regards,
RK
Hi Sathya,
Thanks for your reply.
I like make the second option that you say. But i don't know how through a array and pull the entire data as a whole bunch and show in text view.
How can i make it?
Thanks
Vicente Zaragoza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shubhadip,
Now I achieved show the value of system R/3 in a textView but only i can see the first row of payslip.
How Can i see all the payslip?
Regards,
Vicente
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In SAP I assume you are storing the payslip data in table format with each record containing the data in multiple lines. Then In webdynpro, you can use a table to populate the data in rows similar to that of sap instead of textview. without any border,or else.through a array you can pull the entire data as a whole bunch and show in text view , so option is yours!
Hope this helps
Thanks
Sathya
Hi Shubhadip,
I have proved put a TextView with the value of system R/3 but i can`t show this value.
I have put the "wrapping" property to true of the textView element but i don't show the value.
When i say more pretty i like to say that i like show in another format not in a table.
How can i show?
Regards,
Vicente
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vicente,
didnt understand properly what do you mean when you say its not pretty. Can u elaborate it a bit. Well if the length of the string is longer and in order to display it into one line the table width gets extended beyond permissible limit then you can set the 'wrapping' property to true of that textView element. That will wrap the whole text and show it in multiple lines.
Dont know whether that was the actual problem or not.
Regards,
Shubhadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.