on 06-13-2013 11:06 AM
Hi Experts,
We are working on RFC to web-service scenario.
i imported the RFC in ESR. when i import the data type got changed for the fileds.
For example: i have defined the data types like this in RFC
Field Data type
Join date DATS
NAME CHAR
Perner NUMC
When i import into PI the data type got changed like below
Filed Data type
Join date Date
NAME String
Perner String
Because of this, im not getting the data properly.
When i click on the Date it is showing
Data is coming to PI, but it is not proper. find the attached File for your reference.
Like Perner : 0550 BEGDA_PA00
Please help me to resolve this issue.
Regards
Bhargava krishna
Hi experts,
still im facing the same issue with the RFC dump in ECC as mentioned in the above screen shot. but i can see the data in PI.
Issue it is showing is " Bean function module not found on PI host "
any help will be highly appreciable.
Regards
Bhargava krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhargava,
Please make few checks:
The destination (TCP IP connection) for making this RFC call is working in ECC (SM59). The program ID registered in ECC should be used in the PI RFC sender communication channel and the channel activated.
Check if commit work has been done in the RFC you are using.
Do some dummy changes in RFC adapter and activate it once.
Go through the below link and work with your basis team:
http://howtosap.blogspot.ca/2011/03/create-rfc-tcpip-connection-and.html
seems like a problem with the gateway.
Hope it helps!
Ambrish
Hi Experts,
Im getting dump in SM 58.
i referred below blog: http://scn.sap.com/thread/1621515
also executed the function module, locally, it is not giving any dump. when i execute the program, it is giving dump.
Regards
Bhargava krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhargava,
From the attached file, the value in the field is populated with invalid value.
However, I would suggest, keep it simple. Reassign the value(type begda) to a chars value for input to RFC. Should be fine!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ambrish,
we tried as you said, but no use. it's taking the values from the next field.
find the ABAP pgm below:
REPORT ZBW_RUN_EMPINFO.
DATA: RT_EMP TYPE TABLE OF ZBAPIEMPINFO,
RT_RETURN TYPE TABLE OF BAPIRETURN WITH HEADER LINE.
CALL FUNCTION 'ZBAPI_EMPINFO_DELTA'
EXPORTING
CURDATE = '20130605'"sy-datum
IMPORTING
RETURN = RT_RETURN
TABLES
IT_EMP = RT_EMP[].
IF SY-SUBRC <> 0.
* do error handling here
ELSE.
CALL FUNCTION 'ZHR_EMPINFO' IN BACKGROUND TASK DESTINATION 'ZBAPI_EMPINFO_DELTA'
TABLES
LT_EMP = RT_EMP[].
COMMIT WORK.
ENDIF.
This problem is with PI or ECC?
why it is displaying that error, when i click on the data type after importing the RFC into PI.
Regards
Bhargava krishna
HI Bhargava,
Sometimes when you change an interface the old version is kept in the CPA cache, have you tried to refresh this cache?
Full refresh:
http ://<server>:<port>/CPACache/refresh?mode=full
with PIDIRUSER/XIDIRUSER
Partial refresh:
It's possible to refresh a single object in the cache. Follow this steps:
PI's Main Page -> Administration -> Integration Builder -> Cache Overview -> Single Repository
Object Cache Refresh.
Object Type: your object type.
Regards.
Hi,
Thanks for your reply?
i deleted the old one and created the new one.
i already tried cache refresh.. no success..
Can you please tell me , why the data type is getting change, when we import in PI?
Is there any datatype which is supported by the PI for DATE?
I'm sure it is ABAP issue, right?
Can you able to tell me exactly where is the problem?
Regards
Bhargava krishna
Hi Bhargava,
The file, that you have attached, has the date field BEGDA_PA00 with a data that is not a date. Try to modify the abap RFC a to send the information correctly.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your reply..
we tried by changing the RFC, we modified BEGDA data type as a CHAR. and triggered the data to PI.
but it is taking the next field value that is SNAME value.
if we dont pass any value to the SNAME, then the BEGDA filed value is displaying as empty.
Because of this the entire fields get effected.
Regards
Bhargava krishna
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.