Custom ABAP extractor question
Hi Geeks,
I have written an ABAP report for a custom extractor.
My report pulls all necessary data & modify table ZTABLE.
Now I want to trigger event in BW using RSSM_RAISE_EVENT.
which I will use to trigget process chain in BW.
My question is how BW will recognize my report as custom extractor?
I am not using RSO2 , I am bit confused abt it.
Can anybody clear my understanding about how to go abt defining custom extractors using ABAP report, what r the steps..I know how to write the code & I have my code ready
Thanx in Advance.
Monica
Hi Monica,
You have to create a generic extractor.
Go to transaction RSO2 on your source system.
Fill in a name for the extractor.
In the next screen you have to choose for Extraction with Function Module. If you place you cursor on the FM field and push F1 (Help) you get an example of a FM: RSAX_BIW_GET_DATA_SIMPLE.
Copy this FM and change the logic for collecting the data in itab e_t_data.
Cheers,
Patrick
Similar Messages
-
Hi! This is a very simple question...
I've been trying to use ABAP transforms in BODS, and I'm having some difficulty with the documentation. In particular, it's not clear how exactly the extracted information from the ABAP program makes it into the BODS dataflow.
Does anyone have a clearer picture of how this is done?
Thanks,
ScottHi,
Are you checking for ABAP Dataflows or Custom ABAP transformations?
Regards. -
Regarding ABAP interveiw question
HI experts,
Will u tell send me ABAP interview question which can help to prepare for getting job in abap.
will you send me some guidelines that how to prepare for abap interview.
Thanks
RamanHi
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???
Deepti
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.
Kishore
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.
Venu Rapolu
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
Deepti
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 (Ive 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.
Please check these links.
http://www.sap-img.com/abap/abap-interview-question.htm
http://www.sap-img.com/abap/answers-to-some-abap-interview-questions.htm
http://sap.ittoolbox.com/documents/document.asp?i=3240
http://www.techinterviews.com/?p=198
INTERVIEW
http://www.4futureengineers.com/tests/abaptest.htm
http://www.geekinterview.com/Interview-Questions/SAP-R-3/ABAP
http://www.techinterviews.com/?p=198
http://www.techinterviews.com/?p=326
http://www.sap-img.com/abap/answers-to-some-abap-interview-questions.htm
http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
http://www.geekinterview.com/Interview-Questions/SAP-R-3/ABAP
http://sap.ittoolbox.com/documents/popular-q-and-a/abap-sample-interview-questions-3240
http://www.sap-img.com/abap/abap-interview-question.htm
http://www.allinterview.com/Interview-Questions/ABAP.html
Start with this.Refer this
For BDC:
http://myweb.dal.ca/hchinni/sap/bdc_home.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
http://www.sap-img.com/abap/learning-bdc-programming.htm
http://www.sapdevelopment.co.uk/bdc/bdchome.htm
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
Check these link:
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://www.sap-img.com/abap/question-about-bdc-program.htm
http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
http://www.planetsap.com/bdc_main_page.htm
call Transaction or session method ?
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
BAPI
http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
Checkout !!
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://techrepublic.com.com/5100-6329-1051160.html#
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sapgenie.com/abap/bapi/example.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
List of all BAPIs
http://www.planetsap.com/LIST_ALL_BAPIs.htm
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sappoint.com/abap/bapiprg.pdf
http://www.sappoint.com/abap/bapiactx.pdf
http://www.sappoint.com/abap/bapilst.pdf
http://www.sappoint.com/abap/bapiexer.pdf
http://service.sap.com/ale
http://service.sap.com/bapi
http://www.geocities.com/mpioud/Abap_programs.html
http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
Simple ALV report
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
alv
http://www.sap-img.com/abap/important-abap-faq.htm
http://wiki.ittoolbox.com/index.php/FAQ:How_do_I_insert_a_logo_in_ALV_using_Function_Modules%3F
http://www.sap-img.com/abap/what-is-alv-programming.htm
http://www.geocities.com/mpioud/Abap_programs.html
ALV
1. Please give me general info on ALV.
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.
2. How do I program double click in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=11601
http://www.sapfans.com/forums/viewtopic.php?t=23010
3. How do I add subtotals (I have problem to add them)...
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
4. How to add list heading like top-of-page in ABAP lists?
http://www.sapfans.com/forums/viewtopic.php?t=58775
http://www.sapfans.com/forums/viewtopic.php?t=60550
http://www.sapfans.com/forums/viewtopic.php?t=16629
5. How to print page number / total number of pages X/XX in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
http://www.sapfans.com/forums/viewtopic.php?t=64320
http://www.sapfans.com/forums/viewtopic.php?t=44477
7. How can I set the cell color in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=52107
8. How do I print a logo/graphics in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=81149
http://www.sapfans.com/forums/viewtopic.php?t=35498
http://www.sapfans.com/forums/viewtopic.php?t=5013
9. How do I create and use input-enabled fields in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=84933
http://www.sapfans.com/forums/viewtopic.php?t=69878
10. How can I use ALV for reports that are going to be run in background?
http://www.sapfans.com/forums/viewtopic.php?t=83243
http://www.sapfans.com/forums/viewtopic.php?t=19224
11. How can I display an icon in ALV? (Common requirement is traffic light icon).
http://www.sapfans.com/forums/viewtopic.php?t=79424
http://www.sapfans.com/forums/viewtopic.php?t=24512
12. How can I display a checkbox in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=88376
http://www.sapfans.com/forums/viewtopic.php?t=40968
http://www.sapfans.com/forums/viewtopic.php?t=6919
Go thru these programs they may help u to try on some hands on
ALV Demo program
BCALV_DEMO_HTML
BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
BCALV_GRID_DEMO Simple ALV Control Call Demo Program
BCALV_TREE_DEMO Demo for ALV tree control
BCALV_TREE_SIMPLE_DEMO
BC_ALV_DEMO_HTML_D0100
Remote Function Call:
RFC is an SAP interface protocol. Based on CPI-C, it considerably simplifies the programming of communication processes between systems.
RFCs enable you to call and execute predefined functions in a remote system - or even in the same system.
RFCs manage the communication process, parameter transfer and error handling.
http://help.sap.com/saphelp_47x200/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm.
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/sap -
Custom delta extractor: All data deleted in source table in R/3
Hi everyone,
I have made a custom delta extractor from R/3 to a BW system. The setup is the following:
The source table in R/3 holds a timestamp, which is used for the delta. The data is afterwards loaded to a DSO in the BW system. The extractor works as expected with delta capability. Furthermore if I delete a record in the source table, this is not transmitted to the DSO, which is also as expected.
The issue is this however: If we delete all data in the source table, then on the next load there is a request showing 1 record transfered to the DSO. This request does, however, not show up in the PSA, and afterwards all data fields in the DSO is set to initial.
Does anyone know why this happens?
Thank you in advance.
Philip R. JarnhusHi Philip,
As you have used generic extractor I am not sure how the ROCANCEL will work but you can check the below link for more information,
[0RECORDMODE;
Regards,
Durgesh. -
BW authorizations objects in Custom abap report
Hi,
we develop a BW custom abap report which we have to roll out to certain end users.
We would like use our BW authorization design, and need therefore to incorperate these auth. objects into the abap.
What is the best way to this? Can we use function modules?
Any help welcome?
Regards,
HansHello Hans,
please check out the following
http://help.sap.com/bp_biv235/BI_EN/documentation/Authorization_BW_Proj.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/39f29890-0201-0010-1197-f0ed3a0d279f
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e1cba990-0201-0010-43ae-af579aee7a73
Hope it helps..
thanks, -
Hi
I want to develop a custom abap report in XI on the basis of payload.
Any clues??????????
Regards
VijayHi
sales orders are sent from RFC to JDBC scenario . now the requirement a report is required to read a particular Interface and its payload. with its start time and finish time
Let say
Sales order No
Item
Qty
Processing start time
Finish time
Status
Regards
Vijay -
Dynamic selection screen for custom ABAP report
Hi,
His it possible to create a custom ABAP report with a dynamic selection screen. The report doesnot use a logical database. If possible sample code will be appreciated.
Regards,
Chandra Kumarhi
use this link
Dynamic selection screen
Cheers
Snehi -
How to get active programs/custom ABAP developments for past 6 months?
All,
Is there any transaction/table/program/FM to get active programs for past 6 months?
Intention here is to get actively used custom ABAP developments.
Regards,
SreeHi Sree,
I usually look up the activity in transaction ST03N (Workload analysis). In most systems the standard activity statistics are available for up to three months. You can extend the period of course, see this [thread|ST03N Data; for further details.
Once in the transaction, switch to expert mode. Under Workload node, expand 'Total'. Double click on the desired range you want to analyze. Switch to 'User Data' tab in the right window and in the lower left pane under 'Analysis View', double click 'Transaction Profile'.
The # of steps roughly estimates how many times a particular transaction has been executed.
Best regards,
Asim -
I was hoping someone could help me out. I need to create an ABAP extractor that pulls data from twelve R3 tables and loads it into a single table for transfer to BW. The data is Production Order data and it needs to be reported at the OPERATION level. I have created a simple ABAP "report" that collects the information but I am not sure how to convert it to a extraction program. I know that a select statement that does an "Inner Join" on these tables is likely necessary, and I understand how to join most of the tables in this statement, but I do not know how to join all of them (or if that would be the best way to do it). I have included the ABAP report code below so you can see the combination of information I need. Any help in formulating the code to properly join the tables and create an internal table would be GREATLY appreciated. Thank you. Dave Burrows
REPORT ZBW_PO_DRILL_DOWN NO STANDARD PAGE HEADING LINE-SIZE 650.
TABLES:
AFKO, "Order header data PP orders
AFVC, "Operation within an order
JEST, "Object status
TJ02T, "System status texts
AFPO, "Order item
AFRU, "Order completion confirmations
CRHD, "Work Center Header
AUAK, "Document Header for Settlement
MAKT, "Material Descriptions
MARC, "Plant data for material
T024D, "MRP Controllers
AUFK. "Order Master Data
selection screen
SELECTION-SCREEN BEGIN OF BLOCK b00 WITH FRAME TITLE text-b00.
SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b01.
PARAMETERS: mrpcntlr LIKE MARC-DISPO OBLIGATORY DEFAULT '001'.
SELECTION-SCREEN END OF BLOCK b02.
SELECTION-SCREEN END OF BLOCK b00.
DATA: W_STATUS(15),
OP_STATUS(15),
JOB_STATUS(15),
W_OBJNR(14),
W_PRODQTY LIKE AFPO-WEMNG,
W_REMAINING_QTY,
W_CALC_PROD_TM LIKE MARC-DZEIT.
FIELD-GROUPS: HEADER.
SELECT * FROM AFKO WHERE
DISPO = MRPCNTLR
ORDER BY AUFNR.
CONCATENATE 'OR' AFKO-AUFNR INTO W_OBJNR.
W_OBJNR = AFKO-AUFNR.
SELECT SINGLE * FROM T024D WHERE DISPO = AFKO-DISPO.
SELECT SINGLE * FROM AUFK WHERE AUFNR = AFKO-AUFNR.
SELECT SINGLE * FROM AUAK WHERE OBJNR = W_OBJNR.
SELECT SINGLE * FROM AFPO WHERE AUFNR = AFKO-AUFNR.
IF AFPO-PSMNG >= AFPO-WEMNG.
W_REMAINING_QTY = AFPO-PSMNG - AFPO-WEMNG.
ELSE.
W_REMAINING_QTY = 0.
ENDIF.
SELECT SINGLE * FROM MARC
WHERE MATNR = AFPO-MATNR
AND WERKS = AFPO-DWERK.
IF MARC-DZEIT <= 0.
W_CALC_PROD_TM = MARC-RUEZT + MARC-TRANZ + MARC-BEARZ.
ELSE.
W_CALC_PROD_TM = MARC-DZEIT.
ENDIF.
SELECT SINGLE * FROM MAKT WHERE MATNR = AFPO-MATNR.
SELECT * FROM AFVC WHERE AUFPL = AFKO-AUFPL.
SELECT * FROM JEST WHERE
OBJNR = AFVC-OBJNR AND
INACT = SPACE.
ENDSELECT.
SELECT * FROM TJ02T WHERE ISTAT = JEST-STAT
AND SPRAS = 'E'.
ENDSELECT.
CLEAR W_PRODQTY.
SELECT * FROM AFRU WHERE RUECK = AFVC-RUECK AND
STOKZ NE 'X' AND
STZHL EQ '0'.
W_PRODQTY = W_PRODQTY + AFRU-LMNGA.
ENDSELECT.
SELECT SINGLE * FROM CRHD WHERE OBJID = AFVC-ARBID.
WRITE: /002 AFPO-DWERK, "Plant
008 AFPO-PROJN, "Program
028 AFPO-DAUAT, "Order Type
038 AFKO-DISPO, "MRP Controller
050 AFKO-AUFNR, "PO No.
060 AFPO-MATNR, "Material No.
080 MAKT-MAKTX, "Material Desc.
125 AFKO-GSTRP, "Order Start Date
137 AFKO-GLTRP, "Order End Date
150 JOB_STATUS, "Order Status Code
166 CRHD-ARBPL, "Work Center
175 AFVC-VORNR, "Operation
183(10) W_STATUS, "Work Status (not used)
195(12) W_PRODQTY, "Confirm Qty
208(12) AFKO-GAMNG, "Order Qty
222(12) AFPO-WEMNG, "Received Qty
237 JEST-STAT, "Order Status
251 TJ02T-TXT04, "Order Status Code Text
259 MARC-DZEIT, "Production Time
269 MARC-RUEZT, "Setup Time
279 MARC-TRANZ, "Interoperation Time
289 MARC-BEARZ, "Processing Time
299 W_CALC_PROD_TM, "Calculated Production Time
319 AFRU-ISDD, "Execution Date
335 AFRU-BUDAT, "Confirmation Date
350 W_REMAINING_QTY, "Remaining Qty
358 AFKO-FTRMS, "Release Date
370 AFKO-GSTRI, "Actual Start Date
383 AFKO-GETRI, "Confirmed Order Finish Date
395 AFKO-GLTRI, "Actual Finish Date
410 MARC-BESKZ, "Procurement Type
420 T024D-DSNAM, "Controller Name
440 AUFK-AEDAT, "Change Date
452 AFKO-FTRMI, "Actual Release Date
470 MARC-BASMG, "Base Qty
490 AFVC-PLNKN, "Total number of operations
500 AFRU-AUFPL, "Routing No.
512 AFVC-RUECK, "Confirmation No.
525 AFRU-RUECK, "Confirmation No.
537 AFRU-AUERU, "Final Confirmation Indicator
540 AFPO-PSMNG, "Order Qty
560 AFVC-OBJNR. "Object No.
ENDSELECT.
ENDSELECT.
TOP-OF-PAGE.
ULINE.
WRITE: /002 'Plant',
008 'Program',
028 'Order_Typ',
038 'MRP_Cntlr',
050 ' PO_No',
060 'Material',
080 'Material_Desc',
125 'Order_Start',
137 'Order_End',
150 'Status',
166 'Work_Ctr',
175 'Op',
182 'Op_Status',
199 ' Confirm_Qty',
211 ' Order_Qty',
227 'Recd_Qty',
237 'Order_Stat',
249 'Stat_Cde',
259 'Prod_time',
269 'Setup_tm',
279 'Intop_tm',
289 'Proc_tm',
299 'Calc_tm',
319 'Exe_Dt',
335 'Cnf_Dt',
350 'Rem_Qty',
358 'Rel_Dt',
370 'Act_Strt_Dt',
383 'Cnf_Fin_Dt',
395 'Act_Fin_Dt',
407 'Proc_typ',
420 'Cntlr_Name',
440 'Chng_Dt',
452 'Act_Rel_Dt',
480 'Base_Qty',
490 'No_Ops',
500 'Routing_No',
512 'Cnf_No1',
525 'Cnf_No2',
537 'Cnf_Ind',
547 'Order_Qty2',
564 'Object_No'.
WRITE: /001 ' AFPO', "Plant
008 ' AFPO', "Program
028 ' AFPO', "Order Type
038 ' AFKO', "MRP Controller
050 ' AFKO', "PO No.
060 ' AFPO', "Material No.
080 ' MAKT', "Material Desc.
125 ' AFKO', "Order Start Date
137 ' AFKO', "Order End Date
150 ' ', "Order Status Code
166 ' CRHD', "Work Center
175 ' AFVC', "Operation No.
182(10) ' ', "Work Status (not used)
201(12) ' ', "Confirm Qty
214(12) ' AFKO', "Order Qty
226(12) ' AFPO', "Received Qty
237 ' JEST', "Order Status
251 ' TJ02T', "Order Status Code Text
259 ' MARC', "Production Time
269 ' MARC', "Setup Time
279 ' MARC', "Interoperation Time
289 ' MARC', "Processing Time
299 ' ', "Calculated Production Time
319 ' AFRU', "Execution Date
335 ' AFRU', "Confirmation Date
350 ' ', "Remaining Qty
358 ' AFKO', "Release Date
370 ' AFKO', "Actual Start Date
383 ' AFKO', "Confirmed Order Finish Date
395 ' AFKO', "Actual Finish Date
408 ' MARC', "Procurement Type
420 ' T024D', "Controller Name
440 ' AUFK', "Change Date
452 ' AFKO', "Actual Release Date
480 ' MARC', "Base Qty
490 ' AFVC', "Total number of operations
500 ' AFRU', "Routing No.
512 ' AFVC', "Confirmation No.
525 ' AFRU', "Confirmation No.
537 ' AFRU', "Final Confirmation Indicator
547 ' AFPO', "Order Qty
564 ' AFVC'. "Object No.
WRITE: /001 '(DWERK)', "Plant
008 '(PROJN)', "Program
028 '(DAUAT)', "Order Type
038 '(DISPO)', "MRP Controller
050 '(AUFNR)', "PO No.
060 '(MATNR)', "Material No.
080 '(MAKTX)', "Material Desc.
125 '(GSTRP)', "Order Start Date
137 '(GLTRP)', "Order End Date
150 'VAR', "Order Status Code
166 '(ARBPL)', "Work Center
175 '(VORNR)', "Operation No.
182(10) 'VAR', "Work Status (not used)
201(12) 'VAR', "Confirm Qty
214(12) '(GAMNG)', "Order Qty
226(12) '(WEMNG)', "Received Qty
237 '(STAT)', "Order Status
251 '(TXT04)', "Order Status Code Text
259 '(DZEIT)', "Production Time
269 '(RUEZT)', "Setup Time
279 '(TRANZ)', "Interoperation Time
289 '(BEARZ)', "Processing Time
299 'VAR', "Calculated Production Time
319 '(ISDD)', "Execution Date
335 '(BUDAT)', "Confirmation Date
350 'VAR', "Remaining Qty
358 '(FTRMS)', "Release Date
370 '(GSTRI)', "Actual Start Date
383 '(GETRI)', "Confirmed Order Finish Date
395 '(GLTRI)', "Actual Finish Date
408 '(BESKZ)', "Procurement Type
420 '(DSNAM)', "Controller Name
440 '(AEDAT)', "Change Date
452 '(FTRMI)', "Actual Release Date
480 '(BASMG)', "Base Qty
490 '(PLNKN)', "Total number of operations
500 '(AUFPL)', "Routing No.
512 '(RUECK1)', "Confirmation No.
525 '(RUECK2)', "Confirmation No.
537 '(AUERU)', "Final Confirmation Indicator
547 '(PSMNG)', "Order Qty
564 '(OBJNR)'. "Object No.
ULINE.
SKIP.
INITIALIZATION.Ryan, Thank you for your response. Actually my problem really is how to get the data together into a single table. The code I originally listed doesn't do any "proper" joins and isn't suitable as-is for a Function Module. And as you said it would be good to add a date field to enable deltas. Below is my stab at writing the code to combine the data into a single table. I have commented out the lines that do not work. I am not sure how to combine this data in the same way as my original code but with proper joins. Any help would be appreciated.
REPORT ZBW_PO_DETAIL line-size 400 line-count 65.
TABLES: afru, crhd, afvc, afpo, aufk, afko, mara, marc, zafru.
TYPES: BEGIN OF GT_PODETAIL,
BUDAT LIKE AFRU-BUDAT, "Confirmation Date
ISDD LIKE AFRU-ISDD, "Execution Date
AUFPL LIKE AFRU-AUFPL, "Routing No.
RUECK2 LIKE AFRU-RUECK, "Confirmation No.
AUERU LIKE AFRU-AUERU, "Final Confirmation Indicator
ARBPL LIKE CRHD-ARBPL, "Work Center
PLNKN LIKE AFVC-PLNKN, "Total number of operations
RUECK1 LIKE AFVC-RUECK, "Confirmation No.
OBJNR LIKE AFVC-OBJNR, "Object No.
VORNR LIKE AFVC-VORNR, "Operation
AUFNR1 LIKE AFPO-AUFNR, "order #
POSNR LIKE AFPO-POSNR, "order item number
DAUAT LIKE AFPO-DAUAT, "order type
MATNR LIKE AFPO-MATNR, "material number of order
DWERK LIKE AFPO-DWERK, "plant
PSMNG LIKE AFPO-PSMNG, "order item quantity
WEMNG LIKE AFPO-WEMNG, "goods rec'd qty for order item
AMEIN LIKE AFPO-AMEIN, "UOM for in-house production
PROJN LIKE AFPO-PROJN, "Program
AEDAT LIKE AUFK-AEDAT, "Change Date
FTRMS LIKE AFKO-FTRMS, "scheduled release date
GLTRS LIKE AFKO-GLTRS, "scheduled finish date
GSTRS LIKE AFKO-GSTRS, "scheduled start date
GSTRI LIKE AFKO-GSTRI, "actual start date
GETRI LIKE AFKO-GETRI, "confirmed order finish date
GLTRI LIKE AFKO-GLTRI, "actual finish date
FTRMI LIKE AFKO-FTRMI, "actual release date
DISPO1 LIKE AFKO-DISPO, "MRP Controller
AUFNR2 LIKE AFKO-AUFNR, "PO No.
GSTRP LIKE AFKO-GSTRP, "Order Start Date
GLTRP LIKE AFKO-GLTRP, "Order End Date
GAMNG LIKE AFKO-GAMNG, "Order Qty
MFRPN LIKE MARA-MFRPN, "manufacturer part number
BESKZ LIKE MARC-BESKZ, "procurement type
DISPO2 LIKE MARC-DISPO, "MRP controller
DZEIT LIKE MARC-DZEIT, "Production Time
RUEZT LIKE MARC-RUEZT, "Setup Time
TRANZ LIKE MARC-TRANZ, "Interoperation Time
BEARZ LIKE MARC-BEARZ, "Processing Time
BASMG LIKE MARC-BASMG, "Base Qty
ZSERNR LIKE ZAFRU-SERNR, "Serial No.
END OF GT_PODETAIL.
*used to build PO Detail internal table
DATA: GT_PODETL TYPE STANDARD TABLE OF GT_PODETAIL WITH HEADER LINE.
DATA GVD_INITDATE LIKE SY-DATUM.
DATA: GVD_DATE LIKE AUFK-AEDAT, "change date
GVT_TIME LIKE AUFK-AEZEIT. "change time
*clear GT_PODETL.
select ABUDAT AISDD AAUFPL ARUECK A~AUERU
B~ARBPL
CPLNKN CRUECK COBJNR CVORNR
DAUFNR DPOSNR DDAUAT DMATNR DDWERK DPSMNG D~WEMNG
DAMEIN DPROJN
E~AEDAT
FFTRMS FGLTRS FGSTRS FGSTRI FGETRI FGLTRI F~FTRMI
FDISPO FAUFNR FGSTRP FGLTRP F~GAMNG
G~MFRPN
HBESKZ HDISPO HDZEIT HRUEZT HTRANZ HBEARZ H~BASMG
I~MAKTX
Z~SERNR
into corresponding fields of table GT_PODETL
from AFRU AS A
inner join CRHD AS B on AARBID = BOBJID
inner join AFVC AS C on AAUFPL = CAUFPL
and AAPLZL = CAPLZL
inner join AFPO AS D on AAUFNR = DAUFNR
inner join AUFK AS E on AAUFNR = EAUFNR
inner join AFKO AS F on AAUFNR = FAUFNR
inner join MARA AS G on AMATNR = GMATNR
inner join MARC AS H on AMATNR = HMATNR
and ADWERK = HWERKS
inner join MAKT AS I on AMATNR = IMATNR
left outer join ZAFRU AS Z on ARUECK = ZRUECK
and ARMZHL = ZRMZHL
where ( F~FTRMI ne GVD_INITDATE
and D~XLOEK ne 1
and ( DDAUAT eq 'ZP01' or DDAUAT EQ 'ZP02' or
DDAUAT eq 'ZCNR' or DDAUAT EQ 'ZCNV' ) )
and ( E~AEDAT lt GVD_DATE
or ( EAEDAT eq GVD_DATE and EAEZEIT le GVT_TIME ) ).
refresh non-depot data in db table
delete from ZBW_PO_DETAIL.
insert ZBW_PO_DETAIL from table GT_PODETL.
commit work. -
Testing custom ABAP program in GRC PC 3.0
We have developed few custom ABAP program and linked it to Rule Script and Rule in GRC PC 3.0. When we schedule a job to test this control, we are not getting any hyperlink to results in Job monitor.
In other words, test result in job monitor is blank.
Please helpHello Atul,
please create an OSS message for this problem.
Best, Jürgen -
Creation of custom Infocubes, extractors and multiprovider
Hi all,
Can somebody give me the information regarding the creation of custom Infocubes, extractors, and multiproviders. It would ne great if you could give me some examples regarding the above in SD.
Thanks,
SekharWe will go for the creation of custom infocubes
when the existing business content doesnot suite your requirement.
when u r using the one existing business content extractor and u need the same requirement for another cube u can create your own extractor of the same type without changning the existing one.
we will use multiproviders for reporting purpose. suppose if u are having some 3 infocubes and u want to display the fields from the 3 cubes then go for the creation of multiprovider. -
We have built a new system on our ECC system and we have about 400 custom Z* programs which we have created throughout our entire landscape. We have tried using several client copies to copy all the custom ABAP programs which we have created into this new system but nothing has worked. Is there a way to export all these custom programs out of our Development system and into the new system? Any help would be appreciated!
Hi Connie Baldon ,
you problem can be solved by creating "SAP NUGGETS" in your new and old sap system , Download your packages and other stuffs from old system and import it into a new sap system. To wok with Nuggets , use the below link
http://wiki.sdn.sap.com/wiki/display/ABAP/SAPlinkUserDocumentation
and try this way also
http://forums.sdn.sap.com/thread.jspa?tstart=0&threadID=920778
Regards,
Saravana -
Custom abap iview need to double click to get in to the right page
Hi experts,
I create custom Abap Webdynpro Iview,
but it has to double click to get into the service.
If we only do one click then it got internet error.
how to solve this?
thanks in advanceHi,
sorry for lack of information.
the error is "the webpage cannot be found"
http 404. (This error (HTTP 404 Not Found) means that Internet Explorer was able to connect to the website, but the page you wanted was not found. It's possible that the webpage is temporarily unavailable. Alternatively, the website might have changed or removed the webpage)
but, when I click the link page again (for second time), it will link to the right page.
is there any missing configuration?
thanks -
Hello Gurus
I am working on Custom Build Extractor through functional module. I have executed the functional module and I got the re cords required.. In RSO2 , I have included functional module and extract structure and activated that. But in rsa3 , if I am giving data records per call as 1000 and display extr call as 1 I am getting same amount of records what I want but If I give data records per call as 1000 and display extr call as 10 ,I am getting around 10 times what the records I want. I dont know what may be the reason. Can any one say where I am going wrong.
Functional module code : FUNCTION ZFI_COSS_COSP.
""Local Interface:
*" IMPORTING
*" VALUE(I_ISOURCE) TYPE SBIWA_S_INTERFACE-ISOURCE OPTIONAL
*" VALUE(I_REQUNR) TYPE SBIWA_S_INTERFACE-REQUNR
*" VALUE(I_MAXSIZE) TYPE SBIWA_S_INTERFACE-MAXSIZE DEFAULT 1000
*" VALUE(I_INITFLAG) TYPE SBIWA_S_INTERFACE-INITFLAG OPTIONAL
*" VALUE(I_UPDMODE) TYPE SBIWA_S_INTERFACE-UPDMODE OPTIONAL
*" VALUE(I_DATAPAKID) TYPE SBIWA_S_INTERFACE-DATAPAKID DEFAULT
*" 50000
*" VALUE(I_RLOGSYS) TYPE SRSC_S_INTERFACE-RLOGSYS DEFAULT SPACE
*" TABLES
*" I_T_SELECT TYPE SBIWA_T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SBIWA_T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE ZCOSS_COSP OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
Tables : coss, cosp.
select objnr gjahr kstar vrgng beknz bukrs geber wog001 wog002 wog003 wog004 wog005
wog006 wog007 wog008 wog009 wog010 wog011 wog012 wog013
from coss into table E_T_DATA.
select objnr gjahr kstar vrgng beknz bukrs geber
wog001 wog002 wog003 wog004 wog005 wog006
wog007 wog008 wog009 wog010 wog011 wog012
wog013 from cosp appending table E_T_DATA.
ENDFUNCTION.
Extract structure = zcoss_cosp.
If I need to do any modification in the code plz let me know where and what I have to modify.
Thanks
SamHi,
I think you need to change the code with passing buffer size into the code. You can insert following three line in your code before selection of the data.
S_S_IF-REQUNR = I_REQUNR.
S_S_IF-DSOURCE = I_DSOURCE.
S_S_IF-MAXSIZE = I_MAXSIZE.
Check and define all import,export,changing and table parameters for function module.
Hope it helps.
Regards,
Aditya -
Job Schedule Custom ABAP Class Every 2 weeks
Hi Folks,
I would like to ask if possible to run custom ABAP class using JOB Schedule (SM36). I have created a custom class that needs to be run every two weeks.
Thanks,
RobertHi,
what do you mean by "run custom class"? If you mean calling methods of that class then no. But it is easy to write a simple report which will call required methods.
Cheers
Maybe you are looking for
-
Hi, I've been having this issue with a Windows 7 install. Firstly, I have successfully installed Windows 7 before. I partitioned my HDD, held down option when booting up, booted off a USB and after a few goes it all worked fine. I didn't use boot cam
-
My screen shut off and on twice. What's wrong?
My battery is at 36% and all of a sudden, my screen went black for about two seconds, then came back on for a second, then repeated by came back on and remained on. Has this happened to anybody else? What's wrong?
-
Using java.lang.reflect.Method.invoke on a static method?
This is probably a FAQ, but I am finding it impossible to construct a search which answers this question for me. How do I call java.lang.reflect.Method.invoke on a static (e.g. class) method? Is it even possible? Thanks, dwh
-
Normalization on table with 1000 columns
I am new to data modelling and need some suggestion on this We have 4 files coming from external vendor and responsible to create a data model. one of the file is having 1000 columns and other are like 5 and 14 columns. how do i need to approach this
-
My HP B210e will not print in color.
My HP B210e will not print in color. It does not copy in color either. I have added all new cartridges and the levels read good. Any help with this will be much appreciated.