I recently got some requirement to work with SAP NWBC which is a rich desktop and html client provided by SAP. (overview https://experience.sap.com/post/show/51 )Thanks to SDN and SAP help center I managed to find lot of documents which help me to learn NWBC configuration and the other features like gadgets. I will try to list out the links I have ...

Recently I had to work on a project were the customer was planning to implement SAP AFS and SAP APO to handle their business requirements. The development challenge on this requirement was to maintain 2 different locations for each plant created in AFS side. This was required in order to plan for wholesaled and retail requirements of the business. ...

It's a known fact that however complex your program is when it come to the user. The look and feel of the output is what matters most. This is blog post is about a simple trick that we can do to make the look and feel better.Have you ever wondered that when you develop a tool to your customer on ...

This post is taken from http://erpgenie.com/abaptips/content/view/594/40/I have added this here since it might be useful to me if in case I forget how to find a BADI :)Business Add-Ins (BAdis) are a SAP enhancement technique based on ABAP Objects. Two parts - Definition and its Implementation - definition can either be SAP provided or user may also create it.You can ...

i have been stuck with the idoc /AFS/WMMBID02 message type WMMBXY giving an error when ever i try to do a movement type 122.I was Debugging the stranded code for more than 2 days and later i Found out that this occurs since the idoc requires few more information. this was mentioned on SAP note 833603.SymptomYou want to post goods ...

most of the time when we develop a report program or a selection screen. We have to remove the standard validation which comes when we define a selection option as mandatory and add a custom validation. In such cases we are unable to display the selection option as a mandatory sign. To do this we can ...

This post is about selection screen with tabs. Selection screen with tabs are not that hard to implement on ABAP and I am sure if you search online you will always get the code for it.... but just to start things ill just give the code no a basic selection screen with tabs...SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN .SELECTION-SCREEN ...

For the past 5 moths I have been really busy that I didn't have anytime to blog or contribute to SCN on SAP. During these 5 months I was working for 1 main client on one main area it was all about Vendor confirmations. I have been so much into it that now I know a lot about the confirmation ...

Loop AT i_primary into wa_primary.Loop AT i_secondary into wa_secondary from lv_index.If ( wa_primary-field1 NE wa_secondary-field1 ) or( wa_primary-field2 NE wa_secondary-field2 ).Lv_index = sy-tabix.Endif. “ your code comes here “ Endloop.Endloop. To use this following should be true1) Both tables should be sorted with the same key ( in the above case field1 and field2 )2) The mapping between primary ...

copy to clipboradBellow code is how to copy data to clipboard. This feature helps you when there is a BDC recording and you want to add selection extended options DATA: v_rc TYPE I, it_data TYPE STANDARD TABLE OF CHAR128, wa_data TYPE char128.CALL METHOD CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_EXPORT IMPORTING DATA = it_data CHANGING RC = v_rc . ...

its very simple just put this code on a text file and save it with what even name you want e.g debug[FUNCTION]Command=/HTitle=DebuggerType=SystemCommandwhen ever you want to debug you dont have to use /h but just drag and drop this on the SAP screen this enables you to debug on popup screensHope this will be usefulnafran ...

Most of the time when we need the first day and the last day of a given month we always run to get a function. why use a function when its so easy to code it*get first and last date of month and year CONCATENATE s_bdatj-low s_mnr-low '01' INTO gv_date1. gv_month = s_mnr-low . gv_month = gv_month + 01. CONCATENATE ...

Sometimes you get programs where you might have done almost all the programming best practices and Indexing and other stuff but still the program will run very slow.On a time like this sometimes we might wonder is there anyway to do parallel processing or something like multi treading on SAP.Hmm.... there is only one way that I can think about ...

I got this spacial requirement when i was working with a project.where a generic menu bar is required which can add items according to the customer.the first thing to do in such requirement is to add a fcode in menu painter starting with +XXX ( replace X).once this is done handle the fcode using a function CALL CUSTOMER-FUNCTION '010'.with in ...

REPORT  ZPARALLEL_CURSOR.TABLES:  likp,  lips.DATA:      t_likp  TYPE TABLE OF likp,      t_lips  TYPE TABLE OF lips,      t_lips1 TYPE SORTED TABLE OF lips      WITH NON-UNIQUE KEY vbeln.DATA:      w_runtime1 TYPE I,      w_runtime2 TYPE I,      w_counter TYPE I,      w_index LIKE sy-INDEX.DATA:      likp_l TYPE I,      lips_l TYPE I.PARAMETERS: rows TYPE i OBLIGATORY.START-OF-SELECTION.SELECT *FROM likpINTO TABLE t_likp up to rows ROWS.DESCRIBE TABLE t_likp LINES likp_l.WRITE:/ 'records in likp: ' .WRITE 

When a programmer uses the read command, the table is sequentially searched. This slows down the processing. Instead of this, use the binary search addition. The binary search algorithm helps faster search of a value in an internal table. It is advisable to sort the internal table before doing a binary search. Binary search repeatedly divides the search interval in ...

Use the variations of the modify command to speed up this kind of processing. Not recommended Loop at int_fligh. If int_fligh-flag is initial. Int_fligh-flag = ‘X’. Endif. Modify int_fligh. Endloop. Recommended Int_fligh-flag = ‘X’. Modify int_fligh transporting flag where flag is initial.source: http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_ModifyingGroupOfLines.asp

*&---------------------------------------------------------------------**& Report  Z_COPY_ALV_VARNTS_PROG_TO_PROG*&*&---------------------------------------------------------------------**&*&*&---------------------------------------------------------------------*REPORT  Z_COPY_ALV_VARNTS_PROG_TO_PROG.* =====================================================================* Data Declarations Section* =====================================================================* -----------

Previous Page