ABAP for APO Module
HI All,
I'm just wondering how the ABAP work in APO module. Will it be same as if all other modules of SAP like SD, MM, FI etc or Its different from regular ABAP, for example HR-ABAP. I know HR abap is different from Normal ABAP, as we use more Macros, FMs, Infotpes(I worked on HR-ABAP & Normal) instead of select statements.
If anybody here in this ABAP development forum had worked on ABAP for APO modules, can please through some light on this.
Thanks in Advance.
APO is one of the component of SAP so it uses same ABAP programming..There is no major differences in terms of coding.
chk this link for SAP Advanced Planning and Optimization (SAP APO)
http://help.sap.com/saphelp_scm50/helpdata/en/7e/63fc37004d0a1ee10000009b38f8cf/frameset.htm
Similar Messages
-
Help needed - ABAP for function modules and routines.
Dear BW gurus,
Hope everyone is doing great.
I gotta project recently and we are going live in 3 weeks.My BWLead is getting rolled out in a week and he has to make the knowledge transfer to me ASAP.The bottle-necking thing is I need to have a good idea about the function modules and routines.So I request our SND community to help me out with good ABAP documents for function modules,routines and query.
my mail id is [email protected]
Thanks in advance
Have a nice day
Regards
sathiyaHello Sam,
You can create function module in ABAP using tcode SE37.
For more informations on ABAP:
http://help.sap.com/saphelp_47x200/helpdata/en/c9/5472f6787f11d194c90000e8353423/frameset.htm
Use http://help.sap.com
and also use <b>ABAPDOCU</b> transaction.
Check these links also...
<b>Online PDFs:</b>
http://easymarketplace.de/online-pdfs.php
<b>ABAP HELP</b>
If you check these links, you can find many example programs.
http://www.sap-img.com/abap.htm
http://www.sapdevelopment.co.uk/tips/tipshome.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
http://sappoint.com/abap/
FAQs in ABAP
http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
Smart forms
http://www.sap-basis-abap.com/sapsf001.htm
Workflow
<http://www.sap-img.com/workflow/sap-workflow.htm>
ALV
http://www.geocities.com/mpioud/Abap_programs.html
Mail
http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
Table control in BDC
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
SAP Scripts:
http://sappoint.com/abap/
http://www.henrikfrank.dk/abapuk.html
Some useful ABAP Links for learning:
http://cma.zdnet.com/book/abap/index.htm
http://www.sapdevelopment.co.uk/
http://www.sap-img.com/
http://juliet.stfx.ca/people/fac/infosys/abap.htm
http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/d6/0db357494511d182b70000e829fbfe/frameset.htm
http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
http://www.sapgenie.com/abap/example_code.htm
http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
http://www.sap-img.com/abap-function.htm
http://www.sapgenie.com/abap/code/abap19.htm
http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
http://www.planetsap.com/Tips_and_Tricks.htm
http://help.sap.com/saphelp_40b/helpdata/ru/d6/0dc169494511d182b70000e829fbfe/applet.htm
http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
http://www.henrikfrank.dk/abapexamples/index.html
http://sap.ittoolbox.com/documents/document.asp?i=752
http://members.aol.com/_ht_a/skarkada/sap/
http://sappoint.com/abap/
http://members.tripod.com/abap4/SAP_Functions.html
http://members.ozemail.com.au/~anmari/sap/index.html
http://www.planetsap.com/Userexit_List.htm
http://www.planetsap.com/Tips_and_Tricks.htm
http://www.kabai.com/abaps/q.htm
http://www.planetsap.com/Userexit_List.htm
http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a8090505211d189550000e829fbbd/frameset.htm
http://www.sapgenie.com/abap/bapi/example.htm
http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
http://www.sap-basis-abap.com/index.htm
http://help.sap.com/saphelp_40b/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/aa/aeb23789e95378e10000009b38f8cf/frameset.htm
http://www.geocities.com/ResearchTriangle/1635/system.html
http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm
http://help.sap.com/saphelp_45b/helpdata/en/d1/801bdf454211d189710000e8322d00/content.htm
http://www.sapfans.com/sapfans/repos/saprep.htm
http://www.planetsap.com/howdo_a.htm
http://help.sap.com/saphelp_util464/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
http://www.sapgenie.com/abap/smartforms_detail.htm
http://www.sap-img.com/abap.htm
http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/content.htm
http://www.geocities.com/victorav15/sapr3/abap.html
http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
http://abap4.tripod.com/Other_Useful_Tips.html
http://help.sap.com/saphelp_45b/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
http://www.sap-basis-abap.com/sapmm.htm
http://sap.ittoolbox.com/nav/t.asp?t=303&p=448&h1=303&h2=322&h3=448
http://sapfans.com/
http://cma.zdnet.com/book/abap/ch03/ch03.htm
http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
http://sappoint.com/abap/
http://www.henrikfrank.dk/abapuk.html
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://www.sapgenie.com/abap/index.htm
http://www.sap-img.com/abap.htm
http://www.sapdevelopment.co.uk/tips/tipshome.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
http://sap.ittoolbox.com/nav/t.asp?t=448&p=448&h1=448
http://www.thespot4sap.com/
http://www.kabai.com/abaps/q.htm
http://www.geocities.com/mpioud/Abap_programs.html
http://www.sapgenie.com/abap/tips_and_tricks.htm
http://www.sapassist.com/code/d.asp?whichpage=1&pagesize=10&i=10&a=c&o=&t=&q=&qt=
For FAQ
http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
http://www.sapgenie.com/faq/abap.htm
BAPI-step by step
http://www.sapgenie.com/abap/bapi/example.htm
http://www.sapgenie.com/abap/bapi/example.htm
Web log for receive email and processing it through ABAP
/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
For Logical database
http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
Useful link to websites
http://www.hernangn.com.ar/sap.htm
Useful for background
http://www.sappoint.com/basis/bckprsng.pdf
http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm
Table control in BDC
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
For posting web log,
/people/sap.user72/blog/2005/06/28/sdn-weblogs-making-it-easier
Dynamic Internal table -web log in sdn
/people/subramanian.venkateswaran2/blog/2004/11/19/dynamic-internal-table
ALV
http://www.geocities.com/mpioud/Abap_programs.html
Mail
http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
BOM Explosion
/people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
BOM
http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
http://www.sap-basis-abap.com/sappp007.htm
OLE
http://www.sapgenie.com/abap/ole.htm
http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm
ALVGRID with refresh
http://www.geocities.com/mpioud/Z_DEMO_ALV_REFRESH_BUTTON.html
For language setting and decimal separator
/people/horst.keller/blog/2004/11/16/abap-geek-7-150-babylonian-confusion
Oracle queries
http://sqlzoo.net/
To format SQL
http://www.sqlinform.com/
SCOT settings
http://www.sap-img.com/basis/basis-faq.htm
Status Icon [ALV,Table Control,Tab Strip]
http://www.sapdesignguild.org/resources/MiniSG-old/from_develop/norm_status_icons.htm#positioning_4
ALV Group Heading
http://www.sap-img.com/fu037.htm
For multiMedia
/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework
Uploading LOGO in SAP
http://www.sap-img.com/ts001.htm
LSMW
http://www.sap-img.com/sap-data-migration.htm
http://www.sapgenie.com/saptech/lsmw.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
http://www.consolut.de/saphelp/sap_online_help.html
http://www.sap-img.com/
http://www.sappoint.com/
http://www.sapdevelopment.co.uk/
http://www.allsaplinks.com/idoc_search.html
Best Regards,
Thangesh -
How to create function module in abap for VirtualProvider in bi
how to create function module in abap for VirtualProvider in bi ???????????????
can any one help me with simple example ?????????????????
Moderator message : Duplicate post locked. Read forum rules before posting.
Edited by: Vinod Kumar on Jun 15, 2011 4:40 PMHi ,
Thanks for replies about my question??.
If i am using the exit in my char relation ship how can i debugg that exit???
if i am using BPS0 how to do it???If i am using BPS_WB how to do it??
Case1.Variable (type Exit) I known how to do debugg this one in BPS0 but i'm not sure in BPS_WB??
Case2:Char Relation Ship(Type Exit) how to do in BPS0 and BPS_WB??.
Thanks. -
What is the basci knowledge for learning the APO module
hai
im a BW-consultant. im planning to learn the APO-module . So what i the prequistie to learn the APO module.
pls let me know
kumaras a BW consultant DP is a good place to start since the Admin workbench (or BW workbench as it is called now) will be an area you will be confident with
in additon, you will need to get some extra business process knowledge on Sales and Operations Planning, Forecasting Algoritms, Planning area and Planning Book design concepts,various tools and transactions for Data processing in planning area, Using Macros etc to just name a few.
Look for the SAP education website for topics if you eventually plan to get certified.
the help.sap.com list of topics for DP is a good place to start.
the wiki that siva has already linked is a good resource. Also searching for posts here if you have doubts will help and also feel free to ask questions. -
What are the input parameters for Function Module
Dear Experts,
I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources.
For that i want to write a Generic Datasource with Function Module.
audat
bukrs
vkorg
vtweg
spart
aurat
auart
netwr
mwsbp
kschl zedp(consition type)
kschl zvat(condition type)
ksch zcst(condition type)
matkl material group
Here what are the Input parameters for Function Module.
Thanks in Advance.
Srinivasan.Srinivasan-
For creating a Generic extractor based on a FM, you first of all need to know what is going to be your structure.. i.e. what all fields you need to pull from what all tables. A functional consultant may help you identify the exact DB tables.
Once you know them, hand over the requirement and the pdf mentioned by Krishna to the ABAP guy, he would be able to take this up further.
Also decide 1st whether you would be using a full load or delta. There is a slight difference in the way they are built.
Let me know how it goes.
-Bhushan. -
Best Practices for APO Production Support
What are the best practices needs to be adopt for APO Production Support? in DP, SNP, PP/DS, CIF, APO-basis, APO -ABAP area?
I know this is not the standard way to reach you, but you answered a question long back about /SAPAPO/AMON1 - Alert Monitor. Can this alert monitor be configured to show up in the universal worklist (UWL) in the portal? if so would these alerts show up in the alert inbox of the uwl just as other sap alerts do? (the other alerts i speak of are those referenced here (http://help.sap.com/saphelp_nw04s/helpdata/en/3f/81023cfa699508e10000000a11402f/frameset.htm).
Or are these alerts two totally different types of functionality with the same name (ARERT) ?
Thanks
Ted Smith -
Steps For Creating Module programming ?
hi..
if u have any documentation for creating module programming means please send to me .
Thanks in advance
DeepaHi,
Go through This Link:--[http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm]
[http://abaplovers.blogspot.com/2008/03/sap-abap-module-pool-programming.html]
[http://abaplovers.blogspot.com/2008/03/sap-abap-tutorial-module-pool.html]
[http://abaplovers.blogspot.com/2008/03/sap-abap-tutorial-module-pool_17.html]
Regards
Sandipan -
Performance issue in APO Module
Hi All,
While running the Demand Planning Book in APO Module, (Transaction Code :: <b>/n sdp94</b>) with 150 users, we faced a huge performance issue in both (while doing screen navigation & saving data).
The planning book volume was for about 250 products and for large no of products across India. We are running it on HP Super Dom where the SEM Server had 8 CPUs and 32 GB RAM.
The life cache server was having 8 CPUs and 120 GB RAM.
Would like to know if somebody has faced similar problem and if ues, how the problem was then solved?Have you checked SAP notes for this? There are a number of them. Start with 966490.
Rob -
Hi,
I want to know the standard Web Dynpro names which SAP supplied for SD modules.
Any help is appreciated.
Thanks,
SubraHi Subra,
your query is not specific. what names you wanted know?....
are you searching for naming conventions, then see the below links
[Webdynpro ABAP Naming Conventions; -
Doc plz on abap object and Module pool prog
Hi all,
Please any send the details and use full documents on ABAP objects and Module Programming.
Its very orgent for me
THanks and Regards
vamsin
[email protected]Hi ALL,
Thank you for your replies, I guess I dint convey my question properly,
I have called a Selection-Screen in Module Pool .
These were the steps which i followed to archive this.
1. Created a subscreen area in your screen layout (Main Screen- Module Pool).
2. In the Top Include of Module pool program declared a Selection-Screen as a subscreen.
TOP-INCLUDE.
SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK d3 WITH FRAME TITLE text-003.
PARAMETERS : grdate RADIOBUTTON GROUP r2 DEFAULT 'X' USER-COMMAND FR1. " GRN date
PARAMETERS : crdate RADIOBUTTON GROUP r2 . " Current Date
SELECTION-SCREEN END OF BLOCK d3.
SELECTION-SCREEN END OF SCREEN 400.
3. In the PBO and PAI of the Main Screen called Subscreen.
PBO
CALL SUBSCREEN SUB_SCREEN_STAPLES INCLUDING 'zprogram' '0400'.
PAI
CALL SUBSCREEN SUB_SCREEN_STAPLES..
I have to do certain operations when the user selects the radio button on subscreen (which is actually a Selection-Screen).
I have tried to assign the function code to radio button and as this screen is a Selection-Screen I cannot use PAI and PBO.
Used the below code in TOP-INCLUDE.
TOP-Include
AT SELECTION-SCREEN ON RADIOBUTTON GROUP r2.
CASE ok_rb.
WHEN 'FR1' .
IF crdate = 'X'.
pdate = sy-datum.
ELSE.
pdate = sy-datum + 1.
ENDIF.
ENDCASE.
But after executing this logic the flow is going to PAI which is validating the mandatory fields of Module-Pool Screen (which is not part of sub screen), hence not solving my purpose.
Is there any way by which I can Only trigger the AT-Selection screen for the selection screen.
or Any other approach which will solve my purpose.
Thanks a lot for Suggestions and Inputs. -
If client uses all the APO modules along with ECC then what is the CIF role in DP
Hi All,
As per my knowledge if the client is using only SAP ECC and DP then CIF does not play any role but what about if client uses all the APO modules along with ECC then what is the CIF role in DP ?
Thanks in advance ..Hi Vinod,
i am aware all the above details what u mentioned.
Generally i am extracting the historical data from Excel to BI in DP- @ my project.
But if the data is in SAP ECC then do we need to use CIF to extract the data to BI in DP... so what is the role of CIF in DP if client uses only DP module? and if the client uses all the APO modules then what is the role of CIF in DP especially ?....awaiting for ur response....
Thanks. -
How to log input parameters for Function Modules?
Hi,
I need to create a Logging system to trace input parameters for function modules.
The log functionality could be done by developing a class method or a function module (For example 'write_log'), and calling it within each function module that I want to log. The 'write_log' code should be independent from the interface of the Function Module that I want to log.
For example, I'd like to write a function/class method that can log both these functions modules:
Function DummyA
Input parameters: A1 type char10, A2 type char10.
Function DummyB
Input parameters: B1 type char20, B2 type char20, B3 type char20, B4 type Z_MYSTRUCTURE
Now the questions...
- Is there a "standard SAP" function that provide this functionality?
- If not, is there a system variable in which I can access runtime all parameters name, type and value for a particular function module?
- If not, how can I loop at Input parameters in a way that is independent from the function module interface?
Thank you in advance for helping!check this sample code. here i am capturing only parameters (import) values. you can extend this to capture tables, changin, etc.
FUNCTION y_test_fm.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(PARAM1) TYPE CHAR10
*" REFERENCE(PARAM2) TYPE CHAR10
*" REFERENCE(PARAM3) TYPE CHAR10
DATA: ep TYPE STANDARD TABLE OF rsexp ,
ip TYPE STANDARD TABLE OF rsimp ,
tp TYPE STANDARD TABLE OF rstbl ,
el TYPE STANDARD TABLE OF rsexc ,
vals TYPE tihttpnvp ,
wa_vals TYPE ihttpnvp ,
wa_ip TYPE rsimp .
FIELD-SYMBOLS: <temp> TYPE ANY .
CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE'
EXPORTING
funcname = 'Y_TEST_FM'
* INACTIVE_VERSION = ' '
* WITH_ENHANCEMENTS = 'X'
* IGNORE_SWITCHES = ' '
* IMPORTING
* GLOBAL_FLAG =
* REMOTE_CALL =
* UPDATE_TASK =
* EXCEPTION_CLASSES =
TABLES
exception_list = el
export_parameter = ep
import_parameter = ip
* CHANGING_PARAMETER =
tables_parameter = tp
* P_DOCU =
* ENHA_EXP_PARAMETER =
* ENHA_IMP_PARAMETER =
* ENHA_CHA_PARAMETER =
* ENHA_TBL_PARAMETER =
* ENHA_DOCU =
EXCEPTIONS
error_message = 1
function_not_found = 2
invalid_name = 3
OTHERS = 4
IF sy-subrc = 0.
LOOP AT ip INTO wa_ip .
MOVE: wa_ip-parameter TO wa_vals-name .
ASSIGN (wa_vals-name) TO <temp> .
IF <temp> IS ASSIGNED .
wa_vals-value = <temp> .
ENDIF .
APPEND wa_vals TO vals .
ENDLOOP .
ENDIF.
ENDFUNCTION. -
Can we open and close Posting period for HR module
Dear All ,
Can someone please tell me is there any option available to open and close Posting period for HR Module.We have In Finance and MM.
Cheers
Balaji Dhanavelcheck
the report RPCIPE00 useing SE38
can u be some wht clear of ur query once -
Actual vs target report for sd module
if any having actual vs target report for sd module pls forward me..
my requirement is i would like to find the monthwise core and monthwise actual sales totals and rebate for the particular product ..How are you doing the data entry for target (or budget) ? Is it thru CO module ? Have you activated CO-PA ?
-
Business Process: Final Demand Plan Key Figure in the past for APO DP
Hello APO process experts,
I have a BPX question for APO DP process owners, consultants or gurus:
1.- Have you ever seen in any SAP APO customer, that in their APO DP planning books, they chose or designed to update the Final Demand Plan key Figure in the past closed historical buckets with the Actual Sales?
Meaning that that in the Past closed historical Buckets, Actual Sales and Final Demand Plan, look exactily the same.
Meaning that they create a dynamic Final Demand Plan key figure so to speak, yet they did not choose to create a key figure that also keeps the Final Demand Plan as originally entered.
2.- Would you think that doing the above, without keeping any keyfigure in the planning book that actually shows what the Final Demand Plan was in the Past, is a good practice?
The Demand Planner could still retreive the Final Demand Plan from BI reports, yet, dynamically they could never really see it in the planning book.
3.- Do you think the above dynamic key figure would bias the Demand Planner's behaviour to manipulate the future open Final Demand Plan buckets to enter volumes in order sum to a monthly total, independently of what were the over and underachievements in the past (since they are not really visible to him) ?
I would really like your feedback,
thanks in advance!
JD LoeraHello Thanks for your feedback.
I agree with your point, and I hope that i still get more feedback from other Business Process Experts.
I am trying to build a case for my client, to challenge the decision of their initial design as this practice is going to hurt the Demand Management process, if what they intend to achieve is a true "unconstrained demand plan"
Much appreciated
JD Loera
Maybe you are looking for
-
CUCM IM & Presence 9.1 and Window Active Directory 2012 R2
Currently envinronment is 1.CUCM 9.1 2.IM & Presence 9.1 3 AD 2012 R2 i have configured for Jabber for iPhone 9.6.1 and Window 9.7 and use UDS as service profile. Everything working properly unless i can't use AD user for authentication it appear scr
-
How to put input variable (elementName in xpath) name in runtime for Assign
Hi All, I want to know how to refer an XSD schema based variable's element and assign it to some other variable at runtime. I mean how can i put the 'To' element's name in assign-activity at run-time? Suppose i am having a variable "varInput_PastDued
-
Hi gurus, We applied the bw sp SAPKW35018 and when I open the WAD theres no stylesheets available, it display all the .css options but none have a stlye, this is a big issue because when i try to view it in the browser no style is presented. Aditiona
-
What video converters is the best for Ipod Video??
Hi i just have a question about the video converter thing. right now i'm using the "winavi" for my ipod and is alright, but can't really do well at separating file. Another 1 is "Xlisoft" Great but "Winavi" can convert more kind of files than "Xlisof
-
Hi guys, If I have 2 threads Thread one = new Thread(); Thread two = new Thread(); In each Thread (one, two) in run method, I new a class called MyClass public class myClass public int a; public int b; public int geta() return a; public int getb() re