Problem with bapis(Material Deliver)

hai,
This is Guru
i have to deliver material(eg:pk-100)for customer order.
please tell me which bapi i have to call from my java program(using JCO)and what are the import parameters .
help me to this.
thanqqqqqq
Guru

Hi Guru,
Use
BAPI_SALESORDER_CREATEFROMDAT1.
The documentation of the BAPI is as follows:
Text
Sales order: Create Sales Order
Functionality
You can use this method to create sales orders.
You must enter at least the order header data (from the ORDER_HEADER_IN structure) as well as partner data (using the ORDER_PARTNERS table) as input parameters.
Enter item data using the ORDER_ITEMS_IN table.  You can allocate the item number by filling in the relevant fields manually, or the system does it according to the settings in Customizing, whereby the relevant fields remain blank.
If the item is configurable, you need to enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.
You can use the BAPICCARD structure to enter credit card data. You can either enter data for identifying the card or, you can enter data for an authorization in an external system.
Once you have successfully created the sales order, the system displays the document number (in the SALESDOCUMENT field), as well as detailed data about the other parties (in the OLD_TO_PARTY,  SHIP_TO_PARTY and BILLING_PARTY structures). The RETURN parameter displays any errors that may have occured.
The ORDER_ITEMS_OUT table contains more detailed information that will enable you to judge the pricing and availability of an item.
Notes
1. Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE     Sales document type
                   SALES_ORG    Sales organization
                   DISTR_CHAN   Distribution channel
                   DIVISION     Division
ORDER_PARTNERS..: PARTN_ROLE   Partner functions, SP sold-to party
                   PARTN_NUMB   Customer number
ORDER_ITEMS_IN..: MATERIAL     Material number
                   REQ_QTY      Order quantity in sales unit
2. Ship-to party
If a ship-to party hasn't been entered, the ship-to party = sold-to
party
3. COMMIT control:Parameter WITHOUT_COMMIT
If this switch is activated, the system does not process any Commit Work and the application that has called it up must trigger the Commit itself. To do this, useBAPI_TRANSACTION_COMMIT.
4. German keywords:
The following keywords must be entered in German, regardless of the
logon language:
DOC_TYPE       Sales document type, for example TA for standard order
PARTN_ROLE     Partner function, for example, WE for ship-to party
Further Information
You can see further notes in OSS. Note 93091 contains general information about the SD BAPIs.
Parameters
ORDER_HEADER_IN
WITHOUT_COMMIT
CONVERT_PARVW_AUART
SALESDOCUMENT
SOLD_TO_PARTY
SHIP_TO_PARTY
BILLING_PARTY
RETURN
ORDER_ITEMS_IN
ORDER_PARTNERS
ORDER_ITEMS_OUT
ORDER_CFGS_REF
ORDER_CFGS_INST
ORDER_CFGS_PART_OF
ORDER_CFGS_VALUE
ORDER_CCARD
ORDER_CFGS_BLOB
ORDER_SCHEDULE_EX
Exceptions
Function Group
2032
The structure of ORDER_ITEMS_IN contains MATERIAL where u can specify ur material no MATNR..
Regards,
Tanveer.
If ur problem is solved , please close the thread and please mark helpful answers.

Similar Messages

  • Problem with BAPI BAPI_REQUISITION_CREATE

    Hello,
    I have problems with BAPI BAPI_REQUISITION_CREATE. I need to create Purchase requisition for services. If I use BAPI BAPI_REQUISITION_CREATE, Purchasing requisition is created, but field NETWR in table EBNK is 0. If I create purchasing requisition manualy using transaction ME51N, field NETWR in table EBNK is filled with correct price.
    Can you pls. help me, what do I wrong in calling BAPI_REQUISITION_CREATE?
    Thanks&regards,
    Jirka

    Not sure if you got your answer or went to OSS for a resolution. But, as I was searching OSS for my issue, I came across the following note:
    Note 1498435 - BAPI_REQUISITION_CREATE: EBKN-NETWR is not updated

  • A problem with a Materialized View

    Hi,
    I have a ordinary table with a three column compound primary key (COL_Id, COL_ValidFrom, COL_CaseId)
    I also have a MV that selects from that table. This one compiles just fine. It looks like this:
    CREATE MATERIALIZED VIEW "MV_02"
    REFRESH FORCE ON COMMIT
    AS SELECT COL_Id, COL_ValidFrom, MAX(COL_CaseId) CaseId FROM TBL_MediaText GROUP BY COL_Id, COL_ValidFrom;
    Works fine. Now I'm trying to create a second MV that selects from the first MV. It looks like this:
    CREATE MATERIALIZED VIEW "MV_03"
    REFRESH FORCE ON COMMIT
    AS
    SELECT a.COL_Id, a.CaseId, a.COL_ValidFrom, NVL(MIN(b.COL_ValidFrom)-1, TO_DATE('2099-12-31','yyyy-mm-dd')) ValidTo
    FROM MV_02 a, MV_02 b
    WHERE a.COL_Id=b.COL_Id(+) AND a.COL_ValidFrom < b.COL_ValidFrom(+)
    GROUP BY a.COL_Id, a.CaseId, a.COL_ValidFrom;
    This one does not parse. (ORA-12054) There seem to be a probelem with the ON COMMIT command. I have searched the web and found some info on the subject. It tells me to create a MV log, wich I have. I've also tried to put count(*) and count(b.COL_validfrom). But it just wont work.
    I see a possibilty of yhe problem laying in te fact that I join using two parts of my PK. Also there might be a problem with the fact that i can't create a log for MV_02 WITH PRIMARY KEY. Or maybe you can't have a MV selecting from another MV?
    Do anyone know how i should specify my Logs and/or querys in order for this to parse?
    I'm using 10.1, and I do have the ON REFRESH COMMIT-privilege.
    Thanks!
    Message was edited by:
    DavidNils

    May be you are trying for this....I don't know how helpful is my solution for you.
    SQL> CREATE MATERIALIZED VIEW MVE
      2  TABLESPACE JAM
      3  REFRESH FORCE ON COMMIT
      4  AS SELECT D.DEPTNO,D.DNAME, E.ENAME, E.JOB FROM
      5  EMP E, DEPT D
      6  WHERE D.DEPTNO = E.DEPTNO(+)
      7  /
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW MVEF
      2  TABLESPACE JAM
      3  REFRESH FORCE WITH ROWID
      4  AS SELECT * FROM MVE;
    Materialized view created.Message was edited by:
    Jameel

  • Problem with Packaging Material Type

    Hello all Gurus,
    I have a problem with a packaging material type that I have created copying the standrad Packaging material type LEIH. I created a new packing material type ZPAC - Packaging Material copying LEIH.
    I then created a new material master record using this new material type ZPAC.
    When I am using this material for packing in outbound delivery document - VL01N, I am getting the following strange error message:
    20333 does not have packaging material type and is therefore not a pack.mat.
    Please suggest me why this error is coming and how I can rectify this error. Is there any further configuration that I need to do for packaging material types??? Kindly suggest.
    Thanks and Regards,
    Umakanth.

    Hi,
    Material type is not enough, you have to maintain proper master data as well as config.
    At least please maintain value in MARA-VHART for the packaging material. Please also check these links how HUM works:
    http://www.sap-img.com/sap-hu.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/c8/a44b779f3211d2858d0000e81ddea0/frameset.htm
    Regards,
    Csaba

  • RMDATIND uploading problem with external material numbers

    Hi,
    I'm using LSMW direct input program RMDATIND (Object:0020 Method:0000) for creating materials.
    I have a problem with uploading materials which have two types of external material numbers.
    For example one material number is 1111-333 and then we have 10000000. The problem is that direct input won't create materials with number 1111-333 though it's possible to create them manually. It works fine with material 10000000.
    Does anyone know how fix this issue?

    Sweth123 wrote:
    Hi Guys:
    >
    > Clicked check box External number assignment without Check., When I am creating a material (mm01) with only numeric characters it is giving me an eror message saying for this material type Numeric characters are not allowed.
    >
    > i should be able to create a material with external number range and it can be numeric or alpha numeric?
    >
    >
    > Thanks
    > Sweth
    Hi,
    go to the path Define Number Ranges for Each Material Type click on maintain groups & select the materila type & select the mouse on material type & click on maintain after that maintain the number ranges.
    for ex: from 300000000 to 399999999 internal no.range
                from A                to ZZZZZZ     external no.range
    from this u can able to create a material with external number range and it can be numeric or alpha numeric
    Regards
    Raj.

  • Help - Problem with BAPI confirmation (co11n)

    Hi gurus,
    Please , i need some help with some problems i am having with BAPIs for confirmations.
    I have found this one : BAPI_PRODORDCONF_GET_TT_PROP, to get the propose data, but i i can't figured out how to fill the goodmovements table. I need to do this, because i want to know the proposal of goodmovements, just exactly that sap's does when i enter to the tx CO11N, enter the YIELD quantity and then press "goods movements" button.
    Please, is there some trick or something to make this work? ( i have already put "X" in the import "PROPOSE - GOODMOVEMENTS" , but still is not working).
    If get this, i could put this values in BAPI_PRODORDCONF_CREATE_TT and that's it... i suppose.
    Please help me
    Thanks a lot!

    Hi ,
    Before going into BAPI's , Auto goods movement happens in two ways.
    1. check whether Auto goods receipt is checked in T.code OPKP.
    2. The other way is to assign a Control Key to the operation which has a Auto GR checked.
    Please check these two and then trigger confirmation using your BAPI.
    Hope this helps.
    Best Regards.

  • Problems with Hotmail being delivered to phone

    This has been problematic since I got my first smartphone two weeks ago. It would not receive e-mail at all, and gave me an error message saying the account password was incorrect. (It was not, I've had the same password for a few months) Then it cleared up, and the phone was receiving e-mail from my Hotmail account live for a couple of days, over the weekend. Now it does not appear to be syncing automatically, and when I sync it manually I no longer receive the error message, just no e-mail is being delivered at all?!! Anyone else having this problem? Any advice? 

    I had the same problem with my Droid Razr M. Kept on getting error messages such as you're getting. Read in another community to delete the Hotmail account from the "Email Folder." I might add, check the settings and write down all the information, such as port numbers, etc. before you erase the account. Than add the Hotmail account to the folder marked "Other." This seemed to do the trick for me. Another thing you might try is to download an Email server from the Google Play. There are several of them, and some are free. I downloaded GO Email, and it works like a charm.

  • Problem with bapi to create purchase requisition

    I got a requirement that to upload details of procurement into Z table with a temporary PR. Could u please suggest the procedure or bapi to upload datainto Z table.
    Regards

    Hi all
    For above requirement i am suppose to develop a FM which upload the data from front end to DB. Forthat I am taking following steps is it ok or not suggest me.
    1.call function module bapi_pr_create
    2.fill local structure with bapi structure if PR number is created.
    3.update data into Z table
    Regards

  • Sudden Dropped Frames Problem with 720p24 material

    After sailing along for months with perfect operation from Final Cut Pro, editing 720p24 (I'm still running 5.0.4), I have encountered a mysterious hangup that I can't seem to solve. It probably began shortly after I was doing a test on a new project and mistakenly used a 44khz sound file rather than a 48khz. That project ran fine for a couple of days as I played with it, then abruptly began to drop frames at very particular points. I trashed the sound file and reimported it as a 48khz file and that seemed to fix things for a day or two. Then, to my utter horror, when I opened a very large ongoing project that I needed to tweak, I found that the dropped file problem has corrupted my entire FCP operation. I have tried changing various settings, such as unlimited RT, and trashed the preferences as well, but none of the straightforward cures seems to make a difference. I've also looked at all the suggestions in the Apple dropped frames article at [docs.info.apple.com]. I have never had a problem with dropped frames prior to this.
    My scratch disk is a raided SATA drive with plenty of space to spare. This setup has worked flawlessly since July. I have jumped around over the past 10 days from work on old SD projects to 720p24 projects and have been changing settings here and there to accomodate this. Nothing else seems to have been changed that may account for the glitch.
    I have not reinstalled the software.
    Anything that comes to mind as a logical next step would be most appreciated!

    Yes during panning or zooming I can see that frames are dropping in the stats panel.
    I'm encoding at 500kbps video + 48 audio, outputting only one stream.
    The content in the input monitor shows exactly what the cam is seeing, with the pan and/or zoom correctly displayed. On the output monitor side the action will freeze momentarily when frames are dropped. Then the display will skip to the point where no more frames are being dropped.
    The native frame rate for the cam is 29.97, but as an output, averaging in the dropped frames the rate may drop as low as 27 or 28fps according to the stats panel. The difference being the number of dropped frames.
    FMLE is installed on a Dell Studio 15 with 4 GB RAM, which I would think would be plenty adequete.
    Thanks for your response.
    Adninjastrator

  • Problem with BAPI of Material Master creation

    Hi,
    I am creating material master(mm01) through BAPI_MATERIAL_SAVEDATA.
    Program is working fine but when i m checking in MM03 to display uploaded data through BAPI, i cant able to see material which i created to through BAPI but i can see in MARA table.
    i dont know wht is the problem ?
    can anybody let me know abt this ?

    then u are not committing the work.
    flow will be like this
    call ' BAPI'
    if return[] is initial.
    commit work.
    else.
    endif.
    Regards
    peram

  • Problem with BAPI BAPI_MATERIAL_SAVEDATA when calling from other system

    Hi All,
    I able create new material using the BAPI BAPI_MATERIAL_SAVEDATA in development system.
    but when i am calling this BAPI from other systems by passing the same values that i used in the development system . system is giving me an error ( in the return statement) saying that material number doesn't exists .
    Can any one have some pointers towards this ?
    Thanks & Regards,
    Praveen

    Hi,
    this FM BAPI_MATERIAL_SAVEDATA
    is used to extend a material to another plant
    for that you need to read the original data via BAPI_MATERIAL_GET_DETAIL and then select additional data from MKVE and save it via BAPI_MATERIAL_SAVEDATA with table parameter SALESDATA
    also check with
    BAPI_STANDARDMATERIAL_CREATE Create/Extend Material
    BAPI_MATERIAL_SAVEDATA - QM - Inspection Setup
    Problem in BAPI_MATERIAL_SAVEDATA
    Thanks&Regards,
    Naresh

  • Problem with BAPI invocation in UDF

    Dear SDN-Experts,
    I have the following java code in an user defined function:
    JCO.Repository mRepository;
    JCO.Client mConnection = JCO.createClient(
    "101",
    "de",
    "frba02.buc.fristo.de",
    "10" );
    mConnection.connect();
    mRepository = new JCO.Repository( "SAPLookup", mConnection );
    JCO.Function function = null;
    IFunctionTemplate ft = mRepository.getFunctionTemplate( "BAPI_MATERIAL_GET_ALL" );
    function = ft.getFunction();
    JCO.ParameterList input = function.getImportParameterList();
    input.setValue( "1000" , "MATERIAL" );
    mConnection.execute ( function );
    JCO.Table unitsofmeasure=  function.getTableParameterList().getTable("UNITSOFMEASURE");
    mConnection.disconnect();
    return unitsofmeasure.getString("ALT_UNIT_ISO");
    As you can see, I try to execute "BAPI_MATERIAL_GET_ALL" with 1000 as "MATERIAL". When I test the same BAPI in the Target System with Transaction SE37 and 1000 as material, I get a table which has three rows. But when I execute the UDF with the same parameter (as above), I get the following runtime exception:
    Exception:com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Trying to access row values in a table which does not have any rows yet in class com.sap.xi.tf._MM_MT_KASSE__to_WPUWBW01_ method GetME$ 2270, com.sap.aii.mappingtool.tf3.rt.Context@24650c7a
    Could you help me please?
    Thanks in advance.
    Cheers
    Ehsan
    Edited by: Ehsan Baghi on Jul 11, 2008 4:58 PM

    Hi Ehsan !
            By the message error that you received, I think that is possible that the bapi is returning no records in the table.
            Sometimes, call an RFC or BAPI from java has different behavior that executing from SE37, because of field formatting for example. In your case, there is great chance that executing this BAPI in SE37, when you fill the Material field with "1000", internally it´s proccessed as "000000000000001000", and when you call this BAPI from a java program, the field is proccessed with the exact value that you passed: "1000".
            A good way to check this is logon in your SAP environment with the user that you are using in the java mapping to connect to SAP, run SE37 and open the source code of this BAPI, set a remote break point, and test your mapping, so you will see in the debugger, the exact value that is arriving to the BAPI from java, and the values that is being returned to java.
            I hope this helps !
            Best regards,
            Wilson

  • Problem with bapi BAPI_BUS2054_CREATE_MULTI

    I am trying to create multiple wbs elements for a given definition
    using the bapi BAPI_BUS2054_CREATE_MULTI as per the documentation i have used BAPI_PS_INITIALIZATION
    first to initialize,then followed by BAPI_BUS2054_CREATE_MULTI  and ending with BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT
    it says the definition is o.k but its giving error with wbs element.
    that to enter all required fields.
    could any body please  tell what are all the required fields that i have to enter for it_wbs.

    Hi Aravind,
    I am having same problem. Can you pelase explain me how you solved your issue.
    Please help?
    thanks,
    Venkat.

  • Problem with BAPI (Flight) Tutorial

    Hi,
    Im new in developeing with Web Dynpro for Java.
    I did every steps of this tutorial (Adaptive RFC tutorial - with the BAP_Flight_Getlist) exactly:
    http://help.sap.com/saphelp_webas630/helpdata/DE/b2/326b09e58bcf499f73b5cc278808f4/content.htm
    But i can not deploy the application - Error: deployment aborted.
    05.04.2008 11:00:23 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [022]Deployment aborted
    Settings
    SDM host : dmhpnb34
    SDM port : 50018
    URL to deploy : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.ear
    Result
    => deployment aborted : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.earAborted: development component 'Flights'/'local'/'LOKAL'/'0.2008.04.05.11.00.19'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/Flights.. Reason: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    My SLD is working, also my JCOS, so there should not be the problem.
    Are there more good small tutorials (like this flight tutorial) with Web Dynpro and BAPI ?!

    thx for the advise. I developed the tuturial application again and can now run it. But if i click on search button  with the entered values Departure City: Frankfurt and Arrival City: New York
    i get no values in the table (i checked in the ERP System if the flights with this directions exists - its there):
    Custom Controller Code:
    // This file has been generated partially by the Web Dynpro Code Generator.
    // MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
    // ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
    package mypackages;
    // IMPORTANT NOTE:
    // ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
    // BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
    // AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateFlightsController).
    // OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
    // A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
    // OF IMPORT STATEMENTS.
    //@@begin imports
    import mypackages.model.Bapi_Flight_Getlist_Input;
    import mypackages.model.Bapisfldst;
    import mypackages.model.FlightModel;
    import mypackages.wdp.IPrivateFlightsController;
    import com.sap.mw.jco.JCO;
    import com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory;
    import com.sap.tc.webdynpro.progmodel.model.api.WDModelScopeType;
    //@@end
    //@@begin documentation
    //@@end
    public class FlightsController
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(FlightsController.class);
      static
        //@@begin id
        String id = "$Id$";
        //@@end
        com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
    Private access to the generated Web Dynpro counterpart
    for this controller class.  </p>
    Use <code>wdThis</code> to gain typed access to the context,
    to trigger navigation via outbound plugs, to get and enable/disable
    actions, fire declared events, and access used controllers and/or
    component usages.
    @see mypackages.wdp.IPrivateFlightsController for more details
      private final IPrivateFlightsController wdThis;
    Root node of this controller's context. </p>
    Provides typed access not only to the elements of the root node
    but also to all nodes in the context (methods node<i>XYZ</i>())
    and their currently selected element (methods current<i>XYZ</i>Element()).
    It also facilitates the creation of new elements for all nodes
    (methods create<i>XYZ</i>Element()). </p>
    @see mypackages.wdp.IPrivateFlightsController.IContextNode for more details.
      private final IPrivateFlightsController.IContextNode wdContext;
    A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
    Represents the generic API of the generic Web Dynpro counterpart
    for this controller. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDController wdControllerAPI;
    A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
    Represents the generic API of the Web Dynpro component this controller
    belongs to. Can be used to access the message manager, the window manager,
    to add/remove event handlers and so on. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
      public FlightsController(IPrivateFlightsController wdThis)
        this.wdThis = wdThis;
        this.wdContext = wdThis.wdGetContext();
        this.wdControllerAPI = wdThis.wdGetAPI();
        this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
      //@@begin javadoc:wdDoInit()
      /** Hook method called to initialize controller. */
      //@@end
      public void wdDoInit()
        //@@begin wdDoInit()
         Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();
              wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
              Bapisfldst bapisfldstFrom = new Bapisfldst();
              input.setDestination_From(bapisfldstFrom);
              Bapisfldst bapisfldstTo = new Bapisfldst();
              input.setDestination_To(bapisfldstTo);  
              // Creates an instance of a client to the remote SAP system   
              client = JCO.createClient("800",          //SAP logon client number
                                              "Andreas",            //SAP logon user
                                              "*****",        //SAP logon password
                                              "DE",        //SAP logon language
                                              "dmsaperp",        //Host name of application server
                                              "00");          //SAP system number
              // Creates the model instance
              model = (FlightModel)WDModelFactory.getModelInstance( FlightModel.class, WDModelScopeType.APPLICATION_SCOPE);
              // Assigns the client to the model
              model.setJcoClient(client);   
        //@@end
      //@@begin javadoc:wdDoExit()
      /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
        //@@end
      //@@begin javadoc:getFlights()
      /** Declared method. */
      //@@end
      public void getFlights( )
        //@@begin getFlights()
        //@@end
    The following code section can be used for any Java code that is
    not to be visible to other controllers/views or that contains constructs
    currently not supported directly by Web Dynpro (such as inner classes or
    member variables etc.). </p>
    Note: The content of this section is in no way managed/controlled
    by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      JCO.Client client;
         FlightModel model;
      //@@end
    content of obsolete user coding area(s) -
    //@@begin obsolete:getFlights()^
    //     client.connect();
    //        try {
    //        // Calls remote Function Module BAPI_FLIGHT_GETLIST 
    //        wdContext.currentBapi_Flight_Getlist_InputElement().modelObject().execute();
    //        catch (Exception ex) {
    //            ex.printStackTrace();
    //        finally {
    //           client.disconnect();
    //        // Invalidates the output context node
    //        wdContext.nodeOutput().invalidate();
    //@@end

  • Problem with BAPI

    Hi,
    We are using the BAPI  BAPI_ALM_NOTIF_CREATE to create a plant maintenance notification. I have populated it with the following data :
    maintenance notification type
    equipment number in header
    functional location in header
    coding group in header
    coding in header
    I am using a wrapper bapi to house this one and am also calling a BAPI_TRANSACTION_COMMIT after this bapi is called .
    However my problem is when the BAPI runs. The result has notification number which starts with a '%'. When i go into IW23 to check if a notification was created , none exists !
    I used the same data and ran transaction IW21 directly, and the notification was successfully created. That means the data im using is correct and sufficient.
    So why is it not being created properly with the BAPI ?
    Any and all help will be greatly appreciated.
    Thanks,
    Amit

    Hi Amit,
    This doesn't sound like a workflow problem. I think you will have more luck when posting in the appropriate ABAP forum.
    Which I see you have done. But next time mention that you cross post in different forums.
    Regards,
    Martin

Maybe you are looking for

  • Satellite L20 - Shoud I pay for service?

    My Satellite L20 have problem with reading and recording CD's ad DVD's. Second problem is with sound which is very low. In service told me that if on my computer is not any problem witch sound I should pay for the diagnosis. Computer is on the guaran

  • I purchased lightroom and photoshop online but when I click on the download link nothing happens

    I purchased lightroom and photoshop online but when I click on the download link nothing happens

  • Adobe Ideas – Sync Process: Awaiting Connection

    I've seen many issues with Adobe Ideas and it having syncing problems, but I can't find an actual answer other than "servers were messing up, better now," and people saying that helped. I'm running Adobe Ideas on an iPad 2 Wi-Fi, running iOS 7.1.2. W

  • Migrate account to Server

    I wish to migrate user accounts from two laptops and one iMac to snow leopard server. All three machines have an admin account that I wish to migrate to the server, but I don't want these accounts to have admin rights on the server. I have installed

  • Physical server to Zone?

    hey all, I have been looking around for a bit on this and wasn't successful. I have 2 SFV100 running Solaris 10 and I would like to decom these machines in the very near future. I am looking for a way (if it exists) to move my Solaris install from th