on 01-24-2011 1:59 PM
hi ,
i have scenario where we are having the scenario like dat ..
container id with 10 chars previousl y in sap system
currently from sap they have changed the length to 20 char in sap tablle.
from web dynpro java we have set length 20 char .
scenario: user can enter text from web dynpro view (portal form ) when click on ok it will save in sap table.
example
we are entering text testbyvenkatreddy
click on save
testbyvenk
now i need to display the full 20 char length
can inputs ?
Regards ,
venkat p
Hi Venkat,
1. Did u check in the backend if the value testbyvenkatreddy is getting saved completely or just testbyvenk?
2. Are you accessing the field which has been changed in the SAP backend thru a BAPI?
Because, if a BAPI or RFC is changed in terms of structure or attribute in the backend, u need to re-import the BAPI / RFC again and re-boot your J2EE server, else the new fields will not be added to the WD project. even though you change the field length from 10 to 20, the old length will be taken (which is 10).
Make sure you re-import the RFC model and restart you J2EE engine.
Regards,
Poojith MV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
actually the user can enter the value from portal ie thru web dynpro form
example :
'testbyvenkatreddy'
when user clicks on save .
it will call bapi and update the database the same value will be updated in portal ..
but it is taking only 10 char when we put an external breakpoint in BAPI we observed the input to the bapi is going only 10 char even we have more than 10 char .
From SAP system side they have changed only char length 10 to 20 thts it ...
they didn't changed the filed name or structure only they changed in dataelement ..
is we need reimport the bapi agian or reboot the server ?
wht we need to do exactly we are on support project having lots of bapis in single application ...
regards ,
venkatp
Hi Venkat,
Any change made to the attributes in SAP backend involves, re-importing the BAPI coz the metadata destination will have the information as 10 and not 20. Unless you re-import the BAPI the change is not reflected.
Hence, re-import the BAPI and re-start the server. it will work
Regards,
Poojith MV
we have rebooted the server its workign
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please provide solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Venkat,
What I can understand from your issue, you don't need to define the length of the input field, rather bind the property to an attribute, which takes the calculated length of the input entry. So, the length would vary dynamically.
Hope it resolves your issue.
Cheers!!!
Umang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
its giving only 10 char length ...
whether we need to reboot the portal server .... ?
regards ,
venkat p
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.