Use SAP T-CODE UI in SAP BPM

Hi Experts,
With the new release of SAP BPM 7.2, will it be possible in a process to directly call a screen of specific transaction code. For example, instead of building a screen with Visual Composer to get the information to post a goods receipts and then pass this info to a service, is there a way to get directly the UI of transaction MB01 for a specific system?
This is because SAP UI often haves a lot of validation incorporated within the screen, if we build custom UI with visual composer or web dynpro, we have to recreate these validations.
Thanks!
Martin

Hi Martin,
unfortunately, this capability won't be part of SAP NW CE 7.2 either.
Cheers, Benjamin

Similar Messages

  • SAP Custom Code Maintainability Service - SAP AG only

    As an Enterprise support customer I have a quick question on Custom Code Maintainability Service
    We have previously requested this service from SAP and they have generated and gave us the report.
    My question:
    Is this service ONLY being done by SAP, or are we (as customers) also allowed to run this service ourselves?.
    When I look in the services available I cannot find the service to create and run myself. I am currently putting in some serious time to set-up the custom code life cycle management (CCLM). As part of this I would also like to run the service and generate the report myself, as I have done with some other service like TEA (Transport execution analysis)
    I have no problems with using CDMC (Custom development management cockpit) and to generate reports there, but it would be nice to actually run the service and generate the report ourselves.
    Much apreciated your feedback.

    Hi Midhun,
    thank you for your quick response!
    I have already used SOAPUI to test my query.
    >it's creating an xml file in a specific format where you need to pass values to get the output.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
       <soapenv:Header/>
       <soapenv:Body>
          <urn:ZGetcustomerWebservice>
             <!--Optional:-->
             <ImCount>5</ImCount>
             <!--Optional:-->
             <ImKunnr>
                <!--Zero or more repetitions:-->
             </ImKunnr>
          </urn:ZGetcustomerWebservice>
       </soapenv:Body>
    </soapenv:Envelope>
    Is this the xml file you mentioned?
    I checked the following blog and tried debugging, but I couldn't see any variables value...
    Debugging Custom Script in Integration Gateway
    Here is my custom code:
    function processRequestData(message) {
       message.setHeader("Authorization", "Basic XXXXXXXX=");
       importPackage(com.sap.gateway.ip.core.customdev.logging);
       importPackage(com.sap.gateway.ip.core.customdev.util);
       importPackage(org.apache.olingo.odata2.api.uri);
       importPackage(java.util);
       importPackage(com.sap.gateway.core.ip.component.commons);
       importPackage(com.sap.gateway.ip.core.customdev.api);
       parentMap = new LinkedHashMap();
       parentMap.put("IM_COUNT", "5");
       //Set the message body back
       message.setBody(parentMap);
       //Logger
       importPackage (com.sap.gateway.ip.core.customdev.logging);
       log.logErrors(LogMessage.TechnicalError, "This is first log"+message.getBody().toString());
      return message;
    Authorization is perfectly working but others are not.
    It would be great if you could have suggestions.
    BR,
    Hanae

  • Using the Open Catalog Interface (OCI) between SAP-ECC 6.0 and SAP-MDM

    Hello ASUG Community.
    I'm working on an SAP-MDM project where we will configure the OCI interface between SAP-ECC 6.0 and SAP-MDM.  The business requirement will be to punch out to SAP-MDM's catalog from SAP-ECC for expensed items (e.g., no material master record exists in SAP-ECC).
    The data that will be returned to SAP-ECC will be purchase price info, material group, short text, & our global SAP-MDM item number.
    The question I've been trying to design around is "where to store the SAP-MDM item number"?
    I've looked into creating a custom filed on EKPO but now feel that a configured text field will be the best solution from an SAP-ECC point of view (less effort on the SAP-ECC side from a development perspective, no need to regenerate the EKPO table, etc.).
    The question I'd like to pose to ASUG is.... Does anyone have experience or an opinion to offer using this functionality?  It seems that I will have to code in a user exit or BAdi to insure that the SAP-MDM item numbers are returned to the appropriate text field on my POu2019s.  Or can this be done using the standard OCI functionality?
    I found OSS note 1347656 which references BADI "ME_CATALOG_INTERFACE" but I'm not sure if this right path to go down or if this would be the correct place to code non-conforming OCI mapping requiremetns.
    Any insight would be most appreciated.
    Thanks.  Sincerely,
    Rich Wortmann

    I would suggest you create a new field for this as you may require thois going forward for reporting as well. Text fields are difficult to report.
    Sorry not sure about the BADI to use.

  • T-Code to view SAP Document no.

    Dear,
    Need a T-code to view SAP Document number created while SAP Stock Creation.
    After creation through MB1C a number is generated & i need to know what is the process to get this Document Number.
    Thanks in Advance.

    hi,
    You can check MSEG table to get numbers..
    Or USe MB51 to get list of material document as per your selections on the initial screen...
    Regards
    Priyanka.P

  • Report from SAP Quickviewer code

    Hi,
    I have been given a code generated by SAP Quickviewer (transaction SQVI). The client expects me to design an ABAP Report using this code as a guideline. Is this practically possible. I don't even have access to the name of the quickview. No tech spec too.
    Some lines of the code: Just to give you guys the feel of it...
    REPORT AQL3SYSTQV000116ORDERS_CPR====
       LINE-SIZE 253 NO STANDARD PAGE HEADING LINE-COUNT 000(001).
    INCLUDE <SYMBOL>.
    INCLUDE <ICON>.
    SELECTION-SCREEN: BEGIN OF BLOCK PROG
                               WITH FRAME TITLE TEXT-F58.
    %FA00000 /BAY0/AXCMR_AUT2-SUBSTITUTE
    TABLES /BAY0/AXCMR_AUT2.
    TABLES VBAP.
    TABLES VBPA.
    TABLES /BAY0/AXCMR_CPR.
    *TABLES KNA1.
    DATA AVBEGKNA1 LIKE KNA1.
    TABLES KNA1.
    TABLES VBAK.
    DATA %COUNT-VBAK(4) TYPE X.
    DATA %LINR-VBAK(2).
    SELECT VBAKANGDT VBAKAUART VBAKBNDDT VBAKERDAT VBAK~ERNAM
           VBAKERZET VBAKKUNNR VBAKVBELN VBAKVKORG VBAP~ABGRU
           VBAPARKTX VBAPMATNR VBAPPOSNR VBAPPRODH VBAP~VBELN
           /BAY0/AXCMR_CPRKUNAG /BAY0/AXCMR_CPRKUNWE
           /BAY0/AXCMR_CPRMATNR /BAY0/AXCMR_CPRPRICE
           /BAY0/AXCMR_CPRVKORG VBPAKUNNR VBPAPARVW VBPAVBELN
           AVBEGKNA1KUNNR AVBEGKNA1LAND1 AVBEGKNA1NAME1 AVBEGKNA1ORT01
           /BAY0/AXCMR_AUT2ML1 /BAY0/AXCMR_AUT2ML2 /BAY0/AXCMR_AUT2~ML3
           /BAY0/AXCMR_AUT2ML4 /BAY0/AXCMR_AUT2OBJID
           /BAY0/AXCMR_AUT2PRICE /BAY0/AXCMR_AUT2SUBSTITUTE
           /BAY0/AXCMR_AUT2VKORG KNA1KUNNR KNA1LAND1 KNA1NAME1
           KNA1~ORT01
    INTO (VBAK-ANGDT , VBAK-AUART , VBAK-BNDDT , VBAK-ERDAT , VBAK-ERNAM
         , VBAK-ERZET , VBAK-KUNNR , VBAK-VBELN , VBAK-VKORG , VBAP-ABGRU
         , VBAP-ARKTX , VBAP-MATNR , VBAP-POSNR , VBAP-PRODH , VBAP-VBELN
         , /BAY0/AXCMR_CPR-KUNAG , /BAY0/AXCMR_CPR-KUNWE
         , /BAY0/AXCMR_CPR-MATNR , /BAY0/AXCMR_CPR-PRICE
         , /BAY0/AXCMR_CPR-VKORG , VBPA-KUNNR , VBPA-PARVW , VBPA-VBELN
         , AVBEGKNA1-KUNNR , AVBEGKNA1-LAND1 , AVBEGKNA1-NAME1
         , AVBEGKNA1-ORT01 , /BAY0/AXCMR_AUT2-ML1 , /BAY0/AXCMR_AUT2-ML2
         , /BAY0/AXCMR_AUT2-ML3 , /BAY0/AXCMR_AUT2-ML4
         , /BAY0/AXCMR_AUT2-OBJID , /BAY0/AXCMR_AUT2-PRICE
         , /BAY0/AXCMR_AUT2-SUBSTITUTE , /BAY0/AXCMR_AUT2-VKORG
         , KNA1-KUNNR , KNA1-LAND1 , KNA1-NAME1 , KNA1-ORT01 )
    FROM ( VBAK
           INNER JOIN VBAP
           ON VBAPVBELN = VBAKVBELN
           INNER JOIN /BAY0/AXCMR_CPR
           ON /BAY0/AXCMR_CPRKUNAG = VBAKKUNNR
           AND /BAY0/AXCMR_CPRVKORG = VBAKVKORG
           AND /BAY0/AXCMR_CPRMATNR = VBAPMATNR
           INNER JOIN VBPA
           ON VBPAKUNNR = /BAY0/AXCMR_CPRKUNWE
           AND VBPAVBELN = VBAPVBELN
           INNER JOIN KNA1  AS AVBEGKNA1
           ON AVBEGKNA1KUNNR = /BAY0/AXCMR_CPRKUNWE
           INNER JOIN /BAY0/AXCMR_AUT2
           ON /BAY0/AXCMR_AUT2PRICE = /BAY0/AXCMR_CPRPRICE
           AND /BAY0/AXCMR_AUT2VKORG = /BAY0/AXCMR_CPRVKORG
           INNER JOIN KNA1
           ON KNA1KUNNR = /BAY0/AXCMR_CPRKUNAG )
           WHERE VBAK~ANGDT IN SP$00003
             AND VBAK~AUART IN SP$00001
             AND VBAK~BNDDT IN SP$00002
             AND VBAK~ERDAT IN SP$00004
             AND VBAK~ERNAM IN SP$00005
             AND VBAP~ABGRU IN SP$00010
             AND VBAP~MATNR IN SP$00006
             AND VBAP~POSNR IN SP$00007
             AND VBAP~PRODH IN SP$00009
             AND VBAP~VBELN IN SP$00008
             AND /BAY0/AXCMR_CPR~KUNAG IN SP$00016
             AND /BAY0/AXCMR_CPR~KUNWE IN SP$00015
             AND /BAY0/AXCMR_CPR~MATNR IN SP$00014
             AND /BAY0/AXCMR_CPR~PRICE IN SP$00013
             AND VBPA~KUNNR IN SP$00011
             AND VBPA~PARVW IN SP$00012
             AND /BAY0/AXCMR_AUT2~ML1 IN SP$00022
             AND /BAY0/AXCMR_AUT2~ML2 IN SP$00021
             AND /BAY0/AXCMR_AUT2~ML3 IN SP$00020
             AND /BAY0/AXCMR_AUT2~ML4 IN SP$00019
             AND /BAY0/AXCMR_AUT2~OBJID IN SP$00018
             AND /BAY0/AXCMR_AUT2~SUBSTITUTE IN SP$00017.
      %DBACC = %DBACC - 1.
    Please help with this.
    thanks,
    Vishal.

    My advice would be to make sure the client tells you what they want the new ABAP Report to do that is <u>different</u> from the Quickviewer Report.  If the client does not have a formal technical spec process, then you at least need to be told verbally or via e-mail what to change.  Without that information you cannot proceed with any meaningful development.
    Assuming that you can get that information, all you need to do is to create a copy of the Quickviewer program (via SE38) since the Quickviewer program is just a regular ABAP program.  Then you must get a feel for what the code is currently doing (understand the logic) so that you can proceed with making the changes required for the new version. 
    Another approach might be to simply get an understanding of the Quickviewer code and start your own ABAP Report from scratch (using your own preferred style of coding).
    Have fun!
    Regards,
    James Gaddis

  • How to change a Code Page in SAP SCRIPT ?

    I have a specific requirement, would need your help :
    There is a <u><b>CODE PAGE</b></u> which is getting assigned to the <u><b>SAP SCRIPT FORM</b></u>. <i><b>For E.g : 1100 is generally used for SAP SCRIPTS.</b></i>
    I would like to know if there is a possibility to change the <u><b>Code Page</b></u> based on certain conditions ??
    Also i would like to know how and where is a <u><b>CODE PAGE and SAP SCRIPT FORM linked.</b></u>
    I have analysed that a <b>default code page</b> can be set in the <b>SAP LOG ON PAD</b> but not able to find the issues mentioned above.
    Kindly help me out with your valuable suggestions and solutions.
    Thankyou
    Brijesh.

    Hi,
    MDMP means Multi Display Multi Processing. See the note system for details. The problem of MDMP is that the different languages use different codepages and not all characteres can be displayed in every codepage.
    A solution would be a unicode conversion of the system. In unicode there is only one internal codepage, which contains all special characters of the individual languages. However the migration needs several hours of down time and unicode systems need more memory and disk space. I can't tell you a percentage for that. You need at least R/3 4.7 for unicode.
    In non-unicode system I believe you can't change the codepage inside a SAPscript document directly. I would have to end form processing an start a new form. To change the language you can try the ABAP-command SET LOCALE. Also see the language parameter in START_FORM.
    If that doesn't work I would try using RFC-Connections. Make RFC-Connections in your system which contain the system it self as target system, but with the desired language filled in. You do not need to provide a user or password, that would be taken form the logged on user.
    Inside your printing program you put the real printing into a function module. Your report then can call the function via RFC using a connection in the correct logon language.
    Greetings

  • An issue using the COM components supplied with SAP GUI 6.2 or 6.4

    We are having an issue using the COM components supplied with SAP GUI 6.2 or 6.4.  We used to have SAP 4.6c and now we have 5.0.  When we were on 4.6c, we used these COM components to logon and execute RFC calls and we had much success.  Now that we are on 5.0, we can’t seem to instance any SAP functions that have something to do with SAP Workflow.  We have experienced this problem when using VB6 or .NET, but our existing code that always worked is in VB 6.0.
    SAP Components used:
    o     SAP Logon Control
    o     SAP Function Control
    o     Librfc32.dll
    o     Other supporting C DLLs and/or COM object supplied with the SAP GUI installation.
    For example, if we want to call the RFC ARCHIV_CONNECTION_INSERT, this code fails in VB6 when the “Set objworkflow = objFuncCtrl.Add(strFunction)” line of code executes.  Instead of returning an instance of the object ARCHIV_CONNECTION_INSERT function, no object is created.  In 6.2, SAP raises no errors, but the object we are trying to create is still “Nothing”.  If we use 6.4, SAP raises an error “SAP data type not supported” via a message box and then the object is still = Nothing.  Interestingly enough, the 6.2 GUI COM controls don’t display the error dialog.  The message box that is shown comes from the SAP Function COM Object "SAP.Functions" (wdtfuncs.ocx).
    Now, what is interesting is if we use the same code to call a standard function or custom function that doesn’t have anything to do with SAP Workflow, then the code works fine.  Again, all of our code used to work just fine on an SAP 4.6 system.
    Here is the code that fails:
        'SAP Logon control - object for creating connections to an SAP system
        Dim objSAPLogonCtrl As Object
        'SAP connection object
        Dim objConnection As Object
        'Object that will represent the SAP function called
        Dim objSAP As Object
        'SAP function control object - object factory for creating other SAP function objects
        Dim objFuncCtrl As Object
        'Create instance of an SAP logon conrol
        Set objSAPLogonCtrl = CreateObject("SAP.Logoncontrol.1")
        'Create a connection object
        Set objConnection = objSAPLogonCtrl.NewConnection
        'Define connecion parameters
        objConnection.ApplicationServer = "sapvm"
        objConnection.SystemNumber = "00"
        objConnection.Client = "800"
        objConnection.User = "iissap"
        objConnection.Password = "tstadm"
        objConnection.Language = "E"
        objConnection.TraceLevel = 10
        'call the logon method of the connection object
        If objConnection.Logon(0, True) = False Then
            MsgBox Error
            Exit Sub
        End If
        'Create an instance of the SAP Function control object
        Set objFuncCtrl = CreateObject("SAP.Functions")
        'Set the function control connection object
        Set objFuncCtrl.Connection = objConnection
        'Function name to be generated and called
        Dim strFunction As String
        strFunction = <b>"ARCHIV_PROCESS_RFCINPUT"</b>
        'Create an instance of the function defined in strFunction
        Set objworkflow = objFuncCtrl.Add(strFunction)
        If objworkflow Is Nothing Then
            MsgBox "Could not create object " & strFunction
        Else
            MsgBox strFunction & " object created."
        End If
    If anyone has seen anything like this or has any ideas, please help!
    Mike and Hameed
    <b></b>

    Hi,
    documentation on the Scripting API is available at ftp://ftp.sap.com/pub/sapgui/win/640/scripting/docs/
    This API is a replacement of the existing, obsolete COM interfaces.
    Best regards,
    Christian

  • Interface with SAP / Bar code scanner.

    Hello,
    we are going  to integrate bar code reader to SAP directly
    Our thought are , Scanning  the bar code and then using IDOC or directly connected to SAP - ZTables for converting the data into the SAP system..
    is it possible to convert the bar code information ( such us material / batch etc..) in to SAP with an interface.
    Any Input will be appreciated
    Thanks for your help
    JJ

    Hi JJ,
    I may be just re-iterating what has already been said, but for clarity I will put down the points again, since I was also faced with the same confusion regarding how barcode and sap will work.
    1. Barcode Scanner has nothing to do with SAP or any software.
       In simple terms, it is just like a keyboard. To demo;
        a) Plug in the barcode scanner in the USB port
        b) Open Notepad in windows
        c) The cursor will be inside the notepad
        d) Now scan the bar code against any barcode image.
              (Suppose the barcode image contains the information XYZABC)
       e) As soon as you scan, the characters   X Y Z A B C (without spaces)
          will AUTOMATICALLY GET TYPED on the screen, inside the notepad, at the place of cursor.
        Hence, the SCANNER  just acts as a KEYBOARD.
       and autommatically types in the characters WHEREVER the CURSOR is.
       We can test this using notepad, Excel, word or any where the cursor can appear.
       We can test in any standard sap screen on any text field also, etc.
    2. Saving the data in SAP.
        a) First we have to figure out how to save data in SAP,
            considering we are entering data MANUALLY.
       b) This can be a STANDARD Transaction or a Z transaction.
       c) Suppose the field / information is material number,
         then instead of TYPING the material number on the screen, in the field,
        we simply place the cursor on that field.
      d) then we simply scan the image (containing information on material n umber) and hooooooray,
        it gets automatically TYPED IN on that field.
        Thats it.  Other fields we may have to enter manually and press the SAVE button to save the data.
      Scanner just saves TYPING the information manually, and hence reduces time and error both.
    Hope this helps.
    Regards,
    Amit Mittal.

  • Problem in SAP standard code modification for FB03

    Hi Experts,
    I am adding 4custom fields in FB03 tcode by doing a SAP standard code modification in SE51.
    The program name is SAPMF05L and screen no. is 302(In some SAP verion, it is 304). This is the screen for document line item of an invoice.
    My problem is:
    When I add the fields in the screen, in which module will I put logic in the PBO and PAI as I am unable to figure out the German comments and the program structuring.
    Also, if anybody can tell me what to write as I am little bit confused about the logic of populating my fields with the values.
    FB03 is a display transaction so I have to keep my custom screen fields disabled.
    Regards,
    Sangeeta.

    Hi Sangeeta,
    For enhancing the screen of this Tcode, first of all search is there any Screen enhancement is provided by SAP or not and in case if it is provided then use that only.
    Regards
    Jagesh Lakdawala

  • Total No of pages different in report printed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8)

    Currently in our application, we are using Crystal Report XI R2 for generating the reports. We are in the process of upgrading the Crystal Report to SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). I updated that on my machine and all the reports work fine. I didn't have to modify any of the reports.
    However when comparing the reports, we found that there are few reports on which the total no. of pages differ from the report displayed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). Comparing the reports, it looks all the data that were fit on one page earlier with version XI R2 doesn't fit on the same page with version 13.8, thereby increasing the page counts.
    The fonts, page margins everything set on report itself. Nothing being set in the code.
    Both the application is using the same report that is pulling the data from the same database. Our application is a web application.
    Any suggestion, why this is happening.
    Thanks.
    Sanjay

    I am not sure what is being compared here?
    CRXI R2 designer to CRVS?
    CR XI R2 in some version of .NET to CRVS?
    CR XI R2 using RDC SDK to CRVS?
    Also, is this happening on your development computer or after you deploy?
    If you compare the the "Page setup" options dialog between reports that work and those that do not work, do you see any difference?
    Is this a web or a win app?
    Are you seeing the same issue when viewing and exporting - say export to PDF?
    What is the printer driver used and it's version?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Enter Vendor Invoice - SAP T.Code FB60

    We have received an invoice from vendor for supplies and we do not have a purchase order for this invoice. We proceed to account through SAP T.Code FB60.
    The vendor should have charged sales tax but has not. While accounting the invoice we want to record accrual for self assessed use tax.
    The system calculates the tax but assumes the invoice value is inclusive of use tax. But we know that the price is exclusive of tax and hence we need to make an additional accrual for sales tax and debit the supplies expense account.
    Can this be done? Is this how other SAP run business record this transaction?

    I will give an example to make my query more clear.
    Vendor invoice 5000, Rate of tax 7% , Entry psoted by system:
    Dr Expenses for supplies a/c 4,672.90
    Dr Sales Tax Payable a/c         327.10
    Cr Vendor a/c                       5,000.00
    Entry required:
    Dr Expesnes for Supplies a/c 5350
    Cr Vendor a/c                       5000
    Cr Sales Tax Payable a/c        350

  • Printing QR-Code barcodes in SAP smartforms

    Hi,
    Is it possible to print QR-Code barcodes in SAP smartforms using system barcode font? Can anybody please let me know the font settings for QR-Code in SE73 font maintenance?
    A sample QR-Code lablel can be found [here|http://images.orkut.com/orkut/albums2/ATUAAADhaahG5MxsqQ66lcSO9oHRWD3X8zh7yv1kEakKwMtVHchChN1WfZlM__2D0_o8H7AS4_UaTTCymQQtvXHb9-q3AJtU9VCWnzkZ4gC1sVnCekVuQ90qmhzeMw.jpg].
    Regards,
    Milan

    Hi Milan,
    I'll blog in SDN about my research that I presented at TechEd during session CD119 (blog) but I'll begin sharing with you some ideas.
    Basically, without relay on any printer specific driver I would propose to follow the following steps:
    1.Generate the QR Code image file (.PNG) with one of the methods presented in the following pages
    2.Upload the image into the SAP system
    2.1 Convert the generated file (file.png) to TIFF using SAP IGS class CL_IGS_IMAGE_CONVERTER (see GRAPHICS_IGS_IMGCONV_DEMO)
    2.2.Upload. Use report RSTXLDMC to upload the image into SE78
    3.Include the image into the Form:
    3.1.SAPScript/:INCLUDE ZHEX-MARCO-name OBJECT TEXT ID ST
    If everything is clear, the missing point should now be the first one. To generate the PNG from ABAP I found some options if you like, the better I think is presented in my open source project called abap2qrcode published here http://code.google.com/p/abap2qrcode/.
    I know it's not trivial and I'm curious to know what do you think about it.
    Sergio

  • Custom transaction attached to SAP delivered code

    HI
    We have a requirement that all custom program and transactions are secure. Usually we have the developers add an auth check statement to the program and add that check to the custom t-code in SU24.
    today I have the situation that we are using SAP delivered code and attaching a custom transaction. Since we don't want to modify the SAP code, how is it possible to get any check on the transaction? I know that SU24 won't force the check unless the program is changed. So is there any way to have any type of auth object checked? Or is this a situation where no check would be needed and no objects added to the role when the new tcode is added? (SE93?)
    Hope that makes sense!
    Thanks
    Bobbi

    Here is where I run into problems. I am not a developer and have a hard time reading the code. This particular report is to display vendor address data. As far as I can tell I do not see anything that appears to be authority checks.
    This is the top level of the code:
    report AQZZZVEND=======ZVEND_ADDR====.
    include /1BCDWB/IQG000000000055DAT.
    data %dtab type standard table of /1BCDWB/IQG000000000055 with header line.
    data %subrc type sy-subrc.
    include /1BCDWB/IQG000000000055SSCR.
    include /1BCDWB/IQG000000000055SSCRAT.
    start-of-selection.
      if %runmode-extr_on <> space.
        call function '/1BCDWB/IQG000000000055EXTR'
             tables     %selopt = %seloptions
                        %dtab   = %dtab
             changing   %rtmode = %runmode
             exceptions no_data = 1
                        others  = 2.
        %subrc = sy-subrc.
        call function 'RSAQRT_CHECK_EXTR'
             exporting extr_subrc = %subrc
             tables    dtab   = %dtab
             changing  rtmode = %runmode.
      endif.
    end-of-selection.
      if %runmode-show_on <> space.
        call function '/1BCDWB/IQG000000000055SHOW'
             tables   %dtab   = %dtab
             changing %rtmode = %runmode.
      endif.
       special code for old API and BW extractor calls
    form %set_data changing p_lines type i.
      import ldata to %dtab from memory id 'AQLISTDATA'.
      describe table %dtab lines p_lines.
      free memory id 'AQLISTDATA'.
    endform.
    form %get_data tables p_dtab  structure %dtab
                   using  p_first type i
                          p_last  type i.
      append lines of %dtab from p_first to p_last to p_dtab.
    endform.
    form %get_ref_to_table using p_lid   type aql_lid
                                 p_ref   type ref to data
                                 p_subrc type i.
      if p_lid = %iqid-lid.
        create data p_ref like %dtab[].
        p_subrc = 0.
      else.
        p_subrc = 4.
      endif.
    endform.
    ================================================================================================
    The abaper doesn't seem to understand what  I am asking of him so I am stuck. It appears this custom transaction will go in without any checks on it unless you can perhaps advise me on how to proceed. Any help is appreciated.

  • SAP Bar Code PDF417

    Dear Expert ,
    I developed Barcode using symbology PDF417 .
    when i am printing bar code using laser printer it is printing barcode and but not on DOT Matrix printer EPSON ESC/P 24/48-pin printer
    .Kindly suggest me what to do .
    when creating symbology i am passing data as below
    SAP Bar Code Name    ZPDF
    Bar Code Symbology   PDF 417
    Bar Code Alignment   Normal
    Narrow Module Width  04
    Linear Height        00000
    Single Row Height    00045
    of Columns (1-30)  30
    of Rows (3-90)     05
    SecurityLevel        0
    Truncation
    One thing more how can i add a tab in between two field data.
    Thanks in advance .
    Cordially:
    Hans

    hi,
    use the rotation ...while creating the barcode.....

  • Cannot create client error with sample SAP JCO code

    Hi,
    I am encountering the following error when trying to connect to a R/3 system using the WAS 6.40 on my laptop. I have cut and pasted the Example1 code from the SAPJCO into my NetWeaver developer studio IDE.
    java.lang.UnsatisfiedLinkError: no CpicNative in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at com.sap.mw.rfc.api.RfcApi.initializeDLL(RfcApi.java:1285)
         at com.sap.mw.rfc.api.RfcApi.<clinit>(RfcApi.java:1299)
         at com.sap.mw.jco.MiddlewareJRfc.<clinit>(MiddlewareJRfc.java:228)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at com.sap.mw.jco.JCO.<clinit>(JCO.java:630)
         at com.sap.mw.jco.support.JRfcTest.correctProperties(JRfcTest.java:1043)
         at com.sap.mw.jco.support.JRfcTest.initCall(JRfcTest.java:1072)
         at com.sap.mw.jco.support.JRfcTest.runConnectionTest(JRfcTest.java:735)
         at com.sap.mw.jco.support.JRfcTest.main(JRfcTest.java:202)
    Cannot create client, error message:
    java.lang.NoClassDefFoundError occured:
       Message:null
    I have a system user defined in R/3 but still this isn't working. I am new to Java so any light you could shed would be greatly appreciated.
    Cheers and TIA,
    Rich

    The unsatisfied link error should be because sapjco.jar cannot link to the sapjco.dll.
    I tried to simulate the problem by
    1) Opening a java perspective.
    2) Create a new 'java' project.
    3) Add libraries sapjco.jar from the path <Drive>:\Program Files\SAP\JDT\eclipse\plugins\com.sap.mw.jco\lib
    You will see sapjcorfc.dll in this path
    4)Add a new class file ,Wrote a sample jco code and executed and it worked..
    The key is to have the sapjcorfc.dll in the same directory as sapjco.jar
    I hope this helps

Maybe you are looking for