ABAP Knowledge
Hi Experts,
i am new to ABAP. i have done course from an institute but i am not having Confidence in writing programs or making Reports.
please guide me how to gain confidence for this. I am confused and don't know where to start with to gain a good command over ABAP.
Thanks in advance.
Moderator Message: Move from ABAP General.
Edited by: kishan P on Dec 16, 2011 1:40 PM
Dear Friend
1 )
Buy a book ABAP IN 21 DAYS BY KEN GREENWOOD.
for beginning..
read each chapter .
2 )
try to implement basic programs and develop small logic.
like
print a pyramid
print a prime number
screen color operation (in various pyramid design)
sorting program
searching program
after then switch to database operation
start with
create table
change table
then
data insert
data update
data delete
data search..
then check all the controls like
button
checkbox
drop down
table control
alv view
then check how standard program looks and how it works
then check module program
functions
procedures
hope for the best
good luck
Avirat Patel
Similar Messages
-
Abap knowledge for SD consultant
Dear Friends,
Iam a SD consultant, I want to know upto what extent Abap knowledge is required by a SD consultant. Please tell me on what topics we need have knowledge to be compitetive in market. I believe companies are looking for candidates with knowledge on tables, debugging . ALE, Idoc's etc. Also can some body send me some useful material on solution manager & ALE, Idoc's. My email Id is [email protected]
Thanks,
JayDear Jay,
You would need to have knowledge about tables, Tcodes, Reports (Selection Screen, Report Layout, Logic, Authorization etc), Knowledge in Debugging, IDOC's, ALE and EDI.
Solution Manager:
http://help.sap.com/saphelp_sm32/helpdata/en/a0/c3266e44c54d5e8300b5ffe54f756b/frameset.htm
ALE and IDOC:
ALE stands for Application Link Enabling and is used for distribution of data. IDOC is an Intermediate Document. It carries the application data from one server to another server.It uses the RFC(Remote Function call) .
IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
It is the the combination of Segements.
Segment : All the required fields will get assigned in relavant segement.Like that we will have lot of segments.We will assign all the segments to IDOC type.In the required level(Parent & child level .Like tree nodes).
Idocs Type is a Structure by lot of segments.
IDOC is generared at the time of run time .
It will have the data.
There are basically two types of IDOCs.
Basic IDOCs : Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
Extended IDOCs : Extending the functionality by adding more segments to existing Basic IDOCs.
http://www.allsaplinks.com/idoc_sample.html
http://www.allsaplinks.com/
http://www.sap-img.com/
http://www.sappoint.com/abap.html
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
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://expertanswercenter.techtarget.com/eac/knowledgebaseCategory/0,295197,sid63_tax296858_idx0_off50,00.html
http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358
http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b7eee43d711d1893e0000e8323c4f/frameset.htm
Need info on automatic determination of tax code at PO
Hope this will help.
Regards,
Naveen. -
Re: ABAP knowledge in SAP BW
Hi guys & girls,
Am trying to try apply for jobs..but before, am in preparation stage and am stuck at ABAP. Since most of the offers are asking for ABAP knowledge..so being a BW'er i beg for ur advise on the following-
1.) What topics should i be covering in ABAP which will be useful for me in real time?
2.) COuld somebody list out the topics please?
3.) And to what extent and where do u use ABAP?
Regards
SriHello Sri,
ABAP knowledge is required in BW
1. in order to enhance the SAP's standart extraction methods. So you need to know how to make changes in structures and already developed abap programmes.
2. You can change the content of any field while you are laoding data to infoproviders. Especially in start routines, transfer rules and update rules. So you need to know how to change a content of a field in abap based on an algorithm.
3. In Bex queries also you can change a content of a field by using special type of variables.
Finally also you need to know how to you functions in ABAP, because most of ready to use functions are available in SAP Abap dictionary.
Hope helpful for you,
Sarhan. -
Basic ABAP knowledge for Functional consultants
Hi Gurus
I am interested in familiar with some ABAP knowledge as a Functional consultant.
Please provide me some basic information
Thanks
RajuHi,
Use the following links....
Reprots
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.
Dictionary
http://sapabap.iespana.es/sapabap/manuales/learnabap/
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb6e446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea31446011d189700000e8322d00/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBDIC/BCDWBDIC.pdf
ABAP objects
Please check this online document (starting page 1291).
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
Also check this links as well.
http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
http://www.futureobjects.de/content/intro_oo_e.html
http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm
/people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action
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
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
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.planetsap.com/Bapi_main_page.htm
http://www.topxml.com/sap/sap_idoc_xml.asp
http://www.sapdevelopment.co.uk/
http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
ALV programs.
http://www.geocities.com/mpioud/Abap_programs.html
. 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
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
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 - http://www.sapgenie.com/abap/reports.htm
http://www.allsaplinks.com/material.html
http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
Top-of-page in ALV
selection-screen and top-of-page in ALV
ALV Group Heading
http://www.sap-img.com/fu037.htm
ALV
http://www.geocities.com/mpioud/Abap_programs.html
Pls U search our SDN also.
Regards
Rajesh. -
Can i Start XI without ABAP knowledge..
Hi All,
I am a Java/J2EE developer, I dont have ABAP knowledge.
I want to learn SAP XI. I heard the ABAP is a must before we start XI. Is it true? or with out ABAP knowledge I can start XI..
Please suggest..
Thanks,
Shridhar.Hi Sridhar,
This is one topic on which there has been a lot of debate on SDN, but , my opinion is that knowing ABAP or JAVA is not absolutely necessary to learn XI.
But knowing either of them or even both is sure is an added advantage esp for debugging , mapping etc.
I would suggest this link on SAP help for any info that you want on XI,
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Further, this thread deals with everything that is needed for a starter on XI. Do check it out,
JDBC Receiver: exact SQL statement
/message/527697#527697 [original link is broken]
Re: XI Beginner
Regards,
Bhavesh -
Need hints to bring BC400(ABAP) knowledge to BW update rules/routines.
Hi,
I have just completed the BC400 (ABAP) course at SAP but the instructor had no clue about BW.
From se80, he thought how to create packages, programs, functions modules, classes/Interfaces, etc. but whenever, I asked how these fit into the BW update rules and transfer rules, he said he knew nothing about BW.
For example, how do I bring in a program written in se80 into my update rule or transfer routine which updates and ODS or cube?
i.e. The main reasoning for learning this BC400(ABAP) is to be comfortable in writing update rule or transfer routine to update ODS/Cubes in BW but the instructor failed me in making the link between the ABAP class and BW.
Can you give me some guide on this?
Can I work in se80 as I was taught and bring codes from there to update a cube?
i.e. if I need to write an update routine to update a cube from an ODS, can this be done in se80 (on BW)
I will appreciate any guidelines to bring in my new found knowledge to the BW environment.
ThanksMost Bw transformations are already includes inside programs or cmods or BTEs
By double cliking on start routines and end routines it already takes you into the ABAP enviroment
Have a look at the sappress book - user exits and BADIs in BW (it's not a brillaitn book by any means - it's just about passable and is short on detail - but it will get you a head start) -
Dear Friends,
Can someone guide me on to Understand the Knowledge Level in ABAP required for BW development? I would like to receive the Frequently Used Sample Codes in any Small Transaction .
As a BIW Consultant , in which work scenario ( Data Loading ,Reporting , Extraction), ABAP working Skills are Required ?
Thanks ,
GRKHi GRK,
Basically you would use ABAP in the followin areas in BW:
1. Coding extractors in case of generic extractors in R/3.
2. User exits in R/3.
3. Transfer routines
4. Update routines.
5. Infopackage routines(for populating selection values).
6. User exits in BW.
7. Eceptional cases may include BadI,etc..
As a start in ABAP you can use this book:
http://sapabap.iespana.es/sapabap/manuales/learnabap/
Refer this link for ABAP usage in BW:
ABAP for BW
Hope this helps.
Bye
Dinesh -
Regarding required ABAP knowledge to understand the APO-BW developments
Hi All,
Could you pls let me know what kind of ABAP skills that an APO consultant must have to understand the development code in the routines and user exits.
Best regards,
RamyaHi Ramya,
For ABAP consultant to work in APO, mainly you need to learn and
focus on working with structures.
Other areas for focus will be Badi's, user exits, function modules,
routines, enhancements which are more or less similar to other modules
Regards
R. Senthil Mareeswaran. -
BW Consultant need ABAP knowledge (urgent)
hi Experts,
This is rakesh m a biw consultnat wokring since 1yr , now time hae come to learn abap within short period of time so i neeed ur help and guidance.
What i want to learn is How to write routines n all for this waht are the basic funda's i should know in abap, <b>so help me experts those who r woking on bw n abap side.</b>
In my projec there are lot enhancements(adding of fields) are going on and i should i write a code in se38 so help me out .
Awaiting for ur earliest response.
Urs,
Raki.hi Raki,
THere is lot of online help where you can learn ABAP..
Check out these threads for that..
ABAP
Where do i download SAP to learn ABAP
REgards,
Santosh
Message was edited by: Santosh Kumar P -
SQ01 - Limited ABAP Knowledge - Help!
SAP Query Difficulties
Please see the above link for my requirements. I am carrying this report out in SQ01.
All the joins have been achieved with the standard infoset functionality.
Within a custom field 'SHORTS' I have the following code (I know it's not right but can't figure out how to write the correct code in to achieve desired results):
DATA:
begin of WA_FINAL,
VBELV like VBFA-VBELV,
POSNV like VBFA-POSNV,
VBELN like VBFA-VBELN,
POSNN like VBFA-POSNN,
KWMENG like VBAP-KWMENG,
LFIMG like LIPS-LFIMG,
end of WA_FINAL,
I_FINAL like standard table of WA_FINAL with header line,
l_sum like LIPS-LFIMG,
wa_del_sent like LIPS-LFIMG.
SELECT
VBELV POSNV VBELV POSNV
INTO
I_FINAL
FROM
VBFA.
ENDSELECT.
SELECT SINGLE
KWMENG
FROM
VBAP
INTO
I_FINAL
WHERE
VBELN = I_FINAL-VBELV AND POSNR = I_FINAL-POSNV.
SELECT SINGLE
LFIMG
FROM
LIPS
INTO
I_FINAL
WHERE
VBELN = I_FINAL-VBELN AND POSNR = I_FINAL-POSNN.
loop at I_FINAL into WA_FINAL.
if sy-tabix = 1.
l_sum = WA_FINAL-LFIMG.
WA_FINAL-LFIMG = WA_FINAL-LFIMG.
SHORTS = WA_FINAL-KWMENG - WA_FINAL-LFIMG.
wa_del_sent = WA_FINAL-LFIMG.
else .
l_sum = wa_del_sent + l_sum.
SHORTS = WA_FINAL-KWMENG - l_sum.
endif.
endloop.How would I go about coding inner join on my internal table in this instance?
Sorry I am researching suggestions and trying to debug the code myself too but the collective expertise on this site may push me in the right direction with the right methodology. -
How much knowledge of ABAP is required, if you are working as SAP BI consu
Hi,
How much knowledge of ABAP (coding) is required if you are working as SAP BI consultant.
Can anyone provide me some link that can give me a brief overview of routine writing in ABAP.
Abhi
Edited by: abhigyta on Jan 23, 2012 10:48 AMHi Abhi,
Welcome to SDN!
If you are working as a BI Consultant it's good to have ABAP knowledge. Because In BI we use ABAP mainly in writing Routines, Functional Modules, etc.
Please go through the below doc on Routines in BI
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609eea32-455e-2c10-c08a-c23adf8c934e?QuickLink=index&overridelayout=true
Hope it helps.
Regards,
Raghu -
Is knowledge of ABAP is necessary for exploring workflow
Today is weekend
and am exploring sdn ,,seriously wanna get into BPM
So just posting some fundamental queries..
IS it must to have ABAP knowledge in this way..?
Sakethhave a look at some more........
Business Process Management with SAP NetWeaver Part1.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca4d188f-0701-0010-0395-f6456c1a34a2
Business Process Management with SAP NetWeaver Part2.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2a4b1e8f-0701-0010-dca3-c596235f6178
Unified Business Process Management.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2d39cc90-0201-0010-1087-efbdab1ad2cf
Swathi -
Java Mapping, XSLT Mapping, ABAP Mapping
Hi Experts,
Could any one explain what is the main features of the following Mapping. How to pick the mapping?
Java Mapping - When to use and what is the advantage.
ABAP Mapping - When to use and what is the advantage.
XSLT Mapping - When to use and what is the advantage.
Graphical Mapping - When to use and what is the advantage.
cheers,
SuneeThere are 4 types of mapping in XI
1. Graphical Mapping
2. XSLT Mapping
3. JAVA Mapping
4. ABAP Mapping
When to use Message mapping
1 When the logic for your mapping is simple and straight forward, you can use
Advantages of message mapping
1)Easy to use.
2) has GUI drag and drop.
3) used for simple mapping cases
4) it does not involve any complex logic
Disadvantages of message mapping
1)has limitation in terms of complex hierarchy
When to use Java mapping
1) Java mapping are used when graphical mapping cannot help you.
Advantages of Java Mapping
1)you can use Java APIs and Classes in it.
2) file look up or a DB lookup is possible
3) DOM is easier to use with lots of classes to help you create nodes and elements.
Disadvantages of Java mapping
1)SAX parser is not easy to develop
2)DOM parser is intensive
3) Java knowledge is required
4) bit complexer
XSLT Mapping - When to use
1)When the required output is other than XML like Text, Html or XHTML (html displayed as XML )
2)When default namespace coming from graphical mapping is not required or is to be changed as per requirements.
3)When data is to be filtered based on certain fields (considering File as source)
4)When data is to be sorted based on certain field (considering File as source)
5)When data is to be grouped based on certain field (considering File as source)
Advantages of using XSLT mapping
1)XSLT program itself defines its own target structure.
2)XSLT programs can be imported into SAP XI. Message mapping step can be avoided. One can directly go for interface mapping once message interfaces are created and mapping is imported.
3)XSLT provides use of number of standard XPath functions that can replaces graphical mapping involving user defined java functions easily.
4)File content conversion at receiver side can be avoided in case of text or html output.
5)Multiple occurrences of node within tree (source XML) can be handled easily.
6)XSLT can be used in combination with graphical mapping.
7)Multi-mapping is also possible using xslt.
8)XSLT can be used with ABAP and JAVA Extensions
Disadvantages of using XSLT mapping
1)Resultant XML payload can not be viewed in SXMB_MONI if not in XML format (for service packs < SP14).
2)Interface mapping testing does not show proper error description. So errors in XSLT programs are difficult to trace in XI but can be easily identified outside XI using browser.
3)XSLT mapping requires more memory than mapping classes generated in Java.
4)XSLT program become lengthier as source structure fields grows in numbers.
5)XSLT program sometimes become complex to meet desired functionality.
6)Some XSL functions are dependent on version of browser.
Advantages of Abap Mapping
1) A person comfortable with OOABAP can go for ABAP mapping instead.
Disadvantages of Abap Mapping
1) Abap knowledge is required
2) bit compexer
For further info on each of the mapping, refer to these links,
Graphical Mapping,
http://help.sap.com/saphelp_nw04/helpdata/en/6d/aadd3e6ecb1f39e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
XSLT Mapping
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
http://www.w3.org/TR/xslt20/
Java Mapping
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
DOM parser API
http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/package-frame.html
Check this blog on Mapping:
/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
Also, check this thread for more info,
Different types of Mapping in XI -
Hi,
Standard aging analysis report (RFDOPR10) displays only the customer line items. But the client also wants to display the offsetting line item details. I am a functional person and I am trying to write a query to generate offsetting line items from Table BSEG. (in SQ01). I am using Logical Database - DDF, which has BSID and BSEG table. I am trying to apply the logic,
For Example - If the accounting document has 4 line items(1,2,3,4) and the line item in BSID table is 2, then select items 1,3,4 from BSEG table for the documnet number and output as separate line items.
I dont have ABAP knowledge to write code. Kindly help with your valuable inputs to create a query to get offsetting line item details.
Thanks & Regards
Sri.thanks for the support
-
Convert ABAP code in start routine/update rule to transform. start routine
Dear BW ABAPers,
I have created a custom purchasing info cube (YCP_PURC1) based on 0CP_PURC1 standard cube. I would like to convert this new data flow to BI7 (from 3.x), and convert the standard update rule to transformation. I would need to rewrite the below start routine from the standard update rule to a start routine ABAP code in the newly created transformation / start routine. My ABAP knowledge is limited. Will you please help?
*this is the start routine from the update rule. As a side note, the data source is 2LIS_02_SCL.
LOOP AT SOURCE_PACKAGE.
IF ( SOURCE_PACKAGE-cppvlc EQ 0
AND SOURCE_PACKAGE-cppvoc EQ 0
AND SOURCE_PACKAGE-cpquaou EQ 0 ).
DELETE SOURCE_PACKAGE.
CONTINUE.
ENDIF.
no_scl is initial ( e.g. for good receipts, billing)
value has to be set depending on storno
IF SOURCE_PACKAGE-no_scl IS INITIAL.
IF SOURCE_PACKAGE-storno = 'X'.
SOURCE_PACKAGE-no_scl = -1.
ELSE.
SOURCE_PACKAGE-no_scl = 1.
ENDIF.
MODIFY SOURCE_PACKAGE.
ENDIF.
ENDLOOP.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
Many thanks and look forward to your kind feedback.
Kind regards,
CsabaDear All, Durgesh,
thanks to you all for your valuable input. Mainly the ABAP part was more interesting for me.
Durgesh, thanks for your input, it was useful. I just had to change the info objects to data source fields and add the lines before the loop:
DATA: I_PACKAGE TYPE TYT_SC_1.
FIELD-SYMBOLS <i_package> TYPE tys_sc_1.
I_PACKAGE[] = SOURCE_PACKAGE[].
LOOP AT SOURCE_PACKAGE assigning <i_package>.
IF ( <i_package>-BWGEO EQ 0
AND <i_package>-BWGEOO EQ 0
AND <i_package>-BWMNG EQ 0 ).
DELETE SOURCE_PACKAGE index sy-tabix.
CONTINUE.
ENDIF.
no_scl is initial ( e.g. for good receipts, billing)
value has to be set depending on storno
IF <i_package>-NOSCL IS INITIAL.
IF <i_package>-ROCANCEL = 'X'.
<i_package>-NOSCL = -1.
ELSE.
<i_package>-NOSCL = 1.
ENDIF.
ENDIF.
ENDLOOP.
Points have been assigned accordingly.
Thanks,
Csaba
Maybe you are looking for
-
Windows Vista/iTunes will not recognize 3GS
I've never had this problem before, my iPhone/Laptop has been working fine for the few years that I've had it. Not only will the iPhone not show up on iTunes, but it's not even showing up on My Computer. I've attempted almost every troubleshooting me
-
How to find out who calls servlet
I'm working on this little bit for my JSP project where I want the user to be able to change the style of the webpage. I'm doing this by sending the new theme info to the database through a servlet. That part is okay, but I also want to send the user
-
The button is using javascript. I know I could use underscores and hyphens, but spaces would be best. All I see is how you can't use spaces in URLs, but this is a file name, so I don't understand why it converts it to %20.
-
Any ideas why my 3gs IPhone , OS 3 "Locks up" when I try to output video files using Apples' Composite AV Cables? I can choose my video, and play it fine in the phone. But as soon as I hook up the cable, it stops playing and the video function button
-
Functional differences between OBISE1 and OBIEE
Hello, beside the licensing restrictions, there are some funtional differences between OBISE1 and OBIEE. I have seen some very neat features in OBIEE which are not implemented in OBISE1, e. g. generating powerpoint or the assistants for bi publisher