How list idoc / BTCI with a script  (sap::rfc) ?

Hello,
as a beginner in SAP,
I'm looking to find a way to list idoc with a perl ( or a php  or a VB) script 
equivalent to a WE05 transaction and also for the BTCI transaction.
Thank you

It sounds like he has only worked with RESTful interfaces and doesn't remember when the world mostly worked with GET and POST. RESTful interfaces also support PUT, DELETE, and I think some other thing I forget at the moment. Mainly, he just needs to educate himself about how basic form/html sends work and have worked since like the 90's, but here are some things that might help you and him speak to each other.
Flash isn't really able to use anything but GET and POST, so basically it sounds like you just need to tell him "POST" for command type.
Flash can't send headers, so those aren't applicable. If he wants to use an encoding type, he can send "multipart/form-data", though I don't think the back-end cares one way or another about that.
Tell him to send just individual POST variables, and that you're not looking for JSON or anything fancy like that.
If you're not trying to leverage existing back-end code and want to meet him halfway, do a web search on writing RESTful web services in your language of choice. But honestly this is basic stuff he should have learned BEFORE he learned to just call web services. You may also find that the Dreamweaver forum can give you better answers about how to learn to write web services if that's what you want to do.

Similar Messages

  • Any report or Table to see the list of orders  with errors  in SAP CRM?

    Hello All,
    Can anyone help me in getting  a table or report  to find the list of orders with errors in SAP CRM?.
    Let me know if you need any additional information.Thanks in advance.
    Cheers
    Sreedhar
    Edited by: sreedharhazari2 on May 26, 2010 11:59 AM

    Hello Chait,
    I got the solution  by this report CRM_ORDER_CHECK_STATUS.
    Anyhow thanks very much for your inputs.
    Cheers
    Sreedhar
    Edited by: sreedharhazari2 on May 30, 2010 8:48 AM

  • Error calling "RfcRegisterServer" with NW or SAP-RFC

    Hello,
    with our customer upgrading to the EHP 7.0 we run into an erroro while calling the function "RfcRegisterServer"
    with SAP-NetWeaver:
    Contents of structure “RFC_ERROR_INFO“:
    code = 1
    message = (0x0A)ERROR       service '?' unknown(0x0A)(0x0A)TIME        Thu Apr 10 15:24:30 2014(0x0A)RELEASE     711( 0x0A)COMPONENT   NI (network interface)(0x0A)VERSION     39(0x0A)RC -3(0x0A)DETAIL NiErrSet(0x0A)COUNTER     120(0x0A)
    key = RFC_COMMUNICATION_FAILURE
    group = 4
    abapMsgNumber =
    abapMsgClass =
    abapMsgType =
    abapMsgV1 =
    abapMsgV2 =
    abapMsgV3 =
    abapMsgV4 =
    Function “RfcWaitForRequest“ with classical SAP-RFC:
    Contents of structure “RFC_ERROR_INFO_EX“:
    key = RFC_ERROR_COMMUNICATION
    message = CPIC-CALL: 'SAP_CMACCPTP : rc=20(0x0A)(0x0A)LOCATION    SAP-Gateway on host dehensv233.de.henkelgroup.net / sapgw92(0x0A)ERROR       registration of tp master.down.wtr from host(0x0A) dewtdbtec03.de.henkelgroup.net not allowed(0x0A)(0x0A)TIME        Thu Apr 10 14:33:45 2014(0x0A)RELEASE 740(0x0A)COMPONENT   SAP-Gateway(0x0A)VERSION 2(0x0A)RC 720(0x0A)MODULE      /bas/740_REL/src/krn/si/gw/gwxxrd.c(0x0A)LINE 3536(0x0A)COUNTER     880458233(0x0A)
    Any thoughts of how we can fix this issue?
    With king regards.

    Hi Jan,
    Please go through SAP Note "1850230 - GW: "Registration of tp <program ID> not allowed" and try to again rerun this step where you are getting error.
    Regards,
    Jitendra

  • How to grab data with VBA from SAP Structure or Transaction

    Hi,
    my goal is to grab the data from the transaction cm01 and cm38 for reporting purposes with VBA in Microsoft Access automatically.
    I'm yet able to download several tables with the RFC_READ_TABLE module, but since SAP only tells me that there is the structure RC65D behind the fields in cm01, I'm not able to use the RFC_READ_TABLE module for grabbing the data from cm01.
    Does anyone know a way to grab the data from a structure like RC65D or from a transaction like cm01 with VBA?
    Thanks in advance!
    NicoDr
    Edited by: NicoDr on Feb 17, 2012 5:14 PM

    Hi Yang,
    If you are using Web Service, then the binding will be done automatically.
    It can't grow automatically, what else should i do to achieve this?
    1.Select the table(make sure you are not selecting subform) in Hierarchy view
    2. Under table select the Row which is having the required fileds for data
    3. In the Binding of that row, check the checkbox "Repeat Row for each item data" and under that check the Min Count which will set the default row **** to 1
    Regards,
    Sachin

  • How to apply style with grep script to finding question mark

    app.findGrepPreferences = app.changeGrepPreferences = null;      
    app.findGrepPreferences.findWhat = "\?";
    //app.findGrepPreferences.SpecialCharacters = SpecialCharacters.QUESTION_MARK;
    app.findGrepPreferences.appliedParagraphStyle = "myParS";
    app.activeDocument.changeGrep(); 
    app.findGrepPreferences = app.changeGrepPreferences = null;

    Put one more "\" in front of "?".
    and to appy "myParS" style,
    app.findGrepPreferences.appliedParagraphStyle = "myParS"; this line should be changed to app.changeGrepPreferences.appliedParagraphStyle = "myParS";

  • Help! Need to know how to swap depths with Action Script 3

    So i have several movie clips all on one layer.  Its an interactive gallery where when a photo is selected it plays the movie clip and the photo grows to fill the screne.  The problem is, since the animations take part within the movie clips and all the movie clips exist on the same layer when they are selected and grow to fill the screne they are being hidden behind all the movieclips infront of it in that layer.  I know that there is an action to bring movieclips to the highestdepth or to front on click/release but i do not have a clue where to start. But I am working in actionscript 3.0
    If it will help we can post a link to the flash file.
    Thanks!

    I would probably use setChildIndex like
    container.setChildIndex(clickedOnClip, container.numChildren - 1);
    you could make a more general bring to front as well:
    function bringToFront(obj:DisplayObject):void
        obj.parent.setChildIndex(obj, obj.parent.numChildren - 1);

  • To print labels with barcodes in sap-scripts

    how to print labels with barcodes in sap-scripts . explain with example.

    Hi,
    What was wrong with the answers you were given the first time you asked this question?
    labels with barcodes in smart forms
    Why have you ignored their efforts and logged the same question again?
    Nick

  • How to write a SQL query in SAP B1 2007 B with input parameters?

    How to write a SQL query in SAP B1 2007 B with input parameters, on execution of which will ask for some input value from the user and the values will be selected from a list such as item list?

    The syntax like
    SELECT * FROM OITM T0 WHERE T0.ItemCode = '[%0\]'
    Thanks,
    Gordon

  • How to find out which list is associated with specific incoming email address

    Hey Guys,
    I've a received a request today from a user asking me which list was setup with a specific incoming email address.
    Is there a way to find out which list is associated with an email address?
    Thanks

    OK after a bit of research I found a way to achieve this.
    I simply looked up the email address in ADUC, then did a search in SP with the display name. I could locate the list and manually confirm it was configured with the incoming email address I was looking for.
    I also found the below script on Stackoverflow, but got "The 'using' keyword is not supported in this version of the language." when I tried to run it. Any idea how to fix that? I'd like to have a script to link a library to an email address istead of the
    manual approach described above.
    http://stackoverflow.com/questions/4974110/sharepoint-how-do-i-find-a-mail-enabled-list-if-i-only-have-the-email
    $SiteCollection = ""
    $EmailAddress = "" # only the part before the @
    # Load SharePoint module if not done yet
    if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) {Add-PSSnapin Microsoft.SharePoint.PowerShell;}
    cls
    using System;
    using Microsoft.SharePoint;
    namespace FindListByEmail
    class Program
    {a
    static void Main(string[] args)
    string siteUrl = $SiteCollection;
    string email = $EmailAddress;
    using (SPSite site = new SPSite(siteUrl))
    foreach (SPWeb web in site.AllWebs)
    try
    foreach (SPList list in web.Lists)
    if (list.CanReceiveEmail)
    if (list.EmailAlias != null && list.EmailAlias.Equals(email, StringComparison.InvariantCultureIgnoreCase))
    Console.WriteLine("The email belongs to list {0} in web {1}", list.Title, web.Url);
    Console.ReadLine();
    return;
    finally
    if (web != null)
    web.Dispose();

  • How to list Sales Order with credit block

    Hi, Gurus,
    I really don't know how to list sales orders with credit block?
    Is there any way for end user to do it?
    If so, is it possible to list SO with credit block for certain period of time such as one month?
    Any help would be appreciated.

    HI
    Check T-Code VKM2 (Released documents)
    You need to check VKM1 (Blocked Documents)
    Sorry before i gave wrong information , myself i corrected VKM2 for released not for blocked list (Due to non Availability of SAP access )
    Regards,
    Prasanna
    Edited by: prasanna_sap on Feb 7, 2012 7:12 AM

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT .
    by using PERFORM ......ENDPERFORM
    I don't know how to used it .

    Hi Sandeep,
    Please check this link
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
    http://www.allinterview.com/showanswers/37425.html
    Calling ABAP Subroutines: PERFORM
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = u2018|u2019. "First page
    ELSE.
    OUT_PAR-VALUE = u2018||u2019. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Best regards,
    raam

  • How to  include a report  into the  SAP-SCRIPT

    plz tell me 
    How to  include a report  into the  SAP-SCRIPT
    ASAP

    creat a z report like this....................
    REPORT  zmmgl_picklist1.
    TABLES : likp,ltap,ltak.
    data : lv_NUM1 type c .
    data : lv_NUM type c.
    *&      Form  get_data1
          text
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data1 TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
    READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
    lv_NUM = lv_NUM1 + 1.
    out_data-name = 'lv_NUM'.
      out_data-value = lv_NUM .
    APPEND out_data.
    endform.
    *&      Form  get_data
          This form is to read  details from  LIKP    *
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
      READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-BLDAT'.
      out_data-value = likp-bldat.
      APPEND out_data.
       READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
      out_data-name = 'LIKP-VSTEL'.
      out_data-value = likp-vstel.
      APPEND out_data.
    READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-KUNNR'.
      out_data-value = likp-kunnr.
      APPEND out_data.
    ENDFORM.                    "get_data.
    after this go to the script editor......
    /: perform get_data in program zmmgl_picklist1.
    /: using &ltap-vbeln&                 (Reference field.this field          should be there in both program and script.....)
    /:changing &likp-bldat&         
    /:changing &likp-vstel&
    /:changing &likp-kunnr&
    \[removed by moderator\]
    Regards
    Anbu
    Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM

  • How can I retrieve a List of BAPIs with JCO?

    Hello!
    I want to retrieve a list of BAPIs in Java. Does anyone have a code sample how to do this with JCO and SWO_QUERY_API_METHODS?
    Regards,
    Jan

    Hi Diana,
    I've written a small example here (refresh my rusty JCo!) which returns just the function names in a Vector.
    Hope this helps,
    Gregor
    * Fetch a list of BAPIs
    * @author Gregor Brett
    import com.sap.mw.jco.*;
    import java.util.*;
    public class GetBapis
       private JCO.Client client;     
       private JCO.Repository repository;
       private Vector bapis;
       public GetBapis()
          try
             client = JCO.createClient("CLIENT","USERNAME","PASSWORD","EN","SERVERNAME","00");
             client.connect();
             repository = new JCO.Repository("Gregor", client);
               IFunctionTemplate ftemplate = repository.getFunctionTemplate("SWO_QUERY_API_METHODS");
               JCO.Function function = ftemplate.getFunction();
               client.execute(function);
                JCO.Table table = function.getTableParameterList().getTable("API_METHODS");
                bapis = new Vector();
             do
                JCO.Field functionName = table.getField("FUNCTION");
                   bapis.add(functionName.getString());
               while(table.nextRow());
          catch(Exception e)
             System.out.println("Error: " + e.getMessage());
             e.printStackTrace();
       public Vector getBapiList()
               return bapis;
       public static void main(String[] args)
               GetBapis gb = new GetBapis();
               Vector v = gb.getBapiList();
               System.out.println("Fetched " + v.size() + " BAPIs.");

  • How outbound IDoc with Z segment is creating without using a program/FM?

    Hi,
    I am having an outbound IDoc with Z message type and segments.
    I need to find how this IDoc/ IDoc segment is getting created. I tried to find
    it using the segment’s where used list (in SE11- IDoc segment structure). But it
    is showing that the structure and fields are not used anywhere.
    How it is possible to create a Z segment in IDoc without
    using the corresponding structure in some program or function module?
    I have searched in google/scn for a solution, but didn’t find
    anything.
    Any one please helps me to find how this IDoc segment is
    populating?
    Regards,
    Dipin

    Hi Arthur,
    This IDoc is catering as part of a flow (Tcode IW21). I have
    set a break point in the function module ALE_IDOCS_CREATE and processed the transaction
    IW21, but the program didn’t stop in the break point, but the IDoc got created.
    Regards,
    Dipin

  • How can i use C# method to SAP IDoc

    Dear Friends
    i have to do one scenario in which i have to connect to database let us say SQL Server but i can't touch Database directly i can call a C# method(3rd party application is in .NET) and using XI i have to send it to SAP iDOC.
    can any one help me in this how to proceed
    Thanks in Advance.
    Ishika

    <i>Do you have any document for that on how to do it with webservices.</i>
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    See this
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Prateek

Maybe you are looking for

  • Problem with PRC Generate Draft Invoice

    Hi PRC Generate Draft invoice does not generate an invoice for select customers. Receive the "No Eligible Expenditures or Events" message - however there is a valid manual billing event created. Validated that all prerequisite information has been co

  • Officejet 4620 All in one Not printing even with new cartridge

    My printer has suddenly stopped printing. There are no error messages. My ink level is full. It slowly started "running" out of ink as I was printing. New cartridge. Cleaned printer heads twice. Ran print quality report and it acted like it was print

  • Toshiba 39l22u EDID bad?

    I can't break past 1360 x 768 no matter what changes I made to the registry and how many times I uninstall and reinstall the ATI drivers on my windows 7 PC. All other connections like HDMI can display in 1080p well. Anyone have any suggestions? I hav

  • Error when trying to use Software update

    I was trying to update the software on my Powerbook when I get the following message from the software update: Make sure you have permission to write to /tmp/501/Temporary Items/com.apple.Software Update, then try again. Does anyone know what this me

  • Fetching Email-Id from ZTABLE.

    Dear All, I have a requirement in which i have to fetch email-id of users from a Z-table based on workcenter (for Tcode IW31/32) value. The Z-table contains the Workcenter - Email Id combination. I have the work center value in my workflow container