Posts

SD flow and MM flow with T-codes in SAP

SD and MM Flow Explanations refer SAPNuts.com Here is the explenation of SD and MM flows in SAP which is very useful for a SAP ABAP developers. SD and MM flows are data flows in SAP Sales and Distribution and Material Management. What is SD flow and Explain with T-codes? Inquiry » Question » Sales Order » Delivery » Billing. What is MM flow and Explain with T-code? ANS:- Creation of Purchase Requisition- » (Request for Quotation-- >Maintain Quotation- » Quotation Comparison (- » Purchase Order- » Goods Receipt- » Invoice Verification. MM flow T-code wise: ME51n- » ME41- » ME47- » ME49- » ME21- » MIGO/MB01- » MIRO. MM Flow Table wise: EBAN/EBKN/STXH/STXL- » (EKKO/EKPO)- » EKKO/EKPO/EKKN-- >MKPF/MSEG- » BKPF/BSEG. What is the T-code for billing document? VF01.

SAP ABAP real-time Interview Questions with answers

SAP ABAP real time Interview Questions 1. Can we write the code both call transaction and session method in single program? Ans. Yes it is possible to write call transaction and session in one program. 2. Which BDC you prefer? Ans. If we want to transfer large amount of data and when we need to use more than one transaction code we prefer session method. For small or less amount of data and for single transaction use call transaction. 3. When u prefer LSMW? Ans. When we need to update medium amount of data we use LSMW. LSMW is also used when the person like functional consultant has less programming language. 5. Difference between .include and .append? Ans. Include structure allows to add one or more structure into structure or table.Also placed positioning anywhere. Upto 6 include structure can be used in a table. Append structure can be placed only at the end of a structure or table which also stops further insertion of fields.Only one append structure can be used...

Push Button in Selection-screen using ABAP

Hi The below sample code will use to create a push button on selection-screen, adding push button to a selection-screen in ABAP is the most common requirement for a ABAPer ,. TABLES sscrfields. *--------------------------------------------------------------* *Selection-Screen *--------------------------------------------------------------* SELECTION-SCREEN: PUSHBUTTON /2(40) button1 USER-COMMAND but1, PUSHBUTTON /2(40) button2 USER-COMMAND but2. *--------------------------------------------------------------* *At Selection-Screen *--------------------------------------------------------------* AT SELECTION-SCREEN. CASE sscrfields. WHEN 'BUT1'. MESSAGE 'Button 1 was clicked' TYPE 'I'. WHEN 'BUT2'. MESSAGE 'Button 2 was clicked' TYPE 'I'. ENDCASE. *--------------------------------------------------------------* *Initialization *------------------------------------------------------...

Drop Down in Selection-Screen using ABAP

The below sample will show you how to design a drop-down list in selection-screen using abap, I think this is not a difficult task for you to understand, simply copy the code and create a sample object and you will know everything....good luck...!! *&---------------------------------------------------------------------* *&                                                                     * *&                                         ...

Control Break Statements in SAP ABAP

Control Break Statements in ABAP There are enormous uses of control break statements in ABAP development, these control break statements are very useful in reports with multiple table usage and reporting calculations like sum.Control break statements are used to control the sequence data flow inside loops in SAP ABAP. The below is the example report of using control break statements. REPORT ZCONTROL_BREAK NO STANDARD PAGE HEADING. DATA: BEGIN OF ITAB OCCURS 1, MATNR LIKE MARA-MATNR, MAKTX LIKE MAKT-MAKTX, WERKS LIKE MARD-WERKS, LGORT LIKE MARD-LGORT, LABST LIKE MARD-LABST, END OF ITAB. SELECT-OPTIONS: S_MATNR FOR ITAB-MATNR. START-OF-SELECTION. PERFORM GET_DATA. IF NOT ITAB[] IS INITIAL. PERFORM SHOW_LIST. ENDIF. *&---------------------------------------------------------------------* *& Form GET_DATA *&---------------------------------------------------------------------* * ...

ALV with Field Catelogue

Sample ALV report with Field Catelogue The below code explains you how to create an ALV report with field catelogue using Function module. *&---------------------------------------------------------------------* *& Report ZALV_2 * *& * *&---------------------------------------------------------------------* *& * *& * *&---------------------------------------------------------------------* REPORT ZALV_2 . DATA: BEGIN OF ITAB OCCURS 1, MATNR LIKE MARA-MATNR, MAKTX LIKE MAKT-MAKTX, WERKS LIKE MARD-WERKS, LGORT LIKE MARD-LGORT, LABST LIKE MARD-LABST, END OF ITAB. SELECT-OPTIONS: S_MATNR FOR ITAB-MATNR. PARA...

Interactive ALV report using Function Module

Real-time example of interactive ALV in SAP ABAP REPORT ZALV_4 . DATA: IT_VBRK LIKE VBRK OCCURS 1 WITH HEADER LINE. DATA: IT_VBRP LIKE VBRP OCCURS 1 WITH HEADER LINE. DATA: V_VBELN LIKE VBRK-VBELN. TYPE-POOLS: SLIS. DATA: X_LAYO TYPE SLIS_LAYOUT_ALV. DATA: IT_EVENTS TYPE SLIS_T_EVENT WITH HEADER LINE. SELECT-OPTIONS: S_VBELN FOR IT_VBRK-VBELN. START-OF-SELECTION. PERFORM GET_DATA. PERFORM BUILD_LAYOUT. PERFORM BUILD_EVENTS. END-OF-SELECTION. PERFORM SHOW_BASIC_GRID. *&---------------------------------------------------------------------* *& Form GET_DATA *&---------------------------------------------------------------------* * text *----------------------------------------------------------------------* FORM GET_DATA . SELECT * FROM VBRK INTO TABLE IT_VBRK WHERE VBELN IN S_VBELN. ENDFORM. " GET_DATA *&------------------------------------------------...