Docs for ABAP coding for BW
Hello Gurus,
I need some documents or links where i can find enough info to learn abt ABAP coding in transfer, update rules, ABAP routine in infopackage and in the start routine etc. Can any one help me with this?
Looking for some basic concepts of ABAP.
Thank you,
Kumar
[email protected]
Hi,
Please check the following links that may be useful for you.
http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4493c4a6-0301-0010-62a2-efd6ded61e04https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/60cecb1d-0a01-0010-8289-b14fd99062fa
http://www.bwexpertonline.com/downloads/ABAPCodeforRuvinskyarticle.doc
http://www.bwexpertonline.com/downloads/Extractor_Source_Code.doc
http://www.bwexpertonline.com/downloads/Nissen.doc
https://www.sdn.sap.com/irj/sdn/abap
http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
http://www.sapgenie.com/faq/abap.htm
Regards,
®
Similar Messages
-
ABAP-Coding for EVERY Key figure in infocube 0RT_C02
Hello gurus;
Does anybody know which is the reason for Abap-coding for every key figure in infocube 0rt_c02 from InfoSource 2lis_13_vditm?
Thanks in advanced!
CsrHi,
this is done like this in the business content because the extractor is providing the data with a process key; this process key is then translated into meaningfull business objects (key figures);
fro instance ProcessKey 202 in application SD is reflecting Credit memos:
* Credit Memo
IF COMM_STRUCTURE-PROCESSKEY = '202'
AND COMM_STRUCTURE-BWAPPLNM EQ 'SD'.
* currency convert
IF COMM_STRUCTURE-COST <> 0. "Value in document UNIT
PERFORM LOC_CURR_CONVERT
USING COMM_STRUCTURE-COST "Value in doc UNIT
COMM_STRUCTURE-TRANS_DATE "Date for exchange
COMM_STRUCTURE-DOC_CURRCY "Document Currency
COMM_STRUCTURE-LOC_CURRCY "Local currency
* COMM_STRUCTURE-EXCHG_RATE "Exchanging rate
COMM_STRUCTURE-/BIC/ZEXRATEAC "Exchanging rate Acctn
CHANGING RESULT.
* the KPI's must be turned to positive because the SD-extractors
* allways deliver them neg. if it's a process back (e.g. return order)
RESULT = RESULT * ( -1 ).
UNIT = COMM_STRUCTURE-LOC_CURRCY.
* if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
ELSE.
* if the returncode is not equal zero, the result will not be updated
RETURNCODE = 4.
ENDIF.
ELSE.
* if the returncode is not equal zero, the result will not be updated
RETURNCODE = 4.
ENDIF.
the above routine is quite self explaining the code.
hope this helps...
Olivier.
Message was edited by:
Olivier Cora -
WebDynpro for ABAP applications for Touch Screen Clients?
Hi folks!
Has anybody in the WD4A community experiences in developing WebDynpro for ABAP applications for touch screen clients?
Any hint will be welcome.
Thanx in advance!
Regards,
VolkerHi,
sorry, but Web Dynpro ABAP does not support touch screen clients. This would mean new Unified Rendering features which are, however, not scheduled.
Regards, Heidi -
Any good books for abap coding
Hi..
Any one can tell me the good books on routines,user exists,mailny for abap code used in BW.Sap press books also.I dont known the abap.if any docs is ther please sent me to my mail id:[email protected] simens or reliance material.will assign points.
Advance Thanks,
MadhaviHi Madhavi,
First check the link in below then your email
<a href="http://www.sap-press.com/library.cfm?account=&library=H1968">The ABAP Collection</a>
Regards, -
Hi,
I am new to ABAP coding. I use the WebDynpro ABAP . In that I need to call a RFC and get the data into the portal. I need to pass some input paramer to RFC. How could I do in the ABAP programming ?
thanks
SureshHi suresh,
What you are asking is a not a wdbdynpro specific doubt but it is more related to abap.So i think you need to get some information about creating and using FM and RFC in abap.
Well i would just try to give you the steps that you should follow.
Step 1) Create a function module by using T CODE se37 make it remote enable i.e make it a RFC (you will ust need to check a radio button in properties tab)
Step 2) In rfc try to define the importing and exporting parameters and write your logic in the coding section.
Step 3) After creating RFC successully now u craete your webdynpro component and create a view inside the component.In view accrding to your business requirement you call this RFC in any of the methods i.e either in hooks methods or your custom methods .And pass the parameters to that rfc and get the results from the rfc.
Well i think i have just given you the overview of the process so while development if get any problem feel free to ask
regards
PG -
How to configure Webdynpro for ABAP Launch for Travel Request workflow UWL
Hello,
We are on SAP ECC 6 EHP4, SAP Netweaver 7.01 SP5, for portal BP1.41. When we are running travel request in this new Webdynpro for ABAP in UWL it will lead from an attachment to PR05 trx. I would think that it would gve another screen where the manager can check a travel request. Is the standard SAP solution leading to this trx. PR05? We have tried to customize the task 20000189 in SWFVISU but it doesn't give us any results.
I would appreciate if you can give me an advice whether SAP standard solution will lead to PR05 or is there any other options what we haven't discovered yet. Otherwise we have to start customize it.
Regards, PaiviHi,
Please follow the below configuration steps for ABAP proxy:
ABAP Proxy configuration:
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Thnx
Chirag -
Web Dynpro for ABAP functionaility for HCM Proceseses & Forms in EhP4
Dear Gurus,
I read in one of the threads that HCM Processes & Forms are now Web Dynpro for ABAP based from EhP4 onwards. Can sameone provide me with any SAP link which corroborates this? Thanks.
Regards,
sameer KadamHi Divya,
Thank you for your reply. I do have an S user id. However, the document that you specified is not readily accessible. Apparently, one needs to buy it online. Isn't there any other such related documentation- which is freely accessible?
Thanks & regards,
Sameer Kadam -
Will Edge include support for color coding for ASP Classic .asp files
We have some old sites running asp Classic (Active server Pages)
How can I add color coding for .asp files?Edge Code should already highlight .asp files as plain HTML. If you're looking for highlighting of the ASP-specific code, that is something Edge Code does not plan to support out of the box.
It is possible to write an extension that adds this support, but it would not be a small amount of work -- you'd have to write a tokenizer yourself to support syntax highlighting, for example. Details on writing an extension that adds a new language can be found here: https://github.com/adobe/brackets/wiki/Language-Support#defining-a-new-language
- Peter -
Hi,
I have a report that I am making that I am stuck on. I have to select a date range, sales org, and currency to view the report in. I have coded it and it looks right to me, but I don't get the correct results. In stead i get a message after the inputs that says "Enter rate / USD rate type M for 27.11.2007 in the system settings"
where usd is the user input currency and 27.11.2007 is the second range of the input date.
Here is my code:
*& Report ZDCA01FN2 *
REPORT ZDCA01FN2 MESSAGE-ID ZD01.
*create type with wanted fields
TYPES: BEGIN OF VBRK_TYP,
SORG TYPE VBRK-VKORG,
TAX_AMT TYPE VBRK-MWSBK,
CURRENCY TYPE VBRK-WAERK,
SDATE TYPE VBRK-ERDAT,
END OF VBRK_TYP.
DATA: WA_DVBRK TYPE VBRK_TYP,
ITAB_VBRK TYPE STANDARD TABLE OF VBRK_TYP,
LOCAL_AMOUNT TYPE VBRK-MWSBK.
*select range of dates
SELECT-OPTIONS: PDATE FOR WA_DVBRK-SDATE OBLIGATORY.
*user select currency value use value and sales organization
PARAMETERS: CURRENCY TYPE VBRK-WAERK OBLIGATORY VALUE CHECK,
SALEORG TYPE VBRK-VKORG OBLIGATORY.
*select all first before function call and collect appropriate fields
*into itable
SELECT * FROM VBRK INTO CORRESPONDING FIELDS OF WA_DVBRK
WHERE VKORG = SALEORG AND
ERDAT IN PDATE.
COLLECT WA_DVBRK INTO ITAB_VBRK.
ENDSELECT.
*error check to see if needed to perform sub & function
IF SY-SUBRC NE 0.
MESSAGE A000.
EXIT.
ELSE.
PERFORM SUB_WRITE.
ENDIF.
FORM SUB_WRITE.
DATA: TOTAL_SALES TYPE VBRK-MWSBK,
MISSING_RATE TYPE I VALUE '5'.
LOOP AT ITAB_VBRK INTO WA_DVBRK.
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
DATE = SYST-DATUM
FOREIGN_AMOUNT = WA_DVBRK-TAX_AMT
FOREIGN_CURRENCY = WA_DVBRK-CURRENCY
LOCAL_CURRENCY = CURRENCY
RATE = 0
TYPE_OF_RATE = 'M'
IMPORTING
LOCAL_AMOUNT = LOCAL_AMOUNT
EXCEPTIONS
MISSING_RATE = 5.
*check to see if conversion worked
IF SYST-SUBRC = MISSING_RATE.
MESSAGE A000.
*output report records
ELSE.
WRITE: /10 WA_DVBRK-SORG,
20 WA_DVBRK-CURRENCY,
20 WA_DVBRK-SDATE,
30 WA_DVBRK-TAX_AMT.
*add total sales for report
TOTAL_SALES = LOCAL_AMOUNT + TOTAL_SALES.
ENDIF.
ENDLOOP.
SKIP 4.
*write added total sales
WRITE: / TEXT-004,
TOTAL_SALES,
TEXT-005,
CURRENCY.
*FOOTER
SKIP 1.
ULINE: /02(70).
WRITE: /15 TEXT-001, SY-UNAME.
WRITE: /15 TEXT-002, SY-DATUM.
WRITE: /15 TEXT-003, SY-UZEIT.
ENDFORM.
Thanks for the helpDear David,
It appears that configuration is missing for currency USD.
Consult your functional consultant to resolve the same.
In IMG (Transaction SPRO) under
SAP Netweaver -> General Settings -> Currencies -> Check Exchange Rate Types
SAP Netweaver -> General Settings -> Currencies -> Enter Exchange Rates
Regards,
Naveen. -
ABAP coding for variable SAP exit
Hi,
I'm looking for a way to see the coding of a SAP-exit query variable: 0FYTLFP.
So this is NO custom-exit (via CMOD).
I've tried the FM: RSVAREXIT<varname> but it doesn't exist.
Via RSRT i couldn't find the piece of coding either.
I'm not looking for the functionality but the piece of coding that is used for this.
How can I find it??
Cheers.Ok, this code works as per my note above. If the period of the system date is the first of the fiscal year, it will return to the previous fiscal year to get a range for YTD.
Basically, this acts as if you're running the query in the previous period for current YTD.
WHEN 'ZFYTLFP'.
CLEAR: ZE_T_RANGE, E_T_RANGE, ZI_T_VAR_RANGE, W_YEAR, W_PERIOD, L_FPER.
DATA: l_poper LIKE t009b-poper.
DATA: l_fiscyear LIKE t009b-bdatj.
DATA: l_curdate LIKE sy-datum.
l_curdate = SY-DATUM.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = l_curdate
i_periv = i_periv
IMPORTING
e_buper = l_poper
e_gjahr = l_fiscyear
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
W_YEAR = l_fiscyear(4).
W_PERIOD = l_poper(3).
IF W_PERIOD = '001'.
W_YEAR = W_YEAR - 1.
W_PERIOD = '012'.
ELSE.
W_PERIOD = W_PERIOD - 1.
ENDIF.
ZE_T_RANGE-LOW(4) = W_YEAR." year
ZE_T_RANGE-LOW+4(3) = '001'.
ZE_T_RANGE-HIGH(4) = W_YEAR. " year
ZE_T_RANGE-HIGH+4(3) = W_PERIOD.
ZE_T_RANGE-SIGN = 'I'.
ZE_T_RANGE-OPT = 'EQ'.
APPEND ZE_T_RANGE TO E_T_RANGE. -
ABAP Coding for uploading flat file
Hello experts,
I have a requirement like this..
i am uploading a flat to SEM-BPS transactional cube.my requirement is like this.
my flat file structure is
PP;QQ;RR;SS
A; X; 1; 1
B: 1: X: X.
Here the PP QQ RR SS are the field names. If PP = A and QQ = X then the record should not update. else the record should be updated (PP = A , RR = 1 )
Kindly provide me the Sample coding
Thanks in advance.
Anil.
Message was edited by:
anil kumarTO load this file, you dont have to adopt the BPS way;it is like any other flat file load.
All you have to do is to delete all records in the data package where PP = a.
Delete data _pcakage where pp = 'AA'.
But i dont understand your other logic ( PP=a, RR =1).
Ravi Thothadri -
Please help me in ABAP coding for the incoming transactional data
Hi
I have the following transactional data
Transaction ID- Buyer- Seg- Fam- Cla -Com-Total
00001 - AB co - Engineering - Machinery - Equipment - Mechanical -15000
00002 - AC co - Engineering - Machinery - Equipment - Mechanical -15850
00003 - DE co - IT - Hardware - Mouse -Optical -5850
00004 - AC co - Engineering - Machinery - Equipment - Architectural -10000
00005 - FE co - Engineering - Machinery - Equipment - NOT_KNOWN -1580
00006 - KC co - Engineering - Machinery - Equipment - NOT_KNOWN -75850
00007 - EG co - Engineering - Machinery - Equipment - Mechanical -180050
00008 - AS co- Engineering - Machinery - Equipment - Architectural -10550
00009 - DE co - IT - Hardware - Mouse -Optical -58500
00010 - EF co - IT - Hardware - Mouse -NOT_KNOWN -555850
00011 - EF co - Engineering - Machinery - Equipment - Mechanical -44850
00012 - AC co - IT - Hardware - NOT_KNOWN -NOT_KNOWN -585550
In this transactional data, SEG-> FAM -> CLA -> COM are in hierarchy
To distiguish the NOT_KNOWN which have different level i like to change there names like this...
NOT_KNOWN_1, NOT_KNOWN_2....like that
I expect the results to be like this
Transaction ID- Buyer- Seg- Fam- Cla -Com-Total
00001 - AB co - Engineering - Machinery - Equipment - Mechanical -15000
00002 - AC co - Engineering - Machinery - Equipment - Mechanical -15850
00003 - DE co - IT - Hardware - Mouse -Optical -5850
00004 - AC co - Engineering - Machinery - Equipment - Architectural -10000
00005 - FE co - Engineering - Machinery - Equipment - NOT_KNOWN_1 -1580
00006 - KC co - Engineering - Machinery - Equipment - NOT_KNOWN_1 -75850
00007 - EG co - Engineering - Machinery - Equipment - Mechanical -180050
00008 - AS co- Engineering - Machinery - Equipment - Architectural -10550
00009 - DE co - IT - Hardware - Mouse -Optical -58500
00010 - EF co - IT - Hardware - Mouse -NOT_KNOWN_2 -555850
00011 - EF co - Engineering - Machinery - Equipment - Mechanical -44850
00012 - AC co - IT - Hardware - NOT_KNOWN_3 -NOT_KNOWN_4 -585550
I like to make this changes in the coming data by writing a start routine
Could anyone provide me the required code to make this happen
Plz help me
Regards
KCHi
My Start routine screen look like this
Declaration of transfer structure (selected fields only)
TYPES: BEGIN OF TRANSFER_STRUCTURE ,
Record number to be filled in case of adding row(s)
to enable 'error handling'
record TYPE rsarecord,
InfoObject TRAID: CHAR - 000060
/BIC/TRAID(000060) TYPE C,
InfoObject SEG5: CHAR - 000060
/BIC/SEG5(000060) TYPE C,
InfoObject FAM5: CHAR - 000060
/BIC/FAM5(000060) TYPE C,
InfoObject CLA5: CHAR - 000060
/BIC/CLA5(000060) TYPE C,
InfoObject COM5: CHAR - 000032
/BIC/COM5(000032) TYPE C,
InfoObject COCE: NUMC - 000015
InfoObject TOTALSEG: CHAR - 000032
/BIC/TOTALSEG(000032) TYPE C,
END OF TRANSFER_STRUCTURE .
Is this information you are lookin or something more
Regards
KC -
Webdynpro for ABAP - released for customer?
Hi all,
I have installed the ABAP Webdynpro - and love it!
Do anybody know if the software is released for customers? or do the customers need to be ramp-up?
Best regardsHi Rich,
Is the WAS 7.00 with ABAP for web dynpro included in the Netweaver 2004?
Here is the link for that
https://websmp206.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000668285&
So if my customer would like to have the WAS 7.00 installed we need to contact SAP for rampup on the NW04?
What is the NW05 based on (what version of the WAS? 8.00?)
Thanks in advance for your answer -
Can I use Tcode to start a webdynpro for abap or for JAVA?
I noticed some page program can be started by tcode for administrion. I am not sure whether it is webdynpro or BSP. But can I use tcode to start webdynpro? How to do it?
Hi Yichao,
To Create a Transaction code for a Web Dynpro application, use Transaction SE93 (Transaction Maintenance).
1. On the dialog screen, enter the transaction code (up to 20 characters) then click on Create button.
2. A dialog pop up screen appears, enter meaningful description of the transaction in the Short Text field.
3. Choose the option Transaction with parameters (Parameter transaction).
4. Choose Continue. The Create Parameter Transaction screen appears.
5. In the Transaction field, enter WDYID and select the checkbox Skip initial screen. There is no need to make changes in the Classification group box.
6. Add the necessary entries to the Default Values table by using the F4 help. The values are automatically available after you enter WDYID in the Transaction field.
Try going through this link for a better picture about how to achieve this.
saptechnical . com / Tutorials / WebDynproABAP / TransactionCode / Create.htm
You would have to remove the unnecessary spaces in the URL before you can see the actual working one. It wasn't allowing me to paste that link in here so had to do it this way...
Regards,
Uday -
Demo environment for ABAP / SAP for my laptop
Hi ,
I was wondering if it is possible to have a demo environment that i could use on my laptop in order to practice ABAP? If so how can i do this? Many thanks,
SamirNetWeaver Sneak Preview ABAP or Java Stacks... [https://www.sdn.sap.com/irj/sdn/downloads]
Greetings,
Blag.
Maybe you are looking for
-
When I first got my iPod touch my windows 8 laptop would not recognize it. I had an unfortunate issue and had to replace my iPod. Even with this new iPod my laptop and iTunes do not recognize it. Is windows 8 compatible with the 5th Generation iPod?
-
Mini display to VGA adaptor conneted from computer to screen. O boot startup screen shows on monitor through VGA. After startup screen VGA monitor goes blank and says "No signal" and shuts off. I then have to plug in the HDMI to the TV to see the com
-
How do I 'commit' a value in a text field with GUI scripting?
I have a script to change the dates of a "Roll" in iPhoto. I can insert the text into the proper field, but it doesn't 'stick'. When I click on another item, the text field returns to the old date. If I click on the text field before I run the script
-
Hi, cant find any seetings for see the contact pictures in recall or contact list or set fast calls any solutions thx for help mario
-
New windows new windows new windows
I just set up a new iMac (PPC, not Intel), migrated the stuff from my old computer, and I'm experiencing bizarre Safari behavior when I click links, or even the back or forward buttons. When I try to jump to another page, the original remains and the