on 11-02-2007 6:10 AM
Hi All,
While working with JDBCXIRFC, the only error with Reciever RFC Adapter is as
follows.
*************
ZBAPICUSTOMER_DETAILS: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declaration(2)
*****************
In SXMB_MONI, the messages are queued up.
How to debug this error?
Regards
Pavan
You must have declared some message type for JDBC. Just add XML Namespace in message type. Also reimport RFC structure in IR and Activate the RFC communication channel too.
I hope you are missing XML Namespace in message type.
-Gouri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
NOw i have added XML name as RFC's namespace (urn:sap-com:document:sap:rfc:functions) in message types.
Now in the comminication channel monitoring, the sender JDBC is not having any errors with green light.
The reciever RFC Adapter is showing as "Error in Update" in place of Green light (Status).
The short log for this RFC Adapter is displayed as follows...
********
Receiver channel 'rfc_reciever_cc' for party '', service 'TR2' (internal name 'RfcClient[rfc_reciever_cc]')
Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=800, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=IBABAP, jco.client.sysnr=00, jco.client.ashost=172.16.9.19}
Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=800, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=IBABAP, jco.client.sysnr=00, jco.client.ashost=172.16.9.19}
Current pool size: 0, maximum pool size : 4
What it means?
I am not getting any errors in Ques...
All messages are scheduled and displaying Green flag.
In SMQ2, if i enter the que name and execute,
i am getting following lines..
Cl. Queue Name Entries Status Date 1 Time 1 NxtDate NxtTim Sender ID
001 XBTI0003 1.039 SYSFAIL 23.10.2020 16:23:33 02.11.2020 13:21:16 ibxi_IXI_00
What might be the error?
Regards
Pavan
I have entered the latest Queue name in SMQ2 and unlocked and Refreshed.
Still its showing SYSFAIL as Status.
When i double clicked the Queue Name, i found series of lines in qRFC Monitor.
the first line is displaying its status Text as " XI restart in qRFC not allowed".
The rest lines are displaying status Text as " Transaction recorded".
When i refresh casche using url "http://ibxi:50000/CPACache/refresh?mode=full", the page will display the following message...
CPA cache refresh (mode=full) successfully executed in 7641 milliseconds.
Any idea?
Regards
Pavan
Double click on " XI restart in qRFC not allowed". You will get the actual error message. (Red flag message in SXMB_MONI).
Repeat this for all queues and not only for latest queues.
Let me know the error when u double click on " XI restart in qRFC not allowed".
Try taking JAVA engine restart.
-Gouri
When i am double clicking the " XI restart in qRFC not allowed", i m getting red flag with error " System Error - Manual Restart Possible".
When i double click on this flag, i m getting Informative message Box with text " Error while refreshing the XI runtime cache".
Error catagory: XICACHE
Error ID: update
Now what to do....???
Regards
Pavan
I have a Sender Data type sender_dt.
sender_dt
Row (1...n)
zkunnr (1..n)
zname1 (1...n)
zadrnr (1..n)
zsrtas (1...n)
ztelf1 (1...n)
the scenario is as follows..
sql >sender JDBC->XI->Reciever RFC->SAP R/3
<b>1. Now what should be the reciever Data type?</b>
(Please tell me the structure of data type.)
The inbound interface wil be based on sender data type and sender message type.
The outbound interface will be the Z-RFC (BAPI) which is imported from SAP R/3.
<b>2. In message mapping, how the mapping should be defined?</b>
(Is it going to be a mapping between sender dataa type and reciever data type or sender data type and ZBAPI)
3. If the mapping has to be betn sender data type and ZBAPI, how the 'ROW' of sender_dt has to be mapped to Zbapi?
Z-BAPI is used to update the SAP ztable.
sender data type:
->Row
-
> zkunnr element xsd:string 1: unbounded
-
> zname1 element xsd:string 1: unbounded
-
> zstras element xsd:string 1: unbounded
-
> zadrnr element xsd:string 1: unbounded
-
> ztelf1 element xsd:string 1: unbounded
The BAPI structure is as follows...
zbapicustomer_details
-->iadrnr 1:1 xsd:string
-->icustomer 1:1 xsd:string
-->iname 1:1 xsd:string
-->istrs 1:1 xsd:string
-->itel 1:1 xsd:string
No i have mapped as follows...
Row----
>zbapicustomer_details
zkunnr----
>icustomer
zname----
>iname
zadrnr----
>iadrnr
zstras----
>istrs
ztelf1----->itelf1
Mapping is OK.. But Duplicate entries can not be tested. because if i input Duplicate entries, the target message type does not showing duplicate entries in testing.
Is it the reason behind Mapping error????
If so, how to overcome this issue?
Regards
Pavan
sender data type:
<b>sender_mt 1:1
->Row element 1:unbounded</b>
-
> zkunnr element xsd:string 1: unbounded
-
> zname1 element xsd:string 1: unbounded
-
> zstras element xsd:string 1: unbounded
-
> zadrnr element xsd:string 1: unbounded
-
> ztelf1 element xsd:string 1: unbounded
The BAPI structure is as follows...
<b>zbapicustomer_details 1:1</b>-->iadrnr 1:1 xsd:string
-->icustomer 1:1 xsd:string
-->iname 1:1 xsd:string
-->istrs 1:1 xsd:string
-->itel 1:1 xsd:string
No i have mapped as follows...
Row----
>zbapicustomer_details
zkunnr----
>icustomer
zname----
>iname
zadrnr----
>iadrnr
zstras----
>istrs
ztelf1----->itelf1
Kindly check out the BOLD letters of above mentioned info.
Hope it may throw some light on this issue.
With this mapping, in Integration Directory->Tools->test Configuration, i am getting error at interface determination with the error log as follows..
java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_sender_mm_:
Can any one help me out....???
Regards
Pavan
--->If i take the payload from SXMB-MONI and test in message mapping, its showing "java.lang.NullPointerException" error.
My first question is your scenario running end to end...?If not then what type of error you are getting..and where..(in moniRWB)
Let me know the error in SXMB_MONI on running the scenario..(if exists) ?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error in SXMB_MONI is as follows...
com.sap.aii.utilxi.misc.api.BaseRuntimeException
thrown during application mapping
com/sap/xi/tf/_sender_mm_: RuntimeException in
Message-Mapping transformatio~
The error message is displaying RED flag.
Error catagory: MAPPING
Error ID: Exception_during_mapping
Pavan tell me the mapping test result ...from IR only
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But in SXMB_MONI, the messages are in red flag with error as Mapping error.
The payload of such messages have been tested in message mapping.
In message mapping, i m facing error as " java.lang.NullPointerException".
The installed java web start is 1.4.2-13.
Now, i would like to know, whether to change the version of this java web start...??
If YES, what should be the correct version?
<b>--> not required...</b>
If the error java.lang.NullPointerException is not associated with the Java web start version, then what needs to be checked...???
Any idea...???
<b>1 .Check the occurrences parameter in data type ...
2. What about the mapping test when you directly create the payload from message mapping and test it...( i mean to say when you don't copy and paste the payload from SXMB_MONI)...?</b>
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santosh,
If i test my message mapping in IR, the mapping results with no warnings/errors.
I have even tested the Duplicate entries (Multiple entries) in message mapping.
The result is perfect.
The required data mapping can be seen in the target structure (ZBAPI) as desired. With the same set of data, i have tested the BAPI in R/3 environment.
The BAPI performs well and desired table gets updated.
I have taken payload (multiple entries) from message mapping and tested in Runtime>integration engine->test message. The result was OK and table gets updated.
But the messages coming from JDBC are now showing red flag and mapping error as error message. If i take the payload from SXMB-MONI and test in message mapping, its showing "java.lang.NullPointerException" error.
Pavan,
Test the RFC Destination...INTEGRATION_DIRECTORY_HMI
<b>You should get a EMPTY +ve Response.....Issue is with cache refresh i can say...</b>
Please let me know the configuration of your XI box( Ram and Hard disk capacity)..It seems to be problem with hardware also..
<b>Cache is not getting refreshed as frequently as it should...</b>..
go to RWB and refresh Full CPA Cache
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In my SQLJDBCXIRFCSAP scenario,
i am facing error in mapping.
The Adapters are perfectly working and the integration test is OK (Runtime>Integration Engine>test message). In this case, sap table is getting updated with the given payload.
But in SXMB_MONI, the messages are in red flag with error as Mapping error.
The payload of such messages have been tested in message mapping.
In message mapping, i m facing error as " <b>java.lang.NullPointerException</b>".
The installed java web start is 1.4.2-13.
Now, i would like to know, whether to change the version of this java web start...??
If YES, what should be the correct version?
If the error java.lang.NullPointerException is not associated with the Java web start version, then what needs to be checked...???
Any idea...???
Regards
Pavan
1. Map all the mandatory fields..
I have mapped all the mandatory fields. If i enter same kind of values in the same fields of BAPI manually (in se37), the table gets updated.
<b>how you can say that data is getting into the right tables...when you are sending the same data..</b>...may be the data is old only..
<b>Perform the Message Mapping and Interface Mapping test in IR only...</b>
3. Kindly check the Sender_MM Mapping once more...If it is fine...reactivate and Update the cache..
Its fine and reactivated and even updated cache.
Now one doubt....
In Message mapping, the sender mesage type is as follows.
sender_mt 1:1
->Row element 1:unbounded
-
> zkunnr element xsd:string 1: unbounded
-
> zname1 element xsd:string 1: unbounded
-
> zstras element xsd:string 1: unbounded
-
> zadrnr element xsd:string 1: unbounded
-
> ztelf1 element xsd:string 1: unbounded
I have mapped ROW with ZBAPI_DETAILS.
the root of sender message type SENDER_MT is left as it is....
Is there anything need to be done (mapped) with this root of sender message type?
<b>No i don't think so, what i can get from your approach is that you want to receive n similar type of records in a Message and want 2 create n different messages for each record from source structure.. </b>
With this status, i have tested the Test Configuration in Integration Directory. Still getting same error message as follows...
Kindly let me know the name of BAPI.
<b>Perform the Message Mapping and Interface Mapping test in IR only...</b>
java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_sender_mm_:
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
--->But Duplicate entries can not be tested. because if i input Duplicate entries, the target message type does not showing duplicate entries in testing.
Can you elaborate this thing...As per me it should allow...at the time of testing only, be it Interface or Message Mapping .
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
--->i am getting error at interface determination with the error log as follows..
java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_sender_mm_:
to me clearly the problem is with mapping :
1. Map all the mandatory fields..
2. Make sure that you are using the right mapping program(via interface mapping) in the interface determination step.
3. Kindly check the Sender_MM Mapping once more...If it is fine...recativate and Update the cache..
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Map all the mandatory fields..
I have mapped all the mandatory fields. If i enter same knid of values in the same fields of BAPI manually (in se37), the table gets updated.
2. Make sure that you are using the right mapping program(via interface mapping) in the interface determination step.
Its checked and proper interfaces are used.
3. Kindly check the Sender_MM Mapping once more...If it is fine...recativate and Update the cache..
Its fine and reactivated and even updated cache.
Now one doubt....
In Message mapping, the sender mesage type is as follows.
sender_mt 1:1
->Row element 1:unbounded
-
> zkunnr element xsd:string 1: unbounded
-
> zname1 element xsd:string 1: unbounded
-
> zstras element xsd:string 1: unbounded
-
> zadrnr element xsd:string 1: unbounded
-
> ztelf1 element xsd:string 1: unbounded
I have mapped ROW with ZBAPI_DETAILS.
the root of sender message type SENDER_MT is left as it is....
Is there anything need to be done (mapped) with this root of sender message type?
With this status, i have tested the Test COnfiguration in Integration Directory. Still getting same error message as follows...
java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_sender_mm_:
Now, i have mapped the sender_mt and ZBAPI as follows..
sender_mt -
ZBAPICUSTOMER_details
sender_mt----
Tcustomer
Row------- Item
zkunnr------zkunnr
zname----zname
zadrnr---zadrnr
zstrs----zstrs
ztelf1---ztel
zkunnr-----icustomer
zadrnr----iadrnr
zname---iname
zstrs---istrs
ztelf1----itel
Now i have tested the message mapping. Its perfect and even showing multiple entries (Duplicate keys) in the result.
Even Interface mapping is tested and its OK.
Still test Configuration in Integration Directory showing same error abt message mapping.
The messages in SXMB-MONI are scheduled with green flag.
In SM59, the connection is perfect between Xi and SAP R/3.
In smq2, if i restart the scheduled message, its throwing error as follows..
<SAP:AdditionalText>Error when reading HTTP destination: INTEGRATION_DIRECTORY_HMI.</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error while refreshing the XI runtime cache</SAP:Stack>
We have cleared the cache several times in SXI_CACHE and even using url.
i am totally down to find out the bug behind this issue...!!!!!
Regards
Pavan
Reactivate the RFC Adapter.
Whatever message is in RED, cancel that message and try to clear new messages. If possible cancel all the wrong messages. Clear everything and then restart your interface.
I think now mapping is correct but cache is not uptodate and old incorrect entries are stucked up in queue.
If possible take server restart.
Let me know the result.
-Gouri
Exact solution to check
https://forums.sdn.sap.com/click.jspa?searchID=6407587&messageID=1119647
Message was edited by:
Anusha Ramsiva
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.