ABAP-HR Experts

Hi ABAP-HR Experts,
Kindly provide me some frequently asked interview questions in ABAP-HR.
please do the needful.
Thanks in Advance ..Experts
Regards,
Nagamani.

Hi All,
Here r some ABAP questions for u.
1. How data is stored in cluster table?
Each field of cluster table behaves as tables which contains the no. of entries.
2. What are client dependant objects in abap/sap?
SAP Script layout, text element, and some DDIC objects.
3. On which even we can validate the input fields in module progams?
In PAI (Write field statement on field you want to validate, if you want to validate group of fields put in chain and End chain statement.)
4. In selection screen I have three fields, plant mat no and material group. If I input plant how do I get the mat no and material group based on plant dynamically?
AT SELECTION-SCREEN ON VALUE-REQUEST FOR MATERIAL.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' to get material and material group for the plant.
5. How do you get output from IDOC?
Data in IDOc is stored in segments, the output from Idoc is obtained by reading the data stored in its respective segments.
6. When top of the page event is triggered?
After excuteing first write statement in start-of-selection event.
7. Can we create field without data element and how?
In SE11 one option is available above the fields strip. Data element/ direct type.
8. How do we debug sapscript?
Go to SE71 give lay set name , go to utilities select debugger mode on.
9. Which transaction code can I used to analyze the performance of ABAP program.
TCode AL21.
10. How can I copy a standard table to make my own z_table.
Go to transaction SE11. Then there is one option to copy table. Press that button. Enter the name of the standard table and in the Target table enter Z table name and press enter.
Following are some of the answers which I gave upto my knowledge.
1. What is the use of 'outerjoin'
Ans. With the use of outer join you can join the tables even there is no entry in all the tables used in the view.
In case of inner join there should be an entry in al the tables use in the view.
2. When to use logical database?
Ans. Advantage of Logical databases:
less coding s required to retrieve data compared to normal internel tables.
Tables used LDB are in hierarchial structure.
3. What is the use of 'table index'?
Ans .Index is used for faster access of data base tables.
4. What is the use of 'FOR ALL ENTRIES'?
Ans. To avoid nested select statements we use SELECT FOR ALL ENTRIES statement.
If there r more than 10000 records SELECT FOR ALL ENTRIES is used.
Performance wise SELECT FOR ALL ENTRIES is better to use.
5. Can you set up background processing using CALL TRANSACTION?
Yes,Using No Screen Mode.
6. What are table buffers?
Table buffers reside locally on each application server in the system. The data of buffered tables can thus be accessed
directly from the buffer of the application server. This avoids the time-consuming process of accessing the database.
Buffering is useful if table needs to be accessed more no. of times in a program.
ABAP Technical Interview Questions:
1. What is the typical structure of an ABAP program?
2. What are field symbols and field groups.? Have you used "component idx of structure" clause with field groups?
3. What should be the approach for writing a BDC program?
4. What is a batch input session?
5. What is the alternative to batch input session?
6. A situation: An ABAP program creates a batch input session. We need to submit the program and the batch session in background. How to do it?
7. What is the difference between a pool table and a transparent table and how they are stored at the database level?
8. What are the problems in processing batch input sessions? How is batch input process different from processing on line?
9. What do you define in the domain and data element?
10. What are the different types of data dictionary objects?
11. How many types of tables exist and what are they in data dictionary?
12. What is the step-by-step process to create a table in data dictionary?
13. Can a transparent table exist in data dictionary but not in the database physically?
14. What are the domains and data elements?
15. Can you create a table with fields not referring to data elements?
16. What is the advantage of structures? How do you use them in the ABAP programs?
17. What does an extract statement do in the ABAP program?
18. What is a collect statement? How is it different from append?
19. What is open sql vs native sql?
20. What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?
21. What is the meaning of ABAP editor integrated with ABAP data dictionary?
22. What are the events in ABAP language?
23. What is an interactive report? What is the obvious diff of such report compared with classical type reports?
24. What is a drill down report?
25. How do you write a function module in SAP? Describe.
26. What are the exceptions in function module?
27. What is a function group?
28. How are the date abd time field values stored in SAP?
29. What are the fields in a BDC_Tab Table?
30. Name a few data dictionary objects?
31. What happens when a table is activated in DD?
32. What is a check table and what is a value table?
33. What are match codes? Describe?
34. What transactions do you use for data analysis?
35. What is table maintenance generator?
36. What are ranges? What are number ranges?
37. What are select options and what is the diff from parameters?
38. How do you validate the selection criteria of a report? And how do you display initial values in a selection screen?
39. What are selection texts?
40. What is CTS and what do you know about it?
41. When a program is created and need to be transported to prodn does selection texts always go with it? if not how do you make sure? Can you change the CTS entries? How do you do it?
42. What is the client concept in SAP? What is the meaning of client independent?
43. Are programs client dependent?
44. Name a few system global variables you can use in ABAP programs?
45. What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?
46. How do you take care of performance issues in your ABAP programs?
47. What are datasets?
48. How to find the return code of a stmt in ABAP programs?
49. What are interface/conversion programs in SAP?
50. Have you used SAP supplied programs to load master data?
2. Adapted from response by Maram Roja on Tuesday, June 15, 2004
1. What are the techniques involved in using SAP supplied programs? Do you prefer to write your own programs to load master data? Why?
2. What are logical databases? What are the advantages/disadvantages of logical databases?
3. What specific statements do you using when writing a drill down report?
4. What are different tools to report data in SAP? What all have you used?
5. What are the advantages and disadvantages of ABAP query tool?
6. What are the functional areas? User groups? How does ABAP query work in relation to these?
7. Is a logical database a requirement/must to write an ABAP query?
8. What is the structure of a BDC sessions.
9. What are Change header/detail tables? Have you used them?
10. What do you do when the system crashes in the middle of a BDC batch session?
11. What do you do with errors in BDC batch sessions?
12. How do you set up background jobs in SAP? What are the steps? What are the event driven batch jobs?
13. Is it possible to run host command from SAP environment? How do you run?
14. What kind of financial periods exist in SAP? What is the relevant table for that?
15. Does SAP handle multiple currencies? Multiple languages?
16. What is a currency factoring technique?
17. How do you document ABAP programs? Do you use program documentation menu option?
18. What is SAPscript and layout set?
19. What are the ABAP commands that link to a layout set?
20. What is output determination?
ABAP Interview Questions
1.Without using Tcode SE11, How can we enter the values in to the table???
2.What is the difference between Collect statement and Append Statement???
3.What do you mean by correction and Transportation system???
4.What is the difference between User Exits and BADI????
5.How can we identify User exits in our screen???
6.What do you mean by Inbound and Outbound interface???
7.In realtime do we configure ALE systems or Administator will take care of that??
8.How to release an object???
9.What is the flow of a Sales document???
10.What is the flow of Purchase order???
12.What is the flow of Invoice???
13.What are the standard IDOC's used???
14.What do you mean by table control???Where will we use this???
15.What are field symbols??Where will we use these symbols???
1. There are other ways of entering data into a DB table. ex. B D C
2. Collect statement collect/adds the records basing on a key field. allows to create summarised data sets.
Append will append/add a record at the end of existing records
8. to release an object - use se10/se9
9. sales doc flow: S. A. - S. O. - Delivery - Billing
12. Delivery - invoice.
15. field symbols are used for dynamic allocation. at runtime u can assign a concrete field to field-symbol.
1. you can go to abap editor (se38) and use insert statement for insertion update for update and modify for modifications.
2. collect will not allow duplicate entries, while append can allow duplicates.
3. if any changes are made to objects they are to be transported to different systems i.e, change and transport.
4. in user exits we go by general method for enhancements while BADIs we use objects (oops concepts)
methods for enhancement.
14. table controls are enhanced version for step loops where we can expand rows .main difference between these two
is step loop can be expanded to two lines table controls can`t.
15. field symbols are just like pointers concept which are used in C language. We use them when we want to refer to
the fields considered,it doesnt allocate any memory for it.
1. Ans: Using BDC., LSMW,,ALE., BAPI
2. Ans: Collect: it adds the numeric fields to the existing non numeric key field records., thereby avoiding duplicate
values., and append will simply adds the record
3 . Ans: The CTS contains work bench organizer and transport system :
The workbench organizer is used to record and contol changes to the ABAP/4 development objects;
The transport system is used to move objects from an SAP dev.system to production system
6. Ans: Outbound interface is used to send IDocs to the ALE server.,
Inbound interface is used to Analyse the received Idoc.
7. Ans: We (ABAPers) don't do.
8. Ans: se09 or se10
13. Ans: MATMAS
CREMAS
DEBMAS
GLMAST etc...
14. Ans: to display records in table format., we use in Screens
15. Ans: we assign the field content at run time with ASSIGN stmt.
Satish D
1. goto se16 u can view the table contents
2. collect will collects all the numeric fields of nonnumeric field values
append will append record at the end of table
3. when we are creatiing new task like dev. a new prg.. after completion of dev. that will be trnsported to testing system or production system to do that we are assigning an
transport request from our dev.class(system) by using se09
4. badis are dev. by class and inheritence methods where as user exitsdev by SAP only and empty shells filled wit user logic
5. go to system then status
6. outbound generating an idoc in ale layer with master_idoc_create_messgetype,
inbound is receivng system with idoc_inbound_process, gives an return variable wether it is sucess or not
7. no we have to configur that
8. go to se09 or se01 there write your task no and use release button it will asks whats the other system name
and number enter them and relase by pressing jeep button
9. inquiry
quotation
sales order
shipping
delivery
invoice
return goods
12. after creation of delivry note invoice is prepared
13. master_idoc_distribute will generate standard idoc
I am enclosing some of answers which I know.
1. We can use t.Code SE16 to enter values into table only if table maintainence is allowed for that table.
2. Append will add new entries into the table where as collect add into the numeric type fields if other charatcer fields
matches to your selection criteria.
3. CTS used for creation of ABAP development transport requests.The transaction code for this is SE10.
4. UserExits r used for adding additional functionality to the existing SAP standard transactions.Using UserExits we can add additional functionality standard SAP functionality without making any changes to the original code.BADI is a standardized interface for ABAP sources that enables partners and customers to enhance SAP-delivered programs in their namespace.
5 .We can identify User exits by using transactions CMOD and SMOD.
6. After entering transaction code SE10 select the transport request which u want to transport and click on transport icon(Truck symbol) to release it.
10. Purchase Requistion->RFQ->Vendor Evaluation->Purchase Order(ME21).
14. Table control is the only facility provide thru dialog programming when we come acrosse the use of updating standared,deletion,insertion and all database operations.
15. Field symbols r pointers to the existing data types(like 'C') which does not allocate any memory space. These are used faster access of data.
Answers to some ABAP Interview Questions:
Questions which I have faced in an interview:
1) What is runtime analysis? Have you used this?
2) What is meant by performance analysis? Have done anything to improve the performance?
3) How to transfer the objects? Have to transferred any objects?
4) How did you test the developed objects?
5) What is the difference between SAP Memory and ABAP Memory?
6) In order to upload Purchase order details, how you handle multiple values for a single field?
Eg: Item field may contain no. of values for a record
7) What is the procedure you followed to upload the data?
8) How did you handle errors in Call Transaction?
9) Among the Call Transaction and Session Method, which is faster?
10) What are the difference between Interactive and Drill Down Reports?
11) How to pass the variables to forms?
12) How to create a link between modified form and modified print program?
13) What is the table, which contain the details of all the name of the programs and forms?
14) How did you test the form u developed? How did you taken print?
15) What are Standard Texts?
16) What is the difference between Clustered Tables and Pooled Tables?
17) What is pf-status?
18) Among "Move" and "Move Corresponding", which is efficient one?
19) What are the output type and Tcodes?
20) Where we use Chain and Endchain?
21) Do you use select statement in loop endloop, how will be the performance? To improve the performance?
22) In select-options, how to get the default values as current month first date and last date by default?
Eg: 1/12/2004 and 31/12/2004
Go thru these answers:
1) What is runtime analysis? Have you used this?
It's checks program execution time in microseconds. When you go to se30.if you give desired program name in performance file. It will take you to below screen. You can get how much past is your program.
2) What is meant by performance analysis? Have done
3) How to transfer the objects? Have you transferred any objects?
4) How did you test the developed objects?
I was testing a developed object. There are two types of testing
Negative testing
Positive testing
In negative testing we will give negative data in input and we check any errors occurs.
In positive testing we will give positive data in input for checking errors.
8) How did you handle errors in Call Transaction?
We can create a internal table like 'bsgmcgcoll'. All the messages will go to internal table. We can get errors in this internal table.
Below messages are go to internal table. when you run the call transaction.
Message type
Message id
Message Number
Variable1
Variable2
Variable3
9) Among the Call Transaction and Session Method, which is faster?
Call transaction is faster then session method. But usually we use session method in real time...because we can transfer large amount of data from internal table to database and if any errors in a session. Process will not complete until session get correct.
10) What are the difference between Interactive and Drill Down Reports?
ABAP/4 provides some interactive events on lists such as AT LINE-SELECTION (double click) or AT USER-COMMAND (pressing a button). You can use these events to move through layers of information about individual items in a list.
Drill down report is nothing but interactive report...drilldown means above paragraph only.
11) How to pass the variables to forms?
12) What is the table, which contain the details of all the name of the programs and forms?
Table contains vertical and horizontal lines. We can store the data in table as blocks. We can scroll depends upon your wish. And these all are stored in database (data dictionary).
Which contain the details of all the name of the programs and forms? (I don't know).
13) How did you test the form u developed? How did you taken print?
14) What are Standard Texts?
16) What is the difference between Clustered Tables and Pooled Tables?
A pooled table is used to combine several logical tables in the ABAP/4 dictionary. Pooled tables are logical tables that must be assigned to a table pool when they are defined.
Cluster table are logical tables that must be assigned to a table cluster when they are defined.
Cluster table can be used to store control data they can also used to store temporary data or text such as documentation.
17) What is pf-status?
Pf status is used in interactive report for enhancing the functionality. If we go to se41, we can get menus, items and different function keys, which we are using for secondary list in interactive report.
18) Among "Move" and "Move Corresponding", which is efficient one?
I guess, 'move corresponding' is very efficient then 'move' statement. Because usually we use this stamtent for internal table fields only...so if we give move corresponding. Those fields only moving to other place (what ever you want).
19) What are the output type and Tcodes?
20) Where we use Chain and End chain?
21) Do you use select statement in loop end loop, how will be the performance? To improve the performance?
22) In select-options, how to get the default values as current month first date and last date by default?
Eg: 1/12/2004 and 31/12/2004
SAP ABAP interview questions
Thanks to the reader who sent in this question set:
1. What is an ABAP data dictionary?- ABAP 4 data dictionary describes the logical structures of the objects used in application development and shows how they are mapped to the underlying relational database in tables/views.
2. What are domains and data element?- Domains:Domain is the central object for describing the technical characteristics of an attribute of an business objects. It describes the value range of the field. Data Element: It is used to describe the semantic definition of the table fields like description the field. Data element describes how a field can be displayed to end-user.
3. What is foreign key relationship?- A relationship which can be defined between tables and must be explicitly defined at field level. Foreign keys are used to ensure the consistency of data. Data entered should be checked against existing data to ensure that there are now contradiction. While defining foreign key relationship cardinality has to be specified. Cardinality mentions how many dependent records or how referenced records are possible.
4. Describe data classes.- Master data: It is the data which is seldomly changed. Transaction data: It is the data which is often changed. Organization data: It is a customizing data which is entered in the system when the system is configured and is then rarely changed. System data:It is the data which R/3 system needs for itself.
5. What are indexes?- Indexes are described as a copy of a database table reduced to specific fields. This data exists in sorted form. This sorting form ease fast access to the field of the tables. In order that other fields are also read, a pointer to the associated record of the actual table are included in the index. Yhe indexes are activated along with the table and are created automatically with it in the database.
6. Difference between transparent tables and pooled tables.- Transparent tables: Transparent tables in the dictionary has a one-to-one relation with the table in database. Its structure corresponds to single database field. Table in the database has the same name as in the dictionary. Transparent table holds application data. Pooled tables. Pooled tables in the dictionary has a many-to-one relation with the table in database. Table in the database has the different name as in the dictionary. Pooled table are stored in table pool at the database level.
7. What is an ABAP/4 Query?- ABAP/4 Query is a powerful tool to generate simple reports without any coding. ABAP/4 Query can generate the following 3 simple reports: Basic List: It is the simple reports. Statistics: Reports with statistical functions like Average, Percentages. Ranked Lists: For analytical reports. - For creating a ABAP/4 Query, programmer has to create user group and a functional group. Functional group can be created using with or without logical database table. Finally, assign user group to functional group. Finally, create a query on the functional group generated.
8. What is BDC programming?- Transferring of large/external/legacy data into SAP system using Batch Input programming. Batch input is a automatic procedure referred to as BDC(Batch Data Communications).The central component of the transfer is a queue file which receives the data vie a batch input programs and groups associated data into “sessions”.
9. What are the functional modules used in sequence in BDC?- These are the 3 functional modules which are used in a sequence to perform a data transfer successfully using BDC programming: BDC_OPEN_GROUP - Parameters like Name of the client, sessions and user name are specified in this functional modules. BDC_INSERT - It is used to insert the data for one transaction into a session. BDC_CLOSE_GROUP - This is used to close the batch input session.
10. What are internal tables?- Internal tables are a standard data type object which exists only during the runtime of the program. They are used to perform table calculations on subsets of database tables and for re-organising the contents of database tables according to users need.
11. What is ITS? What are the merits of ITS?- ITS is a Internet Transaction Server. ITS forms an interface between HTTP server and R/3 system, which converts screen provided data by the R/3 system into HTML documents and vice-versa. Merits of ITS: A complete web transaction can be developed and tested in R/3 system. All transaction components, including those used by the ITS outside the R/3 system at runtime, can be stored in the R/3 system. The advantage of automatic language processing in the R/3 system can be utilized to language-dependent HTML documents at runtime.
12. What is DynPro?- DynPro is a Dynamic Programming which is a combination of screen and the associated flow logic Screen is also called as DynPro.
13. What are screen painter and menu painter?- Screen painter: Screen painter is a tool to design and maintain screen and its elements. It allows user to create GUI screens for the transactions. Attributes, layout, filed attributes and flow logic are the elements of Screen painter. Menu painter: Menu painter is a tool to design the interface components. Status, menu bars, menu lists, F-key settings, functions and titles are the components of Menu painters. Screen painter and menu painter both are the graphical interface of an ABAP/4 applications.
14. What are the components of SAP scripts?- SAP scripts is a word processing tool of SAP which has the following components: Standard text. It is like a standard normal documents. Layout sets. - Layout set consists of the following components: Windows and pages, Paragraph formats, Character formats. Creating forms in the R/3 system. Every layout set consists of Header, paragraph, and character string. ABAP/4 program.
15. What is ALV programming in ABAP? When is this grid used in ABAP?- ALV is Application List viewer. Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length. In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. The report output can contain up to 90 columns in the display with the wide array of display options.
16. What are the events in ABAP/4 language?- Initialization, At selection-screen, Start-of-selection, end-of-selection, top-of-page, end-of-page, At line-selection, At user-command, At PF, Get, At New, At LAST, AT END, AT FIRST.
17. What is CTS and what do you know about it?- The Change and Transport System (CTS) is a tool that helps you to organize development projects in the ABAP Workbench and in Customizing, and then transport the changes between the SAP Systems and clients in your system landscape. This documentation provides you with an overview of how to manage changes with the CTS and essential information on setting up your system and client landscape and deciding on a transport strategy. Read and follow this documentation when planning your development project.
18. What are logical databases? What are the advantages/ dis-advantages of logical databases?- To read data from a database tables we use logical database. A logical database provides read-only access to a group of related tables to an ABAP/4 program. Advantages: i)check functions which check that user input is complete, correct,and plausible. ii)Meaningful data selection. iii)central authorization checks for database accesses. iv)good read access performance while retaining the hierarchical data view determined by the application logic. dis advantages: i)If you donot specify a logical database in the program attributes,the GET events never occur. ii)There is no ENDGET command,so the code block associated with an event ends with the next event statement (such as another GET or an END-OF-SELECTION).
19. What is a batch input session?- BATCH INPUT SESSION is an intermediate step between internal table and database table. Data along with the action is stored in session ie data for screen fields, to which screen it is passed, program name behind it, and how next screen is processed.
20. How to upload data using CATT ?- These are the steps to be followed to Upload data through CATT: Creation of the CATT test case & recording the sample data input. Download of the source file template. Modification of the source file. Upload of the data from the source file.
21. What is Smart Forms?- Smart Forms allows you to create forms using a graphical design tool with robust functionality, color, and more. Additionally, all new forms developed at SAP will be created with the new Smart Form solution.
22. How can I make a differentiation between dependent and independent data?- Client dependent or independent transfer requirements include client specific or cross client objects in the change requests. Workbench objects like SAPscripts are client specific, some entries in customizing are client independent. If you display the object list for one change request, and then for each object the object attributes, you will find the flag client specific. If one object in the task list has this flag on, then that transport will be client dependent.
23. What is the difference between macro and subroutine? - Macros can only be used in the program the are defined in and only after the definition are expanded at compilation / generation. Subroutines (FORM) can be called from both the program the are defined in and other programs . A MACRO is more or less an abbreviation for some lines of code that are used more than once or twice. A FORM is a local subroutine (which can be called external). A FUNCTION is (more or less) a subroutine that is called external. Since debugging a MACRO is not really possible, prevent the use of them (I’ve never used them, but seen them in action). If the subroutine is used only local (called internal) use a FORM. If the subroutine is called external (used by more than one program) use a FUNCTION
Hope this helps u. Do not forget to reward useful answers.
Regards,
Richa

Similar Messages

  • Read data from Inbound ABAP proxy.Experts.

    Hi

    Hi Experts,
    I want to read data from a inbound proxy.
    Data is inside a deep structure as input.
    Inside that 6 fields are there , out of those 6 i am able to read data from 5 fildes which are of type string 1 field QUANT is there which is of  "Proxy Table Type (generated)" having data type as string.
    Now whenever i tried to assign this to any field or variable of type string or char it gives error as "can not be converted to type of" that quant field.
    Please help thanks in advance.

  • Starting web service throws exception, Web Dynpro ABAP, for experts

    Hi,
    i have create a web service (from a FM), a proxy object (transactions: wsconfig, wsadmin) and a logical port (transaction: lpconfig).
    If i run the application an exception is thrown and the showText-Method says
    SOAP Error 4: Operation not supported
    I can't find anything about this error.
    Regards

    Hallo,
    thanks.
    My code:
    Client Proxy
    DATA: service TYPE REF TO zpc_co_reset_user_password .
    data: lo_sys_exception type ref to cx_ai_system_fault ,
            err_string type string.
      TRY.
          CREATE OBJECT service
            exporting
              logical_port_name = 'DEFAULT'.
        CATCH cx_ai_system_fault .
      ENDTRY.
      DATA: user TYPE zpc_reset_user_passwordinput .
      DATA: out TYPE zpc_reset_user_passwordoutput .
      TRY.
          user-bname = sy-uname.
          CALL METHOD service->zbc_reset_user_password
            EXPORTING
              input  = user
            IMPORTING
              output = out.
          message = out-message.
        catch cx_ai_system_fault into lo_sys_exception.
          err_string = lo_sys_exception->get_text( ).
        CATCH cx_ai_application_fault.
      ENDTRY.
    In the WSDL-File
    - <wsdl:portType name="ZWS_RESET_SAP_PASSWD">
    - <wsdl:operation name="ZbcResetUserPassword">
      <wsdl:input message="tns:ZbcResetUserPassword" />
      <wsdl:output message="tns:ZbcResetUserPasswordResponse" />
      </wsdl:operation>
      </wsdl:portType>
    How should i call the operation?
    I create the object for the proxy and then i call the proxy method zbc_reset_user_data.
    What's wrong?
    Regards

  • Pointers on ABAP documentations (Database/Respositories/Structures/Tables/

    Hi ABAP Gurus/Experts,
    I am basically a SAP Functional consultant, but recently taken a new assignment on SAP Net Weaver MDM, where in i require lot of ABAP knowledge mainly in Database area, like Structure, Tables, Data Objects etc,
    I am looking for an good ABAP documentations on Database/Repositories/Structures/Tables/Data Objects etc.
    Good pointers will be Fully Rewarded.
    Regards
    Rehman

    Hi,
    Go thru this link for ABAP Programming,
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    To start with you should use book....
    [bTeach yourself ]ABAP in 21 Days...by SAMS publication.
    this book will fundamentally stat up with basics of SAP and ABAP..
    it will b the best to start with...
    you can get it here...
    http://www.allfreetech.com/EBook_index.asp?CategoryID=1
    ABAP has so many contents. start learning one by one;
    First pay attention to basic chapters like REPORTS, SCRIPTS, TRANSACTIONS, and BDC's,.Once you become perfect start learning other chapters. To learn Netweaver Java is very useful
    go through the links:
    Start with this.Refer this
    http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_DATADICTIONARY_FAQ.html
    http://www.****************/InterviewQ/interviewQ.htm
    http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Reports
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    Check these step-by-step links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SAPScripts
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    Debugging Document.
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    Regards,
    Padmam.

  • Generate transformation in ABAP

    Hi,
    i need to create a transformation with an expert routine dynamicallyy in ABAP ?
    (expert routine contailns always the same coding)
    Any idea?
    regards
    rouzbeh
    Edited by: Roozbehan on May 26, 2010 9:50 AM

    Hi,
    my problem is modifying a standard dso from an internal table which contains  modified entries
    from active table of dso.
    Edit DSO Entries
    I want to modify dso via a request (in order to modify all three tables automaticcaly)
    i need to start a dtp.
    as i have no transformation manually created in bi, my idea is to create dynamiccaly a dtp
    which calls my coding in exper routine.
    thanks

  • Mysterious function module DYNP_VALUES_UPDATE?

    Hi ABAP Gurus/Experts,
    I'm very confused about function module DYNP_VALUES_UPDATE in function group SHL2. It'll be nice if you could answer my question below.
    I tried to call the function module with space passed to both parameter DYNAME and DYNUMB, such as the following, and it successfully updated the selection screen of the calling report. I wonder how it got program/screen information of the calling report.
        CALL FUNCTION 'DYNP_VALUES_UPDATE'
          EXPORTING
            dyname     = space
            dynumb     = space
          TABLES
            dynpfields = lt_dynp_fld[]
          EXCEPTIONS
            OTHERS     = 0.
    The source code of the function module is shown below. It merely calls a subroutine and simply ignores parameters DYNAME and DYNUMB.
    FUNCTION dynp_values_update.
    *"*"Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(DYNAME) LIKE  D020S-PROG
    *"             VALUE(DYNUMB) LIKE  D020S-DNUM
    *"       TABLES
    *"              DYNPFIELDS STRUCTURE  DYNPREAD
      PERFORM fill_dpovtab_upd TABLES dynpfields.
    ENDFUNCTION.
    The form is shown below. Did the C function DYNP_GET_STATUS link function group SHL2 to the calling report in the background? I guess that field symbol <dpovtab> (linked to global variable dpovtab610 in my test) in the form was mapped to the calling report by the ABAP runtime environment...
    FORM fill_dpovtab_upd TABLES dynpfields STRUCTURE dynpread.
      DATA: hf TYPE i, dp TYPE dpov610, hstepl(3) TYPE n,
            flduseoffs TYPE i, flduselen TYPE i,
            fldnameoffs TYPE i, fldnamelen TYPE i,
            fldinhoffs TYPE i, fldinhlen TYPE i,
            fldinpoffs TYPE i, fldinplen TYPE i.
      FIELD-SYMBOLS: <dpovline> TYPE ANY, <dpovtab> TYPE table,
                     <dfline> TYPE dynpread.
      CALL 'DYNP_GET_STATUS' ID 'FUNCTION' FIELD 16 "kennt der Kern DPOV610?
                             ID 'VALUE' FIELD hf.             "#EC CI_CCALL
      IF sy-subrc NE 0 OR hf EQ 0.                  "sieht wohl nicht so aus
        ASSIGN: dpovtab TO <dpovline>,
                dpovtab[] TO <dpovtab>.
        flduseoffs = 0. flduselen = 1.
        fldnameoffs = 1. fldnamelen = 132.
        fldinhoffs = 133. fldinhlen = 132.
        fldinpoffs = 265. fldinplen = 1.
      ELSE.                                         "DPOV610 ist bekannt
        ASSIGN: dpovtab610 TO <dpovtab>,
                dp TO <dpovline>.
        flduseoffs = 0. flduselen = 1.
        fldnameoffs = 1. fldnamelen = 140.
        fldinpoffs = 141. fldinplen = 1.
        fldinhoffs = 142. fldinhlen = 255.
      ENDIF.
    * dynpfields nach dpovtab schaufeln
      CLEAR: <dpovtab>, <dpovline>.
      LOOP AT dynpfields ASSIGNING <dfline>.
        IF <dfline>-stepl GT 0.
          hstepl = <dfline>-stepl.
          CONCATENATE <dfline>-fieldname '(' hstepl ')'
               INTO <dpovline>+fldnameoffs(fldnamelen).
        ELSE.
          <dpovline>+fldnameoffs(fldnamelen) = <dfline>-fieldname.
        ENDIF.
        <dpovline>+flduseoffs(flduselen) = 'E'.
        <dpovline>+fldinhoffs(fldinhlen) = <dfline>-fieldvalue.
        APPEND <dpovline> TO <dpovtab>.
      ENDLOOP.
    ENDFORM.                    "fill_dpovtab_upd

    Hi Bo,
    In some place, some where, ..., SAP links the dpov table of this function group with your kernel. See:
    call 'DYNP_GET_STATUS' id 'FUNCTION' field 16 "kennt der Kern DPOV610?
                           id 'VALUE' field hf.   "#EC CI_CCALL
    if sy-subrc ne 0 or hf eq 0.                  "sieht wohl nicht so aus
    This call is a internal function that verify the table in the kernel.
    With sure another point of system is linking it.
    Best regards,
    Leandro Mengue

  • JAVA CODE  NOT CREATING IDOC

    Hi all
    I m facing problem to upload data through idoc.the scenario is like we receive electric meter reading in flat file format. And to upload that data JAVA code is written which will create an IDOC FILE this authorization is only give to 2-3 person in organization and to basis guy also as user changed it’s password in SAP and in JAVA the java code is not going to create the IDOC file and data is not going to upload. after changing user password in sap system ,user not able to upload the data.
    ISU_MR_UPLOAD01 is the idoc file generated. So is there any authorization issue, password issue how to see and view IDOC IN SAP, can any one help me out into this.
    The error with java throws is as;
    1ST ERROR IN TRACE FILE
    ERROR file opened at 20061109 133610 India Standard, SAP-REL 640,0,59 RFC-VER 3  MT-SL
    T:2736 ======> User TR has no RFC authorization for function group SYST .
    T:2736 <* RfcReceive [1] : returns 3:RFC_SYS_EXCEPTION
    2ND ERROR ON COMMAND PROMT
    C:\j2sdk1.4.2_07>cd bin
    C:\j2sdk1.4.2_07\bin>java sandsupload
    Creating IDoc...Exception in thread "main" com.sap.mw.idoc.IDoc$Exception: (2) I
    DOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "ISU_MR_UPLOAD01
    " is unavailable.
            at com.sap.mw.idoc.jco.JCoIDoc$JCoDocument.<init>(JCoIDoc.java:233)
            at com.sap.mw.idoc.jco.JCoIDoc$JCoDocument.<init>(JCoIDoc.java:187)
            at com.sap.mw.idoc.jco.JCoIDoc.createDocument(JCoIDoc.java:10521)
            at sandsupload.main(sandsupload.java:35)
    the part of java code
    try {
                //create a JCo client pool
                JCO.addClientPool( "MyPool",    //pool name
                                   3,           //maximum pool connections
                                   "333",       //SAP client
                                   " TR",    //user ID
                                   " XYZ",  //password
                                   "EN",        //language
                                   " 1.1.1.1   ", //app server host name
                                   "00" );   //system number
                //create an IDoc repository
                IDoc.Repository idocRep = JCoIDoc.createRepository("MyIDocRepository", "MyPool");
                //create a new and empty MATMAS02 document
                System.out.print("Creating IDoc...");
         Line where it shows error
                IDoc.Document doc = JCoIDoc.createDocument(idocRep, "ISU_MR_UPLOAD01");
                //get the root segment from the document
                //The root segment does not contain any fields or data. It is only
                //used as the standard parent segment and won't be transmitted when
                //the document is sent to an SAP system.
                IDoc.Segment segment = doc.getRootSegment();
                //create and add a new and empty child segment of type E1MARAM
                //and fill the segment data

    Hi Gaurav,
    Same exception on the same line has been reported and marked as solved here :
    IDOC_ERROR_METADATA_UNAVAILABLE:
    Btw, I think this forum is not visited often by JCO and ABAP connectivity experts, so maybe you could get a faster response to your problems while posting in "Java Programming" or maybe in some forum under the category ABAP Development.
    HTH
    Peter

  • Generation Partner Profiles from ALE Distribution Model

    Hi ABAP/EDI experts,
    I am a trainee. I am getting training from Pvt consultancy. I am working on SAP Demo systems.
    I am trying t generate an IDoc using ALE method.
    IN SALE window, I created two logical systems,ZVK_SS_800 and ZVK_SS_820. I assigned them to two clients 800 and 820 respectively.
    In SM59 i created an RFC connection ZVK_RFC004 of type 3. Here I gave the client Number as 820. ( I'm not sure what to give)
    In BD64, I created an ALE Model and added the message type MATMAS with Sending and Receiving Logical systems.
    From the Environment drop down menu , selected generate partner profiles and executed with defaults checked. ( Transfer IDocs Immediatley and Trigger Immediately).
    I got the following log.
    Log For Partner Profile Generation:
    Partner:
    In Green Color
    Partner ZVK_SS_800 as partner has been Created ( Sending System)
    Partner ZVK_SS_820 as partner has been Created (Receiving System)
    Port:
    In Red Color
    Port Cloud not be Created
    RFC destination ZVK_SS_820 not specified for system ZVK_SS_820
    Enter the RFC destination and Restart the generation.
    Please help me to fix this probelm.
    Any kind of Help will be surely rewarded.
    Thanks,

    From SM59, you can Test your RFC Connections between Clients.  I would do this from Client 800 and test the Connection to Client 820.   If that checks okay, I would then try SM59 on Client 820.   Check the RFC Connection from Client 820 to Client 800.   Be sure you have your Logical Systems defined on Both Clients.   You can also double click on your Error Message to see if there is a Long Text Available that might give you further information as what needs to be corrected.   I am not an Expert in this area, but have setup several ALE Models for my Variant Configuration without any problems.  If you could include your EMail Address on your Business Card I could EMail you my instructions.   Your Basis person may also be able to help you based upon your Error Message.

  • Sales Invoice Approval Workflow

    Hello Experts,
       I want to trigger workflow when any billingis generated with the transaction VF01.
       After research, I've found that there might be no standard workflow for approval of Sales Invoice.
       However I've found the business object VBRK.
       shall I have to write the new workflow for this with the Business object VBRK or is that anything which SAP gives in standard and I'm not able to find it..?
      Please help...
      Naimish.

    My requirement is that when any billing document is created, by it should go for the approval to the Sales manager and after the approval only the billing block is removed and accounting document of the invoice is generated.
    Hi
    As per your requirement, you should have a billing block at sales order level, because of that user will not able to create billing document. At the time of sales order save event workflow will trigger to respective authority based on sales value. The list of authorities along with their respective authorisied amount should maintain in a table.
    Based on that table workflow will trigger to respective person.
    That person will authorised to accept/reject that document, if accepted billing block will automatically removed from the sales order and SOP personnel can now create the billing for that.
    The whole scenario explained is for credit/debit memos.
    Please check your requirement and contact your ABAPer/Workflow expert.

  • Consume Sales Order webservice in CRM 7.0

    Hello Experts,
    Basically I am an ABAP/XI expert, I have never used CRM. But I have a business case where in I need to consume Sales Order (Create) webservice to create one on to CRM.
    Please provide me with some Doc's, which talks about the webservices and there consumption. If there are no doc realted please give me a brife process of consuming it. Like how to generate WSDL and use it on to a java client.
    Thanks,
    Srikanth

    Follow below thread . Looks like similar issue but on ECC.
    Re: Delimma on using CRM006 Consumer 5.0 to 7.0 multiple companies

  • Logo is riverse! i.e. looking like in mirror ( upside-down )

    Hi ABAP / BASIS Experts,
    I got a form, in which the logo is printing in riverse way i.e. looking like, when u see it in mirror! So, culd u pls. tell me How to resolve it?
    Only logo print upside-down and remain text(Data) is ok.
    This is working fine on HP Laser Jet 1020 , 2420 dn etc.
    Specially this problem on some n/w ( IP Based )printers only like HP Color Laser Jet 3800n etc.
    Thanks in advance.
    Tapovardhan

    Hi KK
    Thanks, But prob as same. Have any other method.
    TVS

  • How to delete E1EDP19 002 segment frm the inbound ORDERS IDoc?

    Hi ABAP/EDI experts,
    I am implementing an User exit related to inbound Sales order EXIT_SAPLVEDA_001.
    Most of the time my IDocs contain the below segments.
    E1EDP19 001 (QUALF = '001')
    E1EDP19 002 (QUALF = '002')
    Sometimes, IDoc contain only E1EDP19  001 (QUALF = '001') segment.
    My problem is whenever i have two E1EDP19 segments, i want to delete the 1st E1EDP19 segment and retain the second E1EDP19 segment.
    Can anyone tell me the pseudocode for deleting the 1st E1EDP19 segment from the inbound orders IDoc.
    Am i using the correct user exit??
    Thanks,
    Creasy Matt
    Edited by: Creasy Matthew on Jan 22, 2009 12:56 AM

    Hi Matt,
    You can loop on idoc_data internal table. This table will be having all the data and the segments.
    data: l_count type i value 0,
            l_tabix type sy-tabix.
    LOOP AT idoc_data WHERE docnum = idoc_contrl-docnum.
    CASE idoc_data-segnam.
    WHEN e1edp19.
    l_tabix = sy-tabix.
    l_count = l_count + 1.
    if l_count = 2.
       l_tabix = l_tabix -1.
      delete idoc_data index l_tabix.
    endif.
    ENDCASE.
    ENDLOOP.
    I hope this will work.
    Please let me know if any issues.

  • Custom field in action

    Hi,
    My customer wants to capture every action inPa40... against an office order. Can I create custom field or is there any standard reserved field that i may use..pls help..the best way.

    hi,
    You can try to add fields in infotype 0001. IF you will check the table PA0001 (table of IT0001 structure), structure CI_P0001 is present. Here you can add the field as per your requirement. As 1 of our expert said you have to use TC PM01 to enhance it. Also you need to re-generate/ modify the related objects as well. Please take help of a ABAP-HR expert.
    Praveen

  • Needed Help: SAP User cannot Post in any of the transactions

    Hi Experts,
    I have a problem on our QAS system, I have tried to post a lot of documents in transaction MIGO, in creating RFQ through ME41, in Posting Accounting Document in FB50. But all of them failed with the Express Document appearing at the end of the "Document Number Created" message.
    Express Documents range from:
    I. "MESSAGE_TYPE_X" when creating RFQ of One Time Vendors:
    +Short text of error message:
    Database error changing table ADRC
    Long text of error message:
    Technical information about the message:
    Message class....... "AM"
    Number.............. 842
    Variable 1.......... "ADRC"
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    Information on where terminated
    Termination occurred in the ABAP program "SAPLSZA0" - in "ADDR_SAVE_INTERN".
    The main program was "RSM13000 ".
    In the source code you have the termination point in line 553
    of the (Include) program "LSZA0U47".
    The program "SAPLSZA0" was started in the update system.+
    II. SAPSQL_ARRAY_INSERT_DUPREC, Post Goods Receipt in MIGO
    +An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
    in
    procedure "INSERT_TABLES" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)+
    III. SAPSQL_ARRAY_INSERT_DUPREC, Posting through FB50
    +An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
    in procedure "INSERT_TABLES" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)+
    Please provide direct solution for the system problem. And please tell me also what are the usual causes of these problems (Configuration-wise or ABAP)

    Hi Experts,
    I already investigated this in the system and this issue still occurs I already changed the current number in transaction code OMBT, still error occurs in Posting any Account Documents. When I change the current number manually, then post a document in MIGO, the document number will be displayed in the status bar. But once you tried any function/push any button, an express document will be displayed with the error DUPREC.
    I checked in OMBT the current number range and it's incrementing to 10 example if last current doc number is 5000000510, the new current doc number will be 5000000520.
    Do we have any confoguration that will correct this increment on the number range interval for Accounting Documents? Curerntly only Accounting Documents cannot post, other than these documents like Sales Order, PO, PR, etc. they can be created.
    There are no changes in the user exits affecting the transaction as it was running smoothly last month.
    Please help. Thanks a lot!

  • Compare 2 XML and only get the differences back

    Hello ABAP XML experts,
    I do not have an XI infrastructure, but need to perform a changes-only functionality in interfacing.
    To achieve this I have a program which creates an XML string from an ABAP dictionary structure. I create this XML using the  CALL TRANSFORMATION id statement. Then I store this XML in a custom database table.
    The next time I run the interface program I create a new XML string and I read the one from the database, which I stored in the previous run of the program.
    So far so good. Now the question.
    Is there a standard function module, class or transformation who I can give the new and old XML and then it would compare the content and tell me which values have changed?
    Kind Regards
    Koen Van Loocke

    Hi Patel,
    the method sound promising, however I have my xml in a data field of type string and the method needs type XSTRING.
    do you happen to know how to convert from string to XSTRING?
    thanks
    Koen

Maybe you are looking for