A problem when building a BAPI. Thanks a lot.

When I build a BAPI, can I use an exsiting data element to define an import parameter? Or I MUST define the data element for every parameter?
Thanks a lot.

When I build a BAPI, can I use an exsiting data element to define an import parameter? Or I MUST define my own data element for every parameter?
Thanks a lot.

Similar Messages

  • Language Problem when building executable

    I'm having a weird issue when building executables.  Labview seems to forget the english language.  I have tried selecting English exclusively as the run time language but when i do that i get a "No supported languages installed!" error. Everthing works fine in the development environment.  It only seems to apply to application menus and not custom user menus.  Thanks for any insight.  
    Solved!
    Go to Solution.
    Attachments:
    Language.png ‏3 KB

    Hello Jed394,
    I took a look into the issue, just to be sure the error thrown was “No support Language Installed,” correct?  Check to see if the language of your operating system and the language LabVIEW is using is English.  If these are both English, then it looks like this is an error due to installation issues in the run-time engine.  Try to perform a repair by going through the install menu of LabVIEW.  The following link will help you with the repair: http://digital.ni.com/public.nsf/allkb/FE6B641E86E55AF2862576DE00038001?OpenDocument
    If you have any further issues, please let me know. Thanks!
    Matt S.
    Industrial Communications Product Support Engineer
    National Instruments

  • Problem when building a view

    Hi,
    I am new in JDeveloper
    I build a model in JDeveloper
    but when I build the web pages
    I accidentally face the following problem
    can any one help me?
    *** Using port 7101 ***
    "H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=H:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;H:\oracle\MIDDLE~1\patch_wls1034\profiles\default\sys_manifest_classpath\weblogic_patch.jar;H:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;H:\oracle\MIDDLE~1\JDK160~2\lib\tools.jar;H:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;H:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;H:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.4.0.jar;H:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;H:\oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;H:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;H:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;H:\oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;H:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=H:\oracle\MIDDLE~1\patch_wls1034\profiles\default\native;H:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;H:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;H:\oracle\MIDDLE~1\WLSERV~1.3\server\bin;H:\oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;H:\oracle\MIDDLE~1\JDK160~2\jre\bin;H:\oracle\MIDDLE~1\JDK160~2\bin;E:\oracle\product\10.2.0\db_1\bin;H:\oracle\app\product\11.1.0\db_1\bin;H:\WINDOWS\system32;H:\WINDOWS;H:\WINDOWS\System32\Wbem;H:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_21"
    Java(TM) SE Runtime Environment (build 1.6.0_21-b51)
    Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode)
    Starting WLS with line:
    H:\oracle\MIDDLE~1\JDK160~2\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=H:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=H:\oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=H:\oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=H:\oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=H:\oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=H:\oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=H:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.23\DEFAUL~1 -Djrockit.optfile=H:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=H:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=H:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=H:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=H:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=H:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=H:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=H:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,H:\oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=H:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.23\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=H:\oracle\MIDDLE~1\patch_wls1034\profiles\default\sysext_manifest_classpath;H:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Mar 28, 2011 5:29:05 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Mar 28, 2011 5:29:05 PM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Mar 28, 2011 5:29:05 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 17.0-b17 from Sun Microsystems Inc.>
    <Mar 28, 2011 5:29:06 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255 >
    <Mar 28, 2011 5:29:10 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Mar 28, 2011 5:29:10 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Mar 28, 2011 5:29:10 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Mar 28, 2011 5:29:11 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00012. Log messages will continue to be logged in H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Mar 28, 2011 5:29:11 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Mar 28, 2011 5:29:21 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Mar 28, 2011 5:29:33 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Mar 28, 2011 5:29:33 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Mar 28, 2011 5:29:42 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application NGEST is not versioned.>
    <Mar 28, 2011 5:29:44 PM IST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\NGEST\ViewControllerWebApp.war. Please make sure that the annotations are valid. The error is javax.faces.webapp.FacesServlet>
    <Mar 28, 2011 5:29:44 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'NGEST' due to error weblogic.application.ModuleException: Failed to load webapp: 'ViewController'.
    weblogic.application.ModuleException: Failed to load webapp: 'ViewController'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         Truncated. see log file for complete stacktrace
    >
    <Mar 28, 2011 5:29:50 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Mar 28, 2011 5:29:50 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00012. Log messages will continue to be logged in H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Mar 28, 2011 5:29:50 PM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Mar 28, 2011 5:29:50 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Mar 28, 2011 5:29:50 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Mar 28, 2011 5:29:51 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Mar 28, 2011 5:29:51 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.17:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Mar 28, 2011 5:29:51 PM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Mar 28, 2011 5:29:51 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Mar 28, 2011 5:29:51 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    [Running application NGEST on Server Instance IntegratedWebLogicServer...]
    IntegratedWebLogicServer startup time: 54578 ms.
    IntegratedWebLogicServer started.
    [05:29:53 PM] ---- Deployment started. ----
    [05:29:53 PM] Target platform is (Weblogic 10.3).
    [05:29:54 PM] Retrieving existing application information
    [05:29:54 PM] Running dependency analysis...
    [05:29:54 PM] Deploying 3 profiles...
    [05:30:08 PM] Wrote Web Application Module to H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\NGEST\ViewControllerWebApp.war
    [05:30:13 PM] Wrote Web Application Module to H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\NGEST\ModelWebApp.war
    [05:30:15 PM] Wrote Enterprise Application Module to H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\NGEST
    [05:30:15 PM] Redeploying Application...
    <Mar 28, 2011 5:30:16 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application NGEST is not versioned.>
    <Mar 28, 2011 5:30:19 PM IST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application H:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\NGEST\ViewControllerWebApp.war. Please make sure that the annotations are valid. The error is oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet>
    <Mar 28, 2011 5:30:20 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1301326216265' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'ViewController''
    weblogic.application.ModuleException: Failed to load webapp: 'ViewController'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         Truncated. see log file for complete stacktrace
    >
    <Mar 28, 2011 5:30:20 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'NGEST'.>
    <Mar 28, 2011 5:30:20 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'ViewController'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         Truncated. see log file for complete stacktrace
    >
    #### Cannot run application NGEST due to error deploying to IntegratedWebLogicServer.
    [05:30:20 PM] #### Deployment incomplete. ####
    [05:30:20 PM] Remote deployment failed
    [Application NGEST stopped and undeployed from Server Instance IntegratedWebLogicServer]

    Hello,
    Just start the weblogic server and go to the console. In deployments tab force stop the application and delete that stopped application. Then run the application.

  • Annoying Problem when building under Eclipse

    Hi all,
    Please, does any one faced this problem with Eclipse (2.1.x) using JCOP :
    some times when I try to build the project, using menu Project->Rebuild Project, I get an error in the Task view saying : "The project was not built due to "Problems encountered while deleting resources.". Fix the problem, then try refreshing this project and rebuilding it since it may be inconsistent.     ".
    Often it's solved if I make a "Rebuild all" but sometimes it fails and I still get the error.
    I can get rid of it, but almose by trying and trying again, and I want to know how to be able to build my project without this problem.
    Thanx

    You can fous to left side "Package Explorer" sub-window for your project, and press "F5" to refresh,
    after that retry to build project again.

  • Problem when building an executable with labview 6.1

    I use LabView 6.1 and I want to build up an executable. I use the labview application builder to do this. I have already built up executables and I had no problems but this time I just obtain a labview vi library which is called "internal.llb" each time I try to compile my vi's. Do you have an idea to solve my problem please ?

    Make sure that you have "Single target file containing all VIs" selected
    under Build Option in the Target Tab of the App builder. Sounds like you
    have "Small target file with external file for subVIs" selected with the
    target being a llb.
    -Tom
    "gege" wrote in message
    news:[email protected]..
    > I use LabView 6.1 and I want to build up an executable. I use the
    > labview application builder to do this. I have already built up
    > executables and I had no problems but this time I just obtain a
    > labview vi library which is called "internal.llb" each time I try to
    > compile my vi's. Do you have an idea to solve my problem please ?

  • Problems when building amarok2-svn

    Hello,
    I get build errors when compiling against MySQL libraries:
    [ 82%] Building CXX object src/context/applets/mediadevices/CMakeFiles/amarok_context_applet_mediadevices.dir/amarok_context_applet_mediadevices_automoc.o
    /usr/bin/ld: /usr/lib/mysql/libmysqld.a(client.o): relocation R_X86_64_32 against `mysql_server_last_error' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/mysql/libmysqld.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[2]: *** [lib/libamarok_collection-sqlcollection.so] Error 1
    make[1]: *** [src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    I've installed mysqle in /opt/mysqle dir, then I've changed the PKGBUILD directories to /opt/mysqle/include/mysql and /opt/mysqle/lib/mysql but still cmake compiles against /usr/lib/mysql/libmysqld.a and so on... Does anyone know how to fix this?
    Regards,
    Przemek

    Maybe something here is helpful:
    http://www.archlinux.org/pipermail/arch … 10810.html

  • Occurs the problem when i use bapi BAPI_SALESORDER_CREATEFROMDAT2

    hi:
    the first time a salesorder can be creat successfully,
    but when i used it again in a short time ,system will give out a RUNTIME ERROR 'PXA_NO_FREE_SPACE'.
    >> Short dump has not been completely stored. It is too big.
    No PXA storage space available at the moment.
    <b>What happened?</b>
    The current ABAP/4 program had to be terminated because there
    was no space available to load it.
    Each ABAP/4 program to be executed is stored in a central
    storage area that is divided between all users.
    This area was too small to hold all currently active programs for all
    users.
    The current program, "SAPLV05E ", had to be terminated because a capacity limit
    has been reached.

    See the following example:
    REPORT  ZSALESORDER.
    Parameters
    Sales document type
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text FOR FIELD p_auart.
    PARAMETERS: p_auart TYPE auart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Sales organization
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text1 FOR FIELD p_vkorg.
    PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Distribution channel
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text2 FOR FIELD p_vtweg.
    PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Division.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text3 FOR FIELD p_spart.
    PARAMETERS: p_spart TYPE spart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SKIP 1.
    Sold-to
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text4 FOR FIELD p_sold.
    PARAMETERS: p_sold  TYPE kunnr OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Ship-to
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text5 FOR FIELD p_ship.
    PARAMETERS: p_ship  TYPE kunnr OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SKIP 1.
    Material
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text6 FOR FIELD p_matnr.
    PARAMETERS: p_matnr TYPE matnr   OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Quantity.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text7 FOR FIELD p_menge.
    PARAMETERS: p_menge TYPE kwmeng  OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Plant
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text9 FOR FIELD p_plant.
    PARAMETERS: p_plant TYPE werks_d .
    SELECTION-SCREEN END OF LINE.
    Complete Deliver
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text10 FOR FIELD p_autlf.
    PARAMETERS: p_autlf TYPE autlf DEFAULT 'X'.
    SELECTION-SCREEN END OF LINE.
    Data declarations.
    DATA: v_vbeln            LIKE vbak-vbeln.
    DATA: header             LIKE bapisdhead1.
    DATA: headerx            LIKE bapisdhead1x.
    DATA: item               LIKE bapisditem  OCCURS 0 WITH HEADER LINE.
    DATA: itemx              LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    DATA: partner            LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
    DATA: return             LIKE bapiret2    OCCURS 0 WITH HEADER LINE.
    DATA: lt_schedules_inx   TYPE STANDARD TABLE OF bapischdlx
                             WITH HEADER LINE.
    DATA: lt_schedules_in    TYPE STANDARD TABLE OF bapischdl
                             WITH HEADER LINE.
    DATA: lt_schedules_ink    TYPE STANDARD TABLE OF bapisdhead1
                             WITH HEADER LINE.
    Initialization.
    INITIALIZATION.
    v_text   = 'Order type'.
    v_text1  = 'Sales Org'.
    v_text2  = 'Distribution channel'.
    v_text3  = 'Division'.
    v_text4  = 'Sold-to'.
    v_text5  = 'Ship-to'.
    v_text6  = 'Material'.
    v_text7  = 'Quantity'.
    v_text9  = 'Plant'.
    v_text10 = 'Complete delivery'.
    Start-of-selection.
    START-OF-SELECTION.
    Header data
    Sales document type
      header-doc_type = p_auart.
      headerx-doc_type = 'X'.
    Sales organization
      header-sales_org = p_vkorg.
      headerx-sales_org = 'X'.
    Distribution channel
      header-distr_chan  = p_vtweg.
      headerx-distr_chan = 'X'.
    Division
      header-division = p_spart.
      headerx-division = 'X'.
      headerx-updateflag = 'I'.
    *Complete delivery
        header-COMPL_DLV = p_autlf.
        header-COMPL_DLV = 'X'.
    Partner data
    Sold to
      partner-partn_role = 'AG'.
      partner-partn_numb = p_sold.
      APPEND partner.
    Ship to
      partner-partn_role = 'WE'.
      partner-partn_numb = p_ship.
      APPEND partner.
    ITEM DATA
      itemx-updateflag = 'I'.
    Line item number.
      item-itm_number = '000010'.
      itemx-itm_number = 'X'.
    Material
      item-material = p_matnr.
      itemx-material = 'X'.
    Plant
      item-plant    = p_plant.
      itemx-plant   = 'X'.
    Quantity
      item-target_qty = p_menge.
      itemx-target_qty = 'X'.
    item category
      itemx-ITEM_CATEG = 'X'.
      APPEND item.
      APPEND itemx.
      ITEM DATA
      itemx-updateflag = 'I'.
    Line item number.
      item-itm_number = '000020'.
      itemx-itm_number = 'X'.
    Material
      item-material = p_matnr.
      itemx-material = 'X'.
    Plant
      item-plant    = p_plant.
      itemx-plant   = 'X'.
    Quantity
      item-target_qty = p_menge.
      itemx-target_qty = 'X'.
      APPEND item.
      APPEND itemx.
      Fill schedule lines
      lt_schedules_in-itm_number = '000010'.
      lt_schedules_in-sched_line = '0001'.
      lt_schedules_in-req_qty    = p_menge.
      APPEND lt_schedules_in.
      Fill schedule line flags
      lt_schedules_inx-itm_number  = '000010'.
      lt_schedules_inx-sched_line  = '0001'.
      lt_schedules_inx-updateflag  = 'X'.
      lt_schedules_inx-req_qty     = 'X'.
      APPEND lt_schedules_inx.
      Fill schedule lines
      lt_schedules_in-itm_number = '000020'.
      lt_schedules_in-sched_line = '0001'.
      lt_schedules_in-req_qty    = p_menge.
      APPEND lt_schedules_in.
      Fill schedule line flags
      lt_schedules_inx-itm_number  = '000020'.
      lt_schedules_inx-sched_line  = '0001'.
      lt_schedules_inx-updateflag  = 'X'.
      lt_schedules_inx-req_qty     = 'X'.
      APPEND lt_schedules_inx.
    Call the BAPI to create the sales order.
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
           EXPORTING
                sales_header_in     = header
                sales_header_inx    = headerx
           IMPORTING
                salesdocument_ex    = v_vbeln
           TABLES
                return              = return
                sales_items_in      = item
                sales_items_inx     = itemx
                sales_schedules_in  = lt_schedules_in
                sales_schedules_inx = lt_schedules_inx
                sales_partners      = partner.
    Check the return table.
      LOOP AT return WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error in creating document'.
      ELSE.
    Commit the work.
        COMMIT WORK AND WAIT.
        WRITE: / 'Document ', v_vbeln, ' created'.
      ENDIF.

  • Error 1073 (on Clear Errors.vi) When Building Applicatio​n in LV 8.2

    I have seen numerous posts about this problem when building an application without a block diagram in LV 7.x, however, I am recieving this error on LV 8.2.  Whats most disturbing about it, is that it always hangs when processing Clear Errors.vi.  I have tried my source on two different machines, to no avail.  Also I tried to do a mass recompile of the entire vi.lib again no help.  It is very important that this program compiles, however I cannot get past this error.  Any suggestions?
    My specific error message is here:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 1073 occurred at ABAPI Dist disconnect td-poly.vi -> ABAPI Dist Chg and Save VIs.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  This property is writable only when the VI is in edit mode, or this method is available only when the VI is in edit mode.
    -Paul

    Hello Paul,
    I am sorry for not elaborating previously.  This issue has been documented previously for further investigation to our R&D group (# 3ZK9LGP2).  In the report I found that this error, though vague in the description, is fixed by enabling MathScript Support. 
    To enable MathScript support, check the checkbox in the application properties for the 'Enable MathScript support' option.
    -Bob
    -Bob

  • Problem when creating a sales order with reference by BAPI

    I am facing one problem when creating Sales Order.
    <b>The scenario is like this while creating SO With reference to an Order type, a new SO will be automatically created with a diff order Type</b>.
    I am using "BAPI_SALESORDER_CREATEFROMDAT2".
    I am calling this BAPI in USEREXIT_REFRESH_DOCUMENT.
    Am I using the right exit to call this Bapi ?
    <b>Problems are like :
    1. Ref Sales Order creating without Sales Unit .
    2. "Object Status does not exist" error msg is coming for Header and Item level(when clicking the status tab and then object status pushbutton).</b> But if testing the bapi from SE37 in test sequence....no such problem persists.
    As for example in case of sales unit,in the debugging mode i have seen that BAPI uses a perform to fill the values in the VBAP structure.But after that when it come back to the main program VBAP remains blank.This ocuurs when the BAPI is called from the exit whereas  if tested from SE37, VBAP retains the value.
    Can u suggest in this ? This is very very urgent............
    Thx in Adv.........................

    Thanks........
    Your suggestion was a great help to me.I have used a custom FM and called it in <b>starting new task</b>.
    Since i am a university fresher working in SAP for nearly 1 year.....can you please explain me the difference between <b>in update task</b> and <b>starting new task</b>.Why the problem was occuring for which you have suggested to call a custom function module.
    what is V1 update and V2 update?Is it attached with asynchronous ans synchronous update.It would be a great help to me if you kindly clear my confusions....
    thanks in advance.

  • Problem in building schema when try to invoke the another BPEL service

    Hi all,
    Whenever try to Invoke a another BPEL service using the Invoke activiy and Partnerlink, we need to create a variable structure similar to the providing service.
    For this I used create Auto Varible option available in the invoke activity. But after creating the variable, I tried to expand the variable for the copy operation, the error iam getting is Problem in building schema.
    This error never happened to me before. I have no clue.
    Jdev version:10.1.3.3.0
    Soa version:10.1.3.3.0
    Please help me on this.
    Thanks.

    Hi Lokesh,
    Iam not able to understand what you are trying to say. But my Input variable and Invoke Input variable are compatible, no problem on this. I got some clue from your reply.
    Finally I got it worked by doing it in another way.
    In my Invoking BPEL Process(ie. BPEL Process is trying to invoke the another BPEL Process using Partnerlink) wsdl I imported the partnerlink BPEL schema and it get solved my problem.
    eg) <import namespace="http://xmlns.oracle.com/BpelProcessname" schemaLocation="ParnerLinkBPELSchema.xsd"/>
    This can be usefull for others and I never did this to import the schema manually before, but it works without any errors.
    Now only it causing this problem, whether it is any Jdeveloper issue.
    And i tryed this using Jdev version 10.1.3.4.0, but still the same exception.
    This workaround will usefull for others.
    Thanks for your reply.
    bye.....

  • Noise problem when I look at pictures in full size (or smaller) on monitor. If I enlarge pictures the noise is gone. ??? Can somebody help? Thank you

    I have a noise problem when I look at pictures in full size (or smaller) on monitor. If I enlarge pictures the noise is gone. ??? Can somebody help? Thank you

    How useful screenshots might be in illustrating an issue pertaining to the screen display in comparison to a merely verbal description!
    Does turning off »Use Graphics Processor« in the Performance Preferences and restarting Photoshop have any bearing on the issue?
    What are your Performance Preferences?
    Please read these and proceed accordingly:
    Best practices: Usage | Adobe Community
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html

  • Could anybody suggest how I must fix the outgoing mail server-SMTP problem, when it indicates to be offline? I couldn't manage to turn it on. Thank you!

    Hello everybody!
    Could anybody suggest how I must fix the outgoing mail server-SMTP problem, when it indicates to be offline?
    I tried everythind and still couldn't manage to turn it on.
    Thank you!

    Hopefully I solved it....

  • Hello, I have a problem when I connect to the computer ipad 2 in itunes and click on the "Programs", itunes crashes and writes simply an error. when connecting the iphone does not. everywhere is version 7.0. Itunes is also the latest version. thank you

    Hello, I have a problem when I connect to the computer ipad 2 in itunes and click on the "Programs", itunes crashes and writes simply an error. when connecting the iphone does not. everywhere is version 7.0. Itunes is also the latest version. thank you

    There are multiple reasons that lead to issue. You should read the troubleshooting guide to get the right solution to solve the issue: iPhone, iPad, or iPod touch not recognized in iTunes for Windows - Apple Support

  • I just updated my ipod touch 4th generation to iOS 6 but there seems to be a problem when i go to the app store, it always crash, what could be the problem? thanks

    i just updated my ipod touch 4th generation to iOS 6 but there seems to be a problem when i go to the app store, it always crash, what could be the problem? thanks

    Try quitting the app out of your multitasking bar, and then resetting (hold power an home buttons til device shuts off and comes back on).

  • Problem when installing a new version sdk into flex builder 3

    i downloaded flex sdk 3.4.0 and unzipped it under the "sdks" floder,i think there should be an "Add" button to let me select it,but the button was gone.
    any help please?

    Hi Matt,
    Following your observation I have copied the folders:
    /templates/client-side-detection
    /templates/client-side-detection-with-history
    /templates/express-installation
    /templates/express-installation-with-history
    /templates/no-player-detection
    /templates/no-player-detection-with-history
    from Flex sdk 3.3 to Flex sdk 4 and that solved the issue.
    Thanks a lot for your help.

Maybe you are looking for