Skip to Content
avatar image
Former Member

SAP PI - No operation with XML root tag .num exists

Hi PI Experts,

I have a scenario from file to SFTP,where i have to send the file to receiver side, by prefixing with some "xyz"_filename.for this i wrote one UDF and i am trying to execute the functionaliy,but while i am doing this i am receivning the below error.Could someone light on this?

Below is the error:

Error when determining the receiver: Problem while determining receivers using interface mapping: No operation with XML root tag .num exists. Problem while determining receivers using interface mapping: No operation with XML root tag .num exists. No operation with XML root tag .num exists
my UDF

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
String filename = conf.get(key);
String SID = System.getProperty("SAPSYSTEMNAME");
if (SID.equals("PID") || SID.equals( "PIQ") || SID.equals( "PIP"))
{
filename  = "XYZ_" + filename+ "_"  ;
}
conf.put(key,filename);
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Sep 27, 2017 at 12:56 PM

    Hi Amarnath!

    Then check the structure and namespaces of your source file against the Message type assigned to your sender interface in ESR.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 27, 2017 at 10:59 AM

    Are you using FCC here? ensure the namespace is correct

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 27, 2017 at 12:32 PM

    HI Raghuraman i am not using FCC here..

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 27, 2017 at 03:05 PM

    One more check in the receiver determination uncheck the operation specific button and try.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 28, 2017 at 04:10 AM

    Hi,

    Error when determining the receiver: Problem while determining receivers using interface mapping:

    Are you using enhanced receiver determination?

    Regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 28, 2017 at 07:24 AM

    Hi,

    I believe you have copied the service interface from some existing service interface in this case the operation name remains of old copied service interface only . So create a new outbound service interface with your required message type and also in your interface determination make sure you have "Non-Operation specific". Cross check the incoming xml file with your source structure cross check the namesapce too.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded