BAPI function to use

Hi,
Can someone advice me what BAPI to use if I want to
a. Create a Sales order
b. to perform post goods issue w/ref to Delivery order number
c. create invoice w/refereence to Delivery order number
For sales order, I think I would use BAPI_SALESORDER_CREATEFROMDAT2
Thanks in advance
Bye
Moderator message: please search for available information before asking.
locked by: Thomas Zloch on Sep 14, 2010 11:44 AM

Hello Colin
For posting goods issue you can use BAPI_GOODSMVT_CREATE.
Regarding salesorders you may use the BAPI you have mentioned or the unterlying RFC-enabled fm SD_SALESDOCUMENT_CREATE which is less restrictive then BAPI_SALESORDER_CREATEFROMDAT2.
Regards
  Uwe

Similar Messages

  • I need to know thelist of bapi's and function modules used for transaction

    I need to know thelist of bapi's and function modules used for transaction in order to use these FM or BAPI in reading some fields of equipment master and functional loocation.Can any one suggest me some methods...or do i need to write  a report for the same.

    Steps to find the BAPI/function modules used in a transaction
    1) Find the package of the transaction thro' SE93.
    For example the package for the transaction VA03 is VA
    2) Go to Se80, key-in the package (say VA)
    3) You can see the function modules under the folder finction group and
    you can see the BAPI's under the folder Business Engineering-> Business Objects-> double click on the released methods of the Business Objects

  • CALL BAPI Function with SuperUser ID

    I need to call a BAPI function 'BAPI_MATERIAL_MAINTAINDATA_RT' using a Super User ID.
    Can someone guide me on the syntax?
    Call 'BAPI_MATERIAL_MAINTAINDATA_RT'
      Desitination ....
    I need to know how to put in the superuser-ID.
    Thanks

    Hi Colin,
    Please Create a Custome Report and call your BAPI inside that. then you can use
    SUBMIT statement to call the custom report in addition to user ID. THis way you can adopt the same.
    SUBMIT zprogram
         VIA JOB     jobname
             NUMBER jobcount
             USER    Super_user_ID
         WITH SELECTION-TABLE lt_par_tab   "<-- selection table of custom program.
                    AND RETURN.
    For example Please refer the thread
    [Re: Change user id at runtime;

  • BAPI/Function for updating RP & RQ

    Hi !
    Please tell me which BAPI/Function to use for updating Reorder Point (  marc-minbe ) & Reorder Quantity( marc-bstfe ) .
    Thanks
    Moshe

    Hi,
    Please try BAPI BAPI_MATERIAL_SAVEDATA.
    Regards,
    Ferry Lianto

  • Using BAPI functions BSP file upload

    Hello,
    Can anyone clarify me  that ' can I upload a file form front end using BSP to the BP as backend to store e the image using the BAPI functions. All this is to get each BP photo in the Solution manager.
    or I have use  the datasets for the file upload. Please help me out.
    With best regards,
    Suneetha

    Hi,
    Uploading LOGO in SAP
    http://www.sap-img.com/ts001.htm
    Upload graphics on
    The program RSTXLDMC can be used to upload graphics (file extension .tif on PC files) into individual standard text.
    <b>ws_upload</b>
    Transfer files from the frontend to the application server.
    Rgds,
    Prakash

  • I want F4Help Functionality by using BAPI(Like EVS Concept)

    Hi Friends,
    I have one doubt on F4Help Functionality.
    ABAPer gave one BAPI. that BAPI Having Output Table Structure.
    My Req. By using that i can display F4Help Functionality in Each and every input filed Attribute.
    For Example. By using EVS concept we can display the F4Help Functionality for that input filed.Same i want F4Help Functionality by using BAPI
    How Can i do.Please give me Sussitions.
    Regards
    Vijay K

    Hello Vijay,
    Take a context attribute and bind it to the Input field. now maniplate the SVS (simple value selector) of the Context attribute using the below code
         IWDAttributeInfo l_attInfo =     wdContext.nodeCtx_aa().getNodeInfo().getAttribute(     IPublicsdaf.IsadfElement
                                       .CTX__VA__VARIANTS);
         IModifiableSimpleValueSet l_valueSet =     l_attInfo.getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();
         l_valueSet.clear();
         l_valueset.put("","");
    what are the values which you keep in the l_valueset.put will come in the required dropdown or EVS.
    in your case you need to execute the BAPI and loop the output and keep the values in the l_valueset.
    Regards,
    Raju Bonagiri

  • Function module or BAPI that is used to update the records in RBKP table.

    Hello All,
    Can anybody please give me the name of any Function module or BAPI that is used to update the records in RBKP table.
    Please help me
      I need to change the fiscal year in RBKP table
    Thanks in Advance,
    Regards,
    LIJO

    Hi,
    You can use the BAPIs,
    BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_INVOICE_RECEIPT_POST  Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)
    Hope this helps.
    Regards,
    Renjith Michael.

  • How to produce Material output message when use bapi function?

    Dear Experts :
    I use bapi BAPI_GOODSMVT_CREATE to receive stock.
    I find the output message can't create automatically even when I have set the type in MR21.
    Hope someone can teach me how to produce the message when I create the material document by BAPI function.
    Thanks a lot.

    Hi,
    The messages are stored in the return table of the bapi.
    You can search in SCN or Google for BAPI error handling.

  • Creating/confirming transfer order (WM) using bapi/function modules

    Hi,
    I usually use BDC to create transfer orders or other documents in WM, but i've been told that using BAPI is more correct. I'm new to this concept, so could you please tell me how i can find the apropriate BAPI/function modules available for this purpose in 46C ?
    I thank you in advance,
    Bruno

    Hi Gisk,
    i am trying ot create a TO based on a material document and year. Same function as transaction LB12. Do you know which function module i can use for this.
    I am trying to use the function module L_TO_CREATE_SINGLE, i fill in the T_LTAK-MBLNR and T_LTAK-MJAHR. But do not know which fields to fill in.
    Hope you can help me.
    Grtz
    Coeno

  • Partner Function Upload using BAPI function BAPIBUSISM007_CREATEFROMDATA

    Hi Guys,
    I can able to create Business Partner in SAP using BAPI function module BAPIBUSISM007_CREATEFROMDATA but i don't able to upload partner function (i.e. It will come under Sales Area)  using this BAPI. I don't want to go for BDC method.Is there any function modules. Is there any function modules or BAPI to upload partner function. Please suggest me.
    Thanks in Advance.
    Regards,
    Anil.

    Dear Anil,
    Few days back even i faced similar problem to upload partner function through BAPI.
    Later i created LSMW for XD02 and uploaded partner functions for those BPs.
    You can try the same.
    Regards,
    Rajesh

  • To know thelist of bapi's and function modules used for transaction IH10

    I need to know thelist of bapi's and function modules used for transaction in order to use these FM or BAPI in reading some fields of equipment master and functional loocation.Can any one suggest me some methods...or do i need to write a report for the same.

    hi,
    provide report name (here: RIEQUI20)
    goto se38 - utilities - cross reference - function modules
    or use report RPR_ABAP_SOURCE_SCAN
    with search string call function
    A.
    Message was edited by:
            Andreas Mann

  • How to define null or empty value in BAPI function modules?

    Hi,
    I have problem with BAPI functions, where some parameters are mandatory.
    For example: when I try to use HR BAPI's(BAPI_PERSDATA_CHANGE, etc.) I have to insert parameters like SUBTYPE,OBJECTID,LOCKINDICATOR. The PA0002 table that is used from this BAPI doesn't have SUBTYPE, OBJECTID, LOCKINDICATOR, for any of the records that I would like to select.
    So what I tried, was to put a ' ', to indicate that is empty. It returned an error message saying "Make an entry in all required fields". Next tried to put in some values for these fields -- and it returned an error message saying "No data selected from 0002 for this period".
    I also tried to run BAPI_FAMILY_CHANGE that uses data from table PA0021. Here I found some records with  SUBTYPE, OBJECTID fields that were not empty, but LOCKINDICATOR was still missing. So I tried to put LOCINDICATOR value directly in to database (with MS SQL Enterprise Manager).  After that I was able to use BAPI_FAMILY_CHANGE.
    I think that manually inserting data in database is not normal procedure.
    Is there something that I have missed out?
    I mean -- how can I get this to work without inserting data directly in database?
    How can I define null or empty value in BAPI function modules?
    Thank you in advance.
    Best regards,
    Mihail

    Defining an empty value for a parm in a table is easy.
    First get the function's definition from the SAP system
    Second only populate the fields for which you have a value to set
    Third execute the function.
    The JCO takes care of the rest.
    Enjoy

  • Creating sales order using BAPI, through BSP using 2 pages. one for input

    Hi Friends,
    i have a Requirement that....
    i want to create a BSP pages, in first page i have to give input data (in input fields) which is required to create a sales order through BAPI function module (BAPI_SALESORDER_CREATEFROMDAT1).
    in the second page what ever the result given by BAPI FM, that result i want to display on the second page.
    so how i can i proceed with input fields in first page and result in second page. please through some input on this.
    thanks in advance.
    sree

    Hi Sree,
       If you are going to use MVC pattern to do the following steps.
    For example. company code selection...
    In Model class-INIT() method.
    DATA : S_COMP LIKE LINE OF <table>.
    READ TABLE <table> INTO S_COMP INDEX 1.
      IF SY-SUBRC <> 0.
        S_COMP-TEXT = <variable>.
        S_COMP-KEY = '1'.
        APPEND S_COMP TO <i_table>.
        CLEAR S_COMP.
        INSERT S_COMP INTO <i_table> INDEX 1.
      ENDIF.
    HTML View page.
    <htmlb:dropdownListBox id = "comp"
                      table   = "//model/<table>"
                  selection   = "//model/<variable>"
            nameOfKeyColumn   = "text"
            nameOfValueColumn = "text"
            onSelect          = "<Event name>" />
    Thanks,
    Suriya.

  • BAPI Function taking too much time

    Hi,
    One BAPI function BAPI_INCOMINGINVOICE_CREATE
    taking too much time to process the data. do we have any alternative to reduce the time taken by the BAPI function ?
    like by using any SAP Notes or any other alternative function or by any other way.
    Thanks and regards,
    Shailendra

    HI,
    Please apply the OSS Note 830717. I applied this note and ran transaction code FBZ0 and the "withholding tax code" changed from XX to 03.
    Reward if helpful

  • LSMW or ABAP Program:- I need BAPI function module or Direct input program

    hi experts,
    I have to develop the program which uploads the transportation pricing data for freight cost management.
    the transcation code is XK15 for the application A.
    There is a program called RV14BTCI which will uploads for the application V or M not for A.
    So i can use lsmw or direct input program in both lsmw and abap program so plz help me if there is any BAPI function module or Direct input program for Application A.
    thank you,
    waiting for u r reply.
    Edited by: SANTOSH MARUPALLY on Jan 22, 2008 6:27 AM

    Hi Santosh
    Am not really sure if RV14BTCI can not be used for other applications apart from V and M.
    You can try using BAPI: BAPI_PRICES_CONDITIONS. Over the forum you can find few example coding.
    Regards
    Eswar

Maybe you are looking for

  • Re: [iPlanet-JATO] TiledView - getting Values

    Kostas-- This is because in TiledViewBase.mapRequestParameters(), calling getChild(String name, int tile) before setting the values in the request, will not set the location for the models other that the primary model- effectively we are only setting

  • Sync errors - Can't read or write to "ipod name " disk - Possible FIX/CURE

    For those that are getting this error while syncing try the following . a . Stop Itunes from starting when plugging in your ipod ( this is temp just while doing the below and can be set back afterwards ) b . plug in ipod and go to " my computer " , r

  • JDeveloper ADF Deployment to OC4J

    Have developed a UIX/JSP in JDeveloper 9.0.5.2. It works fine as expected with the JDeveloper embedded OC4J server. JSP is a master detail page, can scroll through master records and see detail lists. Deployment is successful to standalone OC4J...But

  • Passing SQL-Parameters to Oracle-Reports from java

    hello, i want to write an application in the following way: on a java-frontend an user can select values for different parameters. these values should be to transferred to the sql- query of the reports rdf file. what is the syntax of an parameter pas

  • Any help from apple with linking text blocks in pages?

    I finally caved and updated to Yosemite.  Pages has been my go-to page layout forever.  But now I cannot link text blocks???  Is there a work around?