Ending a Connection with SAP Instance and Stop Scripting

Hayat Azam
Updated on 13-Feb-2020 10:24:41

2K+ Views

This can be resolved by ensuring that you destroy all reference to public objects at the end of your script.In Excel VBA, you can use the following to do this −Set session = NothingIn C#, you should be using below −obj = Null;

Connecting System with SAP System using a Web Service

Shahyan Ali
Updated on 13-Feb-2020 10:23:30

743 Views

The best solution of this is to regenerate web service code the client system. Navigate to Add Service Reference in Visual Studio and regenerate WSDL code.

Return Records That Match Multiple Conditions in SAP Crystal Reports XI

Raja Ali
Updated on 13-Feb-2020 10:22:43

236 Views

It is advisable to use functions to pass such filter conditions in CR. Also try changing the order of your condition like −({PR.cov} = "A" and {PR.cov}="B") or {PR.cov} = "A" Try using function like this: {@A}:if {PR.cov} = "A" then 1 else 0To create custom functions in Crystal Report, navigate to Report Menu → Formula Expert → Right Click on Custom Functions → NewIt is advisable to use custom functions when you have multiple parameters to pass in the condition. You can also use the following when you have two string parameters −( 'A' IN {?cov} OR {PR.cov} IN ... Read More

View List of Tables in Another MySQL Database

seetha
Updated on 13-Feb-2020 10:16:22

204 Views

With the help of SHOW TABLES From Database_name query, we can see the tables of another database. Here Database_name is the name of the database which we are not using currently. Consider the following example in which we run the query for getting the list of tables in database name ‘tutorial’.mysql> show tables from tutorial; +--------------------+ | Tables_in_tutorial | +--------------------+ | employee           | | showzerofill       | | student            | +--------------------+ 3 rows in set (0.00 sec)

Creating a Variable with Dynamic Variable Type in SAP ABAP

Fendadis John
Updated on 13-Feb-2020 10:12:00

3K+ Views

You can use RTTS related API to create a Standard table like RANGE which has components like 'LOW', 'HIGH', 'EQ' and 'OPTION'data:    rr_data              type ref to data,    rt_range_string      type range of string,    rs_range_string      like line of rt_range_string,    rt_component         type abap_component_tab,    rs_component         type line of abap_component_tab,    rt_range_components  type abap_component_tab,    ro_struc_descr       type ref to cl_abap_structdescr,    ro_table_descr       type ref to cl_abap_tabledescr,    ro_data_descr        type ref to cl_abap_datadescr.field-symbols type ... Read More

Using Constants in ABAP OO Method

V Jyothi
Updated on 13-Feb-2020 10:08:34

391 Views

Your INCLUDE should only contain definitions of constants nothing else and then the answer is straightforward.Select Goto → Class - whichever local definition and then add an INCLUDE statement. This will expose all the constants “INCLUDE” in your implementation.

Delete Actives While Looping Over Internal Table in SAP ABAP

Srinivas Gorla
Updated on 13-Feb-2020 10:07:31

1K+ Views

DELETE command will have a result. You should make sure that once you delete the row, there should not be any reference or use of row subsequently in the loop. The best is to use CONTINUE as soon as you perform deletion. I will suggest avoiding “DELETE lt_itab INDEX sy-tabix” because it will change the sy-tabix i.e. table index. In case if you just want to delete the current row in the loop then you can simply use.“DELETE lt_itab”One more thing if you are using statement “DELETE lt_itab FROM ls_wa” then whether knowingly or unknowingly, you are deleting the same lines ... Read More

Add Class on Click of Anchor Tag using jQuery

David Meador
Updated on 13-Feb-2020 09:56:22

1K+ Views

To add a class on click of anchor tag using jQuery, use the addClass() method. You can try to run the following code to learn how to implement adding a class on click of anchor tag using jQuery −ExampleLive Demo                       $(document).ready(function() {         $("a").click(function() {           $("a.active").removeClass("active");           $(this).addClass("active");         });       });                   .active {          font-size: 22px;         }                     One       Two       Click any of the link above and you can see the changes.    

Add Title in Anchor Tag Using jQuery

Ricky Barnes
Updated on 13-Feb-2020 09:54:55

3K+ Views

To add a title in anchor tag in jQuery, use the prop() method. The prop() method is used to set properties and values of the selected elements.You can try to run the following code to learn how to add a title in anchor tag using jQuery −ExampleLive Demo                        $(document).ready(function(){          $("#button1").click(function(){             $('.myClass').prop('title', 'This is your new title');             var myTitle = $('.myClass').prop('title');             alert(myTitle);          });        });                                        Get Title          

Add and Remove Class to Anchor Tag with jQuery

Ricky Barnes
Updated on 13-Feb-2020 09:48:48

2K+ Views

To add and remove a class to an anchor tag, use the toggleClass. Using it you can add and remove a class on a click.You can try to run the following code to learn how to add and remove a class to an anchor tag with jQuery −ExampleLive Demo                         $(document).ready(function(){          $("#mylink").click(function (e) {             e.preventDefault();                     $(this).toggleClass("selected");            });         });                     .selected {            color: red;         }                     Click me       The above will add and remove class (change color) on click.    

Advertisements