Webdynpro ---- BAPI/FM used in service call to get sales order

Hi
I need to have a main view which contain an inputfield to insert a sales order, then check whether the sales order is existed in database, at last, pop up a message box to show the feedback.
So which FM or BAPI shall I have to use during service call?
Best Regards!
Stephanie

Hi,
Use the BAPIs
To create -
BAPI_SALESORDER_CREATEFROMDAT2
To change -
BAPI_SALESORDER_CHANGE
I assume that you are trying to create a sales order or You want to change the salesorder.
For the sales order we need to write a selelct query on the check table for the existence of the sales order.
Please try to use the SE37 Tcode to view all the BAPIs related to salesorder.
Are you using WD for Java Or ABAP or BSP.
Please a\let me know in case of  any issues.
Regards
Lekha

Similar Messages

  • BAPI/FM used in service call to get sales order

    Hi
    I need to have a main view which contain an inputfield to insert a sales order, then check whether the sales order is existed in database, at last, pop up a message box to show the feedback.
    So which FM or BAPI shall I have to use during service call?
    Best Regards!
    Stephanie

    Hi Stephanie,
    Both the replies given above are correct. Service call is nothing but a method in the Component Controller/Custom Controller of WD Component. It internally calls a function module and does all the required binding to the Context nodes.
    In your scenario, even if you use a service call, finally you will have to check the output and invoke a method of the message manager.
    Writing a simple query onEnter of the input field should be the best for you.
    select single vbeln
    from vbak
    into lv_vbeln
    where vbeln = <value of input field> .
    if sy-subrc = 0.
    * show message using message manager
    else.
    endif.

  • Using service call to get sales order

    Hi,
    Which FM or BAPI can I use to get the sales order?
    Thanks a lot.
    Best Regards!
    Stephanie

    you can use the below functions, but they give all header and item mixed in one table.
    SD_SELECT_SALES_DOCUMENTS
    or
    RV_SALES_DOCUMENT_VIEW_3

  • BAPI to create notification service with reference to sales order

    Hi,
    My need is to create a service notification TC IW51 with reference to sales order (credit memo request).
    is there a bapi to do this or i must do a bdc?
    please help.
    A+
    Ihsen ABROUG

    I have custom screen fields on notification service!
    i think a bdc is better.

  • ABAP source code to connect to third party systems using web service calls?

    Hi all,
              can any one provide an example ABAP source code to connect to third party systems using web service calls? The base system is CRM.

    Do you want to call a web service in a remote system, or do you want to provide a web service?
    If you want to call a web service you should create a proxy object via SE80. Open your development package, right click on the tree entry and choose: Create -> Enterprise Service / Web Service -> Proxy Object and provide the needed information (including the WSDL description file). You may then use the proxy object to call the web service (if the connection and everything else works right).
    See [http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm]

  • No point of using Skype.. calls are getting drop f...

    No point of using Skype.. calls are getting drop frequently..
    I have waisted time and money too here.
    My calls are getting dropped again and again.. now i am thinking how to finish available balance.
    anybody can suggest me how to use my rest money because calling someone is not worth.

    Please,  run the DirectX diagnostics tool. Go to Windows Start  and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post. Be aware that you will have to zip this file before attaching it here.

  • Should we use ORDER05 or SALESORDER_CREATEFROMDAT2 to place sales orders?

    Hello all,
    Should we use ORDER05 or SALESORDER_CREATEFROMDAT2 to place sales orders in SAP?
    I know ORDERS05 is using call transaction to create it an the other one is using a BAPI.
    One was released for version 46C and the other one from 620
    It seems as we need to use the second one but I'm not sure the functionality or what is the purpose for this last message type.
    My disconcert is just because I was expecting ORDERS06 for new versions...
    Thanks in advance.
    Jorge Rosa.

    You can check OSS Note 550431 - FAQ: BAPI in sales - general questions and Note 550726 - FAQ: BAPIs in sales - restrictions for addition information.
    Regards,

  • BAPI for Outbound Delivery Creation with reference to Sales Order

    Dear all,
    I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
    I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
    However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
    Thanks.
    Steven
    Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
    Edited by: Steven Khoo on Mar 25, 2010 7:14 AM

    Not required anymore

  • BAPI/FM to get sales order incompletion log

    Hi friends,
    I need a FM/BAPI to read the incompletion log of a sales order. Any advice on that is much appreciated.
    regards,
    Prabhu

    Hi,
    try this FM:
    CALL FUNCTION 'EHS003_CHECK_INCOMPLETENESS'         
      EXPORTING                                         
        DIALOG      = SPACE                             
        FEHGR       = TVAK-FEHGR                        
        TBNAM       = 'DGMSD'                           
        DIA_VISIBLE = CHARX                             
        I_VBTYP     = VBAK-VBTYP                        
        I_VBELN     = VBAK-VBELN                        
        I_VBAK      = VBAK                              
      TABLES                                            
        I_VBUV_LAST = HVBUV                             
        I_VBUV_TAB  = XVBUV                             
        I_VBUV_DIA  = DVBUV                             
        I_VBAP      = XVBAP                             
      EXCEPTIONS                                        
        OTHERS_     = 1.

  • Prevention of delivery when using "user status profile" for a sales order?

    Hi,
    I have used "user profile status" in the sales order "as a work flow" for releasing the sales order.
    The user profile are as follows
    a) 10: created
    b) 20: Released
    But I believe I am still able to create the delivery when the order status is still "10" created.
    Any advise, user exit or workaround or should this happen.
    Usefull answers will be rewarded.
    Thanks

    Dear Rajiv,
    Please go through this SAP help link it will help you about Status Management in the sales order processing.
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/560629545a11d1a7020000e829fd11/frameset.htm
    I hope htis will help you,
    Regards,
    Murali.

  • Can I use the customer requirement number as sales order in 'Goods issue MB

    Can I use the customer requirement number as sales order in 'Goods issue MB1A'?
    Thanks,
    Tiger

    Why I used the customer requirement in MB1A as the sales order, Update was terminated.
    Thanks,
    Tiger

  • Any function module or bapi to get sales order number and invoice number?

    hi all,
    with delivery order number provided, do we have any function module or bapi to get sales order number
    and invoice number?
    thanks.

    Hi,
    Check
    BAPI_SALESORDER_CREATEFROMDAT1
    BAPI_REMUREQSLISTA_CREATEMULT  Agency Business: BAPI Create Invoice Lists from Vendor Billing Documents
    BAPI_REMUREQSLISTB_CREATEMULT  Agency Business: BAPI Create Invoice Lists from Payment Documents
    BAPI_REMUREQSLISTC_CREATEMULT  Agency Business: BAPI Create Invoice Lists from Posting Lists
    BAPI_REMUREQSLIST_CHANGEMULT   Agency Business: Change Invoice List Documents BAPI
    BAPI_REMUREQSLIST_GETLIST      Agency Business: BAPI Determine Detailed Data for Invoice List Documents
    BAPI_REMUREQSLIST_RELEASE      Agency Business: BAPI Release Invoice List Documents to FI
    Edited by: Neenu Jose on Nov 26, 2008 8:53 AM

  • Which Smartform is used for output of a (confirmation) sales order ( in tra

    Where in customizing I can see which Smartform is used for output of a (confirmation) sales order ( in transaction VA02/VA03) and which print program.
    If the mechanism is different please let me know
    Thx in advance(right answers will be rewarded)

    Hi Tina,
    This is very simple.
    You can go to transaction NACE
    Now click on Output Types, here against your output type you can see what is the smart form attached in the field processing requirements.
    If its order confirmation, it would either be standard BA00 or a copy of that, maybe the naming convention would help you.
    Also If you click on the extreme left hand button in NACE, you can see against your output type what are the records maintained, and under communication tab, you could get to see the printer setting.
    Hope this solves your query.
    Reward suitably if helpful.
    Regards
    Ravi

  • How to get sales order number before saving in VA01 by using parameter

    Hi,
    Please let me know how to get sales order number in transaction VA01 before saving it by using parameter in SU3.
    I tried to set parameter in SU3 "AUN", but it is not working as required, means sales order number is not appearing before saving.
    can you please suggest how to do it?
    Thanks & Regards.
    Rahul Verulkar

    Hi,
    In case of Support project, we get the high severity issues from users and needs to be closed withn 2 hours... so what we do we get the requirement from user and checking the same in production from our id, but we can not save the sales order as we are not authorized to do the same, so in such cases it is required to get the sales order number before saving... where we can guide the users.... but actuallly it is not getting saved in the table until and unless u save it manually. It works like a material master... when u create material master, the material number appears in advance in material number field "MATNR"
    If it is possible can you please suggest step by step to work on parameter in SU3 for sales order number before saving.
    Thanks & regards,
    Rahul Verulkar

  • How can I use web service call for edit a report with SSRS in Java Struts2 web application

    Hello im new in SSRS technologie and I would like make web service call at my SSRS server. Is sombody can help me ?
    - What API should I import in my project ? I use Maven can I found this API on Maven repository ?
    - I would like have an sample of code which initialize the ReportingService, do the call and process result.
    We use the SQL Server ReportingService 2008 R2 and currently we made HTTP call like this : http://<ssr_server>/ReportServer/Pages/ReportViewer.aspx?%2fSSRS_OMB%2fMyReport&rs:Command=Render&MyParam=<value>
    Regards

    Hi ombinte,
    SQL Server Reporting Services provides access to the full functionality of the report server through the Report Server Web service. Because the Report Server Web service is an XML Web service which uses Simple Object Access Protocol (SOAP) over Hypertext Transfer
    Protocol (HTTP), any SOAP-aware application or development tool can communicate with the SSRS web service.
    There are three primary ways to develop Reporting Services applications based on the Web service, please see:
    Develop applications using Microsoft Visual Studio and the Microsoft .NET Framework SDK.
    Develop applications using the rs utility (RS.exe), the Reporting Services script environment.
    Develop applications using any SOAP-enabled set of development tools.
    For more information about Report Server Web Service, you can refer to the following document:
    http://technet.microsoft.com/en-us/library/ms152787.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • My Iphone 5 won't connect to my PC

    My Iphone 5 won't connect to my PC. When I plug it in to my PC nothing happens at all. My cord chargers on the charger so I dont think the cord could be the problem. Also I updated all my PC software, as well as my Iphone and still nothing. I tried p

  • AE n - What worked for me

    I am an experienced AE user and owner of four of the 1st gen "g" type which I use with an AX "n" base station to stream music wirelessly around my house. I have previously gone through the setup procedure a dozen or more times and if you want to add

  • Error while running hz_cust_account_site_v2pub.update_cust_site_use

    Hi All, I am getting below error while trying to update the location on the customer sites. "This record in table hz_cust_site_uses cannot be locked as it has been updated by another user." i am using below script for update "/* Formatted on 2013/01/

  • 59.94iシーケンスで.Mercury EngineがGPUモードだと.SDI出力が29.97Pになってしまう.

    現在.Decklink SDIとPremiere CS6の組み合わせのテストをしているのですが. Mercury EngineがGPUモードの場合. SDIから出力される信号は1080iなのですが.どうも偶数フィールドが表示されていないようなのです. テストのため.四角が素早くスライドする検証用の動画(1080i 29.97(奇数優先)のProresHQ)を作って再生させたところ. 明らかにガクついて30Pっぽい動きをします. FinalCut7やFinalCutXでDecklink SDI経由

  • How to move all contacts from phone to sim card?

    Could someone advise me how to move all contacts in my Treo 500 from the phone to its SIM card, and what is the capacity of the SIM card as I have approx 700 contacts in the phone. Thanks, Stuarp77 Post relates to: Tungsten E