Skip to Content

Importing BAPI_PO_CREATE1 from 46c system fails

Hello,

I imported BAPI "BAPI_PO_CREATE1" from a 46c system in a webdynpro project and after import i build the project. It gives following error.

<b><b>[ddgen] [Error] Structure com.sap.example.create.types.Bapimepoitemx is not generated

[ddgen] [Error] Name contains invalid characters</b></b>

[ddgen] [Info] Catching throwable null

[ddgen] [Info] com.sap.dictionary.generation.ant.GenerationAntTaskError

at com.sap.dictionary.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:171)

at com.sap.dictionary.tools.generation.Generation.generatePersistentStructure(Generation.java:479)

at com.sap.dictionary.tools.generation.console.GenerationConsole.generate(GenerationConsole.java:165)

at com.sap.dictionary.generation.ant.GenerationAnt.main(GenerationAnt.java:47)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:211)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:119)

at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:67)

at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:163)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)

at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)

at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:341)

at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:175)

at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1386)

at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5107)

at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)

at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)

at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

[ddgen] ERROR: Unknown exception during generation null (com.sap.dictionary.generation.ant.GenerationAntTaskError)

[ddgen] ERROR: Generation failed due to errors (42 seconds)

After checking in detail, i found that structuere BAPIMEPOITEMX has a field called INDUS????, which would be causing this problem.

Has anybody face this problem? ANy resolution.

Thanks.

Rgds

Rajeev

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 15, 2005 at 07:52 AM

    Hi Rajeev,

    is the fieldname really "INDUS????" (including the question marks)?

    Have a look at the ABAP side and check the name. I think it should be fixed there.

    Regards

    Helmut

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Helmut,

      Yes, it is INDUS???? in BAPI. Here is the cut from se11

      IN_HOUSE BAPIUPDATE CHAR 1 0 Updated information in related user data field

      INDUS???? BAPIUPDATE CHAR 1 0 Updated information in related user data field

      INF_INDEX BAPIUPDATE CHAR 1 0 Updated information in related user data field

      UNTIL_DATE BAPIUPDATE CHAR 1 0 Updated information in related user data field

      DELIV_COMPL BAPIUPDATE CHAR 1 0 Updated information in related user data field

      Rgds

      Rajeev