T-Code SAAB

Hi
I have set in T-Code SAAB the Checkpoint Group WF_SYSTEM_OTHERS and created a new Variant ZTEST
and have activated both. In the variant I have set up FUnctiongrup BBP_PDH_WFL and BBP_WFLH. But if start
SRM Web (Internet Explorer) the break point doesn' stop anywehere ?
What is wrong with it do you have an idea ???
Regards
Marco

Hi Erwin,
Actually the type of variable depends upon where you start creating it, so from chars you can create characteristic value variables, from the description box you can create text variables, and from the formula editor you can create formula variables (also from exceptions and conditions).
See this link:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/579b3c494d8e15e10000000a114084/content.htm
It will help you a lot in this area.

Similar Messages

  • How to pass the currency of particular company code into a text variable.

    Hi
    I want to pass the currency of particular company code into a text variable.
    The company code is selected by the user using Input variable "0S_COM_M".
    I have created a text variable "ZD_CURR" with processing type customer exit.
    I have written the following abap code but its not working.
    DATA : LV_CURR type /BI0/OICURRENCY.
      WHEN 'ZD_CURR'.
        IF I_STEP = 2.
          CLEAR  XTAB.
          READ TABLE I_T_VAR_RANGE INTO XTAB WITH KEY VNAM = '0S_COM_M'.
          SELECT SINGLE CURRENCY FROM /BI0/PCOMP_CODE INTO LV_CURR WHERE COMP_CODE =  XTAB-LOW.
          L_S_RANGE-LOW = LV_CURR.
          L_S_RANGE-SIGN = 'I'.
          L_S_RANGE-OPT  = 'EQ'.
          CLEAR E_T_RANGE.
          APPEND L_S_RANGE TO E_T_RANGE.
        ENDIF.
    Pls let me know how to resolve this issue or what modification can be done to this code.
    Is there a way where we can debug customer exit code for variables.
    Thanks.

    Hi.
    You should debug your code to check behaviour of it.
    Just set external breakpoint (or create checkpoint via tc SAAB) and run your query.
    You may run query via RSRT.
    Regards.

  • Mark TODOs in ABAP code

    Hi,
    often I need to hardcode something in the code, so to test it fast and knowing that I will have to replace this after it is generally working.
    In Java I used @TODO comments, so Eclipse would show them.
    Does such thing exist in ABAP?
    My other idea would be to produce by purpose somehow an ATC (ABAP Test Cockpit) violation with high priority, which should be easy to write and not alter the functionality of the code behind it.
    So when I release my task, the check would complain
    Ideas?
    Thanks
    Bruno

    In the past I've done this by creating a check-point group in transaction SAAB and then adding a log-point (or assertion) in the code...
    METHOD int_get_by_label.
      DATA:
        ls_input                TYPE zsprx_databylabel_query,
        ls_output               TYPE zsprx_databylabel_respo.
      LOG-POINT ID zawb_wizard_todo
        FIELDS 'INT_GET_BY_LABEL: Implement reference data service call.'.
      ls_input-reference_data_by_label_query-reference_data_selection_crite-label = iv_label.
    ENDMETHOD.
    You can then do a where-used on the checkpoint group to find the corresponding code, as well as activating logging, breaking or aborting (as appropriate) for triggered log-points or assertions.
    Cheers,
    Scott

  • Runtime Error:STRING_OFFSET_TOO_LARGE in TCODE:SAAB

    Using Tcode:SAAB,I create a Checkpoint Group:ZTEST.
    In the Activation tab,I made the following settings for ZTEST.
    [Breakpoints: Break   
    Logpoints: Log   
    Assertions(Foreground):Log  
    Background Processing:Log]
    In a Report program,I wrote the following code:
      REPORT  z_1. 
      DATA: TEST TYPE char13 VALUE '123'.
      ASSERT ID ZTEST   SUBKEY    'init'
                        FIELDS    TEST
                        CONDITION 1 NE 1  .
    I executed the program, and then found the log of ZTEST in the Log tab by TCode:SAAB.
    It was weird.when I used [Display Details] menu to view the variable ZTEST's content,the SAP
    system showed a short dump.The following infomation is something about the short dump.
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
                                                  |
    Edited by: Rob Burbank on Jun 6, 2010 4:36 PM

    Hello Manasa,
    Thanks for your sugggestion but I did a debug in the method  convert_xstr2cstr of class CL_RTM_SERVICES where the dump is beeing raised and I discovered that my problem is related with the server_codepage. I don't know how the system is calculating this, but in my HR enviorment the dump does not happen since the following code is not executed (in HR server_codepage EQ codepage).
    IF server_codepage NE codepage  AND codepage IS NOT INITIAL.
           TRY.
               cp_converter = cl_abap_conv_x2x_ce=>create( in_encoding  = codepage
                                                           out_encoding = server_codepage
                                                           input        = xstr ).
               cp_converter->convert_c( n = len ).
               xstring = cp_converter->get_out_buffer( ).
             CATCH cx_root.                                   "#EC CATCH_ALL
               xstring = xstr.
           ENDTRY.
         ELSE.
           xstring = xstr.
         ENDIF.
    I need to find what is the server_codepage and how it is calculated.
    Anyway, thanks!
    Sérgio Fraga

  • Generate prov.xml for Creative Cloud. Return Code 27

    We're trying to follow this guide (Creative Cloud Help | Using Adobe Provisioning Toolkit Enterprise Edition) to serialize a package (or something). We're stuck on generating prov.xml. My best attempt at an entry is:
    C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\CCP\utilities\APTEE>adobe_prtk.exe --tool=VolumeSerialize --generate --serial=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx --regsuppress=ss --eulasuppress --locales=en_US --provfilepath=C:\Program Fil
    es (x86)\Common Files\Adobe\OOBE\PDApp\CCP
    It says half of this is optional, but I'm skeptical.
    Anyway, I'm getting return code 27. This indicates that it is unable to edit the prov.xml file specified. I didn't specify a prov.xml file, I'm trying to make one. The syntax I'm using differs from what I found on the page I linked, as that was giving me syntax errors. I lifted this off someone else's code. I've tried just about every variation I can think of. Any help would be appreciated.
    This is on Windows

    One of these links may help
    http://helpx.adobe.com/creative-cloud/packager.html
    http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

  • Code returns "null" and "0"s in main module - why?

    I am coding a program that is in two modules. The main module serves it's standard function. The inventory class/module has three functions - 1) request stock input on 4 data points (1 String and 3 integers, one of which is a double) - 2) calculate the value of the inventory, and - 3) return string which reads out the 4 data points and the calculation showing the total value of the inventory. I've created the 3 functions in the inventory class/module, but obviously don't have them referring to each other correctly because when we come to the end of the program the output is null for the String and "0"s for the int/doubles. The code is below - any ideas about how to overcome the empty output? The code compiles fine and acts like it is going to work, but when it comes to the final command line it outputs
    "null, which is item number 0, has 0 currently in stock at a price of 0.00 each. The total value of inventory in stock is 0.00"
    Main module:
    public class Main {
        @SuppressWarnings("static-access")
        public static void main(String[] args) {
            Inventory inventory = new Inventory(); //call Inventory class
            inventory.inventoryInput();
            Inventory results = new Inventory();
            results.inventoryResults(); //call for inventoryResults in Inventory class
    }Inventory module:
    import java.util.Scanner;
    import static java.lang.System.out;
    public class Inventory
      //declare and initialize variables
       int itemNumber = 0;
       String productName;
       int stockAmount = 0;
       double productCost = 0;
       double totalValue = 0;
       String inventoryResults;
       //initialize scanner
       Scanner input = new Scanner(System.in);
       public void inventoryInput ()
       out.println("Please enter item number: "); //prompt for item number
          itemNumber = input.nextInt();
       out.println( "Enter product name/description: "); //prompt for product name
          productName = input.next();
       out.println("Quantity in stock: ");
          stockAmount = input.nextInt(); // prompt for stock quantity
       out.println("What is the product cost for each unit? ");
          productCost = input.nextDouble(); // prompt for product cost
        } // end inventoryInput
        public double totalValue( double stockAmount, double productCost )
          totalValue = stockAmount * productCost;
          return totalValue; // return stock value
        } // end totalValue
        public void inventoryResults()
        out.printf("%s, which is item number %d, has %d currently in stock at a " +
         "price of %.2f each. The total value of inventory in stock is " +
         "%.2f\n.", productName, itemNumber, stockAmount, productCost, totalValue);
        } // end inventoryResult
    }// end method

    justStartingOut wrote:
    Actually my final solution was quite simple - I moved the calculation and final formated print text statements into the body of Inventory's class code. It now works. "Works" scares me a bit.
    Someone cooking dinner might rummage about in the fridge and the cupboards to see what's there. Do imaginative things with what they come up with. And, with a bit of luck come up with something tasty or, at any rate edible.
    A physician deciding on a medical treatment would do well to try a more cautious approach. A specific aim would be a good thing. And a calculated appreciation of the documented effects of each medicine. And how they interact.
    It's up to you to determine which approach your coding should resemble. But it seems to me that your original Main class had a perfectly good reason to exist. It was a driver class whose purpose seemed to be to create and use an Inventory. (And using an Inventory is a very different thing from being an Inventory, so it made perfect sense to have two different classes.) To me it works or not, depending on whether it fufills that purpose. And what you have done is not so much solve the problem of it not working, as avoid that problem.
    (If by "moved" you mean that the outputting now occurs as part of - or is called from - inventoryInput() then that is not a good thing. The input method should input: just input.)
    I think that is because once the original input was loaded into the program (when I entered product number, name, price and value), the entries were dropped when the code switched to the next step. I think your intuition is entirely correct. In particular look at what your original main() method does (my comments replacing yours):
    Inventory inventory = new Inventory(); // (A) Create an inventory...
    inventory.inventoryInput(); // ... and put stuff into it
        // (B) Create some new entirely different (and empty) inventory...
    Inventory results = new Inventory();
    results.inventoryResults(); // ... and print its contentsInstead of creating a second inventory, try printing the results of the first one.
    Edited by: pbrockway2 on Apr 22, 2008 12:37 PM
    Whoops ... just read reply 2.
    It might sense, though to call totalValue() at the end your input method (because at that point the total value has changed). Or do away with that method - which you worked on getting right in your other thread ;)

  • Sample source code for fields mapping in expert routine

    Hi All
    Iam writing the expert routine from dso to cube for example I have two fields in dso FLD1,FLD2
    same fields in infocube also ,can any body provide me sample abap code to map source fields to target fields in expert routine,your help will be heighly appreciatble,it's an argent.
    regards
    eliaz

    Basic would be ;
    RESULT_FIELDS -xxx = <SOURCE_FIELDS> -xxx
    you have the source fields as source, and result fields for as the target. In between you can check some conditions as in other routines of transformation.
    BEGIN OF tys_SC_1, shows your source fields ( in your case DSO chars and key figures)
    BEGIN OF tys_TG_1, , shows your result fields ( in your case Cube characteristics)
    Hope this helps
    Derya

  • TS2446 My phone want let me download apps I put the password in then it's say billing options which tell me I have invalid security code

    My phone want let me download any apps when I put the password in it take me to billing option which tell me I have the wrong security code and that's the security code that was on the card on the account

    iTunes Store: My credit card's security code or zip code does not match my bank's records
    http://support.apple.com/kb/TS1646

  • Cannot delete file from external hard drive (error code 36) in Finder, but Terminal is ok

    I have a relatively new Macbook Pro Retina 15" and have a Western Digital 1 TB Passport.  I've been using the passport for about a year now without any problems on older Macbooks in my house.  I used to be able to read and write to this drive no problem.  I am using the Paragon NTFS for Mac software in order to read and write to the NTFS drive.  When I navigate through the drive in Finder, if I try to create a new folder, I do not have a problem.  If I try to delete that folder I just created, I get this error:
    The Finder can’t complete the operation because some data in “untitled folder” can’t be read or written.
    (Error code -36)
    The folder has nothing in it whatsoever.  I just created it.  But if I go to Terminal and I run
    rm -rf "untitled folder"
    This works fine.  Why is Terminal acting different than Finder?  This does not happen on my other Macbooks.  Thanks in advance.

    Thanx for such qucik reply!!! The pages were great, it had an answer for my problem, but unfortunately it also involved me dealing with it only on the MacIntosh HD itself, not on mounted external drive I suppose... So it didn't work they say that there is an icon in the left corner indicating locked folder - I don't see any icon on it. It says you can untick the box to unlock the folder - there is no tick to be unticked. Finally, they say that if I don't have permition or rights I cannot delete it. But how do i change permittion which already says that i can read and write in it? So everything appears to be normal only I cannot delete it. there is not even any warnig telling me I don't have enough rights, it just requires the password and after me typing it in it makes the sound of scraping paper but does nothing more. I aslo had some problems with emptying Trash after being seemingly succesful with one file and had got so far to have them appear in the Trash (no clue how this one actully got there though..) I followd the advice and emptied the Trash with Terminal. The Folder is still there but it shows 0 Kb... So far so good BUT: It is still on the external drive, so I obviously only managed to copy it into the Trash!!! Phew, innit a bit too tight to poor owners, this macbook?? I want my rights back!

  • Report generation failed----​error code:-1720​5; Access Denied.

    Hi, All
        i have a trouble about report generation.it seems the error happened at the "write UUT report"--this step is teststand report generation'DLL.
        detail:
        An error occurred calling 'Save' in 'Report' of 'NI TestStand 2010 SP1 API'
    Access Denied.. Error writing to file 'D:\program\seq\xxx.xml'.
    The file might be open in another application. If file access is intermittently denied, you should try disabling the Microsoft FindFast utility. 
        error code:-17205; Access Denied.
        locationtep 'Write UUT Report' of sequence 'Single Pass' in 'SequentialModel.Seq'
        How to fix it?
        Thanks a lot.
    BR

    Hm, it looks like the file might be open in another application. If you see that file accesss is intermittently denied, you should try disabling the Microsoft FindFast utility.
    CTA, CLA, MTFBWY

  • Error in Printing Crystal Report Directly to Printer using SDK Code

    Hello ,
    I am trying to print a crystal report created in SAP Crystal Reports 2008 through SDk Code using one parameter
    as (Document Number).But While running the Code the Report is not getting printed and also the system is
    not able to fetch the correct data in the report using the supplied parameter .
    I am using Visual Studio 2005 Crystal Report dll s in my code :-
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.CrystalReports
    Imports System
    Imports System.Data.SqlClient
    Imports System.IO
    For Clarification i am pasting my code below :-
                Dim oRpt As ReportDocument
                oRpt = New ReportDocument
                oRpt.Load(Path)
                With crConnectionInfo
                    .ServerName = Server
                    .DatabaseName = Database
                    .UserID = User
                    .Password = Password
                End With
                CrTables = oRpt.Database.Tables
                For Each CrTable In CrTables
                    crtableLogoninfo = CrTable.LogOnInfo
                    crtableLogoninfo.ConnectionInfo = crConnectionInfo
                    CrTable.ApplyLogOnInfo(crtableLogoninfo)
                Next
                oRpt.ParameterFields("Document Number").CurrentValues.AddValue(Parameter)
                If Printer <> "" Then
                    oRpt.PrintOptions.PrinterName = Printer
                End If
                oRpt.PrintToPrinter(Copies, False, 0, 1)
            Catch ex As Exception
                SBO_Application.MessageBox(ex.Message)
            End Try
    Please suggest me what i have to do in my code to print the report with correct data in report.
    Thanks & Regards,
    Amit

    k

  • Closing stock T code reqd

    hi all,
    i want to take the report for the closing stock of plant/sloc on a particular date,but am not able to find out the t code,have tried with MB5B,still am not getting the report.
    ur help required in this
    thanks and regards
    Vijay

    Hi,
    As somebody pointed out the right T code is MC.9, which would give you the stock value for all the materials in a plant.However , fr Quantities you may have to add the field required in the choose Key figures icon and refine your report further.
    Thanks in Advance,
    Nagrajan

  • There was a recent upadate on my PC, however it does not work. A error code comes up which says, min version is not compatible with max version. And I caanot open my browser. Please help.

    I do a system restore which allows me to open my browser. Without this I cannot open my browser - the error code comes up every time.

    Do a clean (re)install
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data when uninstalling.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    From https://support.mozilla.com/en-US/questions/764376

  • Training and Event management T-code: PV4I.

    Hello All-
    We are trying to implement TEM and we completed the back end SAP config, and we are implementing the ITS version of the booking by creating an Iview using PV4I. The screen that we see when we execute this T-code is prompting for username and password. Can someone let me know which username and password this is looking at? There are other parameters on this screen including Attendee type, ALE session etc.
    You can even try this in ECC GUI using /nPV4I in any other T-code (deceive ITS).
    Or anybody has any document on how to configure the ITS services? If so please email me at [email protected]
    Thanks-
    Chakri.
    Message was edited by:
            chakri somisetti

    Zsolt-
    I tried these options earlier, and also created an internet userID in SU05. But I don't understand of how the logic works here.
    Can you please explain me like what should be created first.
    Lets say my Pernr in SAP is: 23456 and UserID in Infotype 105 in RKCR012
    Shall I have to create the SU05 internet user for SAP number or RKCR012. I tried both options but still its prompting me for login and password again when I am trying to access PV4i in SAP GUI or portal. Even If I enter my sap # or the ID its not working, its prompting me saying that user name and password does not match.
    Can you please explain me how the username and password in the PV4i ITS service and the SU05 internet userID are connected???
    Thanks-
    Chakri.

  • Print the report by code

    Hi to all,
                 I'm using Asp.Net 2.0-C#, Crystal Report 11 SP1.
    I bind some records to the report, i want to print the report when a checkbox is clicked instead of CR Print button, how to do this, experts please post any code?

    Hello,
    I posted hyperlinks to the [Developer Library|https://www.sdn.sap.com/irj/sdn/businessobjects-sdklibrary], and the [Crystal Reports .NET SDK Guide|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm] for CR XI R2.
    From the main Developer Library page scroll down the page to the [XI|http://devlibrary.businessobjects.com/BusinessObjectsXI/en/devlib.htm] (v11.0) and the [XI R2|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm] (v11.5) versions of the Crystal Reports .NET SDK Guide.
    Click on one of the above links to choose the version of the Dev Library you'd like to explore.  After it loads you'll see Content and Search buttons in the left hand pane.  Click on Search and search for PrintToPrinter.  In the results list you'll see the PrintToPrinter method.  Click on this and you'll see the information you're looking for.
    Please start using the above links to search for your answers - the information is there.
    Sincerely,
    Dan Kelleher

Maybe you are looking for

  • How can I uninstall and reinstall the latest upgrade if that is my problem.

    I can only get Firefox to open when I initially startup my computer. If I open the mail first, I can't get into Firefox. I can use the email while Firefox is open, but if I have closed Firefox I can't open any links in the mail messages. I have to sh

  • How to use the calender component in a dashboard?

    Hi Experts: In my project i need to show the day wise tickets sold  data through calender.Can any one help me out in using this calender component? Thanks Regards sharathborra

  • Batch Lists

    I have a program that captures and inputs meta data about the video clips. The program can output to FCP using EDL and Batch Lists. The problem I have is that I cant seem link the batch list generated to the already captured footage. It seems all the

  • PO Release Approval Error

    First i did Release strategy in one client and i have transported it to other client that time i didnt know that it cant be transported After doing 3 PO when i tried to release it then i come to know that i have to configure again the Release Strateg

  • Camera on 4S not working with flash

    When I try to take a photo using flash, in a dark area, all I get is a totally grey photo.  It seems like the flash and the shutter are not synchronized.