Does learning abap makes an advantage for pm functional module?
hello everyne.I am hari.am planning to learn sap plant maintainence module.but my issue is that,would it be better learning abap b4 learning sap plant maintainence?if its soo,how learning abap will give an advantage for me?rply me with your experience.how should i proceed furthur?
Moderator message : Moved from "ABAP General" to "Career Center".
Edited by: Vinod Kumar on Oct 11, 2011 1:10 PM
Hi
I understand that the advantage is related wiht the use in enhancement, BADI and so on. For instance, in SD you have a lot of requirements that you can resolve easily with VOFM subroutines, userexits, enhancements and so on, and this knowledge is a plus for a quickly and proper analysis. The disadvantage: if you are able to do userexits, maybe, when you can do it with customizing tools, sometimes you do it with enhancements, because it's easier for you.
Moreover, if you know ABAP to set a break-point and read a debugging session to search a customizing failure, or for instance, to find a bottleneck after an ST05 analysis. I understand that learn ABAP is advisable for a functional. Of course, it depends of your availability of resources (time) and your priorities.
I hope this helps you
Regards
Eduardo
Similar Messages
-
Advantages of 'HR_INFOTYPE_OPERATION' Function Module In ABAP-HR
HI Experts,
What are the Advantages of 'HR_INFOTYPE_OPERATION' Function Module In ABAP-HR rather than BDC Both methods?
Thanks in Advance.
NaveenHi
The function module 'HR_INFOTYPE_OPERATION' can be used to update,insert,modify,delete and change in the same function module.
Codings are also very simple there by calling this FM in case of conversion program.
Performance is also good when compared to session method.
Speedy performance in conversion programming.
The sample codings is given.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0009'
NUMBER = EMPLOYEENUMBER
SUBTYPE = SUBTYPE
OBJECTID = OBJECTID
LOCKINDICATOR = LOCKINDICATOR
VALIDITYEND = VALIDITYEND
VALIDITYBEGIN = VALIDITYBEGIN
RECORDNUMBER = RECORDNUMBER
RECORD = P0009
<b>OPERATION = CHANGE </b>
NOCOMMIT = NOCOMMIT
There by changing the operation field into "INSS","MOD","DEL" alone we can do conversion program easily.
Then if no commit ='X' then it does't get updated in database so that it will be easy for us to check whther the fields get updated properly in database.
If no commit = ' ' then the possible fields get updated in database.
Thanks,
Sakthi.
*Rewards if usefull* -
Test web service for a function module
Hello,
I have created web service for a functiona module. I can see the same service in SE80 in Enterprise Services.
How do I test this service?
I can see the URL in WSDL tab but when I try to execute it give me following error,
What has happened?
URL http://emhbssap15.domain.local:8027/sap/bc/srt/wsdl/sdef_service_name/wsdl11/ws_policy/document call was terminated because the corresponding service is not available.
Note
The termination occurred in system BDV with error code 403 and for the reason Forbidden.
The selected virtual host was 0 .
What can I do?
Please select a valid URL.
If you do not yet have a user ID, contact your system administrator.
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:EMHBSSAP15_BDV_27-v:0-s:403-r:Forbidden
HTTP 403 - Forbidden
Your SAP Internet Communication Framework Team
The URL I am trying is
http://emhbssap15.domainname:8027/sap/bc/srt/wsdl/sdef_servicename/wsdl11/ws_policy/document?sap-client=400
Can anyone help me?
Regards,,,
Sunil Joyous
Edited by: Sunil Joyous on Dec 2, 2009 1:52 PMThanks Venu for your input.
Unfortunetly we do not have Java stack on our development system. You said we can test it by SOAP UI tool. Where do I see the WSDL file for the service?
I used WSDL from SE80 --> Service --> WSDL tab, but SOAP UI does not accept this format ?
What are the other ways I can test this web service? I think about SAP PI, importing RFC & creating web service or creating ABAP proxies... Which is the best way to go forward in case you do not have Java stck.
Regards,,,
Sunil Joyous -
Hi Friends
I am having performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA) and one my client got over 8 thousend employees . This function-module taking forever to read the data. is there any other function-module to read the absences data IT2001 .
I did use like this .if i take out this F.M 'HR_TIM_REPORT_ABSENCE_DATA_INI' its not working other Function-module.please Suggest me .
call function 'HR_TIM_REPORT_ABSENCE_DATA_INI'
exporting "Publishing to global memory
option_string = option_s "string of sel org fields
trig_string = trig_s "string of req data
alemp_flag = sw_alemp "all employee req
infot_flag = space "split per IT neccessary
sel_modus = sw_apa
importing
org_num = fdpos_lines "number of sel org fields
tables
fieldtab = fdtab "all org fields
field_sel = fieldnametab_m. "sel org fields
To Read all infotypes from Absences type.
RP_READ_ALL_TIME_ITY PN-BEGDA PN-ENDDA.
central function unit to provide internal tables: abse orgs empl
call function 'HR_TIM_REPORT_ABSENCE_DATA'
exporting
pernr = pernr-pernr
begda = pn-begda
endda = pn-endda
IMPORTING
SUBRC = SUBRC_RTA
tables
absences = absences_01
org_fields = orgs
emp_fields = empl
REFTAB =
APLTAB =
awart_sel_p = awart_s[]
awart_sel_a = awart_s[]
abstp_sel = abstp_s[]
i0000 = p0000
i0001 = p0001
i0002 = p0002
i0007 = p0007
i2001 = p2001
i2002 = p2002
i2003 = p2003.
Thanks & Regards
Reddyguessing will not help you much, check with SE30 to get a better insight
SE30
The ABAP Runtime Trace (SE30) - Quick and Easy
what is the total time, what are the Top 10 in the hitlist.
Siegfried -
I want bapi process for bap_goodsmvt_create function module
hai this is siva
i want bapi process for bap_goodsmvt_create function module,Hi ALL,
I am new to ABAP.
I have created function module ZMM5 , no syntax error is there.
but while activating i am getting error,
PROGRAM SAPLZSKG REPORT / PROGRAM STATEMENT MISSING, OR PROGRAM TYPE IS I ( INCLUDE).
I WANT TO CHECK THE SYNTAX FOR UNICODE.
i am not able to check the syntax as i tried by giving FM name, FG name and include name.
can you please help me.
Thanks in advance.
best regards,
zubera -
How to check for a function module with its description and functionality
Hi all,
How to check for a function module,with its description and its functionality,in detail how can I know the purpose of a particular function module,how to search for a function module which suits my requirement .Hi,
You can search a FM of your requirement by putting in the Key words and searching for a FM. Like * KEYWORD * and then pressing F4.
Say for example you need to search something regarding converstion.
Search for * CONVERT * and press F4.
If there is something specfic like converting date to something you can give
DATE * CONVERT *
OR
CONVERT * DATE * and press F4.
Once you narrow down your search you will have a Function module documentation inside the Function module. Please note that all the FMs willl not have documentation.
Regards,
Pramod -
How to use Exceptions for a function module
Hi folks,
I have created a new function module.Its working fine, but i am not aware of using exceptions for a function module. I hav just declared an exception in the 'exception' tab. Could any body explain me how to use that in my FM source code....Thanks...Hi Shyam,
Have a look at this,
START-OF-SELECTION.
gd_file = p_infile.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = gd_file
has_field_separator = 'X' "file is TAB delimited
TABLES
data_tab = it_record
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc NE 0.
write: 'Error ', sy-subrc, 'returned from GUI_UPLOAD FM'.
skip.
endif.
Regards,
Sai -
Search for a function module for deleting document originals (DMS)
Hi,
I'm searching for a function module to delete originals in documents (like manually with transaction cv02n). I'm only able to set an delete mark with the module 'BAPI_DOCUMENT_DELETE'.
The module 'BAPI_DOCUMENT_CHANGE2' can only add new originals to an existing document. I need a possibility to delete all originals in an document without deleting the document itself.
Has anyone an idea?
Thanks.
Jan-Christian TreuschMany thanks!
That's especially the method I've searched for so long....
best regards.
Jan-Christian Treusch -
Need help for the Function Module 'PFL_GET_PARAMETER_INFO'
Hi Experts,
The FM 'PFL_GET_PARAMETER_INFO' returns the value for Profile Parameters for a system .
The inputs required for this FM are :
1. Parameter name : ( eg . login/min_password_lng etc. )
2 . Parameter Type
I am not sure about what the value of Parameter Type should be .
Its a mandatory field.
I have tried to search but could not find anything.
Can you please help me on this?
Thanks in Advance,
Harshit Rungta
Edited by: harshit rungta on May 27, 2011 8:15 AMWhat exactly is the use-case for this?
Many developers "c-call" the params and neglect this feature of the type - also whether it is static or dynamic. Some params are even dynamic as system profiles in one direction but static as instance parameters in the other direction when changing the value.
As you cannot create your own system profile parameters, I do not see the use-case for why you are wanting to check it in advance, because the application APIs should do this.
What you are possibly looking for is function module SUSR_GENERATE_PASSWORD in this case. It will respect "the rules" in the params.
Do not use the legacy function RSEC_GENERATE_PASSWORD directly.
Cheers,
Julius -
Alternative for STRING_CENTER function module
Hi,
Can any one give me the Alternative for STRING_CENTER function module.
it is there in 4.7 when i am using the same in ecc 6.0 it is giving as absolute statement .
Please give the solution for this.Hi,
C147_STRING_SPLIT_AT_POSITION
STRING_SPLIT
STRING_SPLIT_AT_POSITION
check this sample code
DATA: text(10) TYPE c VALUE '0123456789',
text1(6) TYPE c,
text2(6) TYPE c.
PARAMETERS position TYPE i.
CALL FUNCTION 'STRING_SPLIT_AT_POSITION'
EXPORTING
string = text
pos = position
IMPORTING
string1 = text1
string2 = text2
EXCEPTIONS
string1_too_small = 1
string2_too_small = 2
pos_not_valid = 3
OTHERS = 4.
Regards -
Creating a Structure for BAPI Function Module
Hi,
I need to create an RFC for a BAPI call. For that I have to create a structure for the function module. Now, do I need to specify both import and export parameters in the same structure or do I need to create two different structures for Import as well as export parameters? If the import and export parameters are specified aleady, Do I need to supply this structures again under "TABLES"?
Thanks,
John.if u have/get more one records , then u have to use tables ?
Regards
Prabhu -
How to find suitable( existing) function group for a Function Module ?
How to find suitable( existing) function group for a Function Module to be created?
This is FM for converting amounts to text.Hi,
If you are not sure into which Function group your FM should go in then its advised to create a Function group of your own. Its not advised to create a function module in any other function group unless its owned by you since your FM can get deleted by others or it can get changed.
Create your own Function group. But if you want to create in an existing FG then best way is to find out the Function Group by searching for suitable existing Function module then see their function group
Regards,
Sesh -
How to schedule a background jobs for a function module
HI all,
I have created a function module (zrfc_test). Now I need to schedule it daily around 8am . the 2 tcodes used is sm36 & sm37. But I need a detail description for a function module.
Points will be rewarded
thanks in advanceAs there is no direct way of scheduling a function module, you may write a online program (program type 1) and call this function module in side it and schedule the program using SM36. Or you may record a CATT procedure for the function module and schedule it using SCAT transaction.Hope this helps
Krishna -
How to execute Se30(performance check) for a function module
can anyone please let me know hot to execute perofrmance check for a function module.
In SE30 below the program option you have Function Module option.
Give the FM name there >execute, It will lead to the SE37 for Function Module execution screen, enter the values>Execute.
The ctrl will return back to SE30.
Press Evaluate to know the analysis.
Hope this answers.
Regards
Vinayak -
How to insert a code for a function module into a Customer Exit Variable?
I have two Key Figures viz., Net Prchs Rtl, and Net Prchs Unt. Both these Key figures have This Week (TW) and Last Week (LW). There is a variable for This week but there is no variable defined for Last week.
I need to get data in the column LW (Last Week) for both the key figures.
In function module EXIT_SAPLRRS0_001 one of the functions I have is:
Get the previous Fiscal Week
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
I need to create a new variable to get values in the Last week column for different key figures and use function 'DATE_TO_PERIOD_CONVERT' in that variable.
Can anyone please explain me the steps as to how to use a function module in a variable so that when the variable is used in a key figure it shows the output.
In other words what I want to know is after creating a Customer exit variable of type Characteristic value how do I refer the above mentioned function moduel and insert the code for the function module into the Customer exit variable that I created.
Thank you.
TR.Hi Wond,
Thanks a lot for your reply. I understand what you mean but I have never done this before so can you please explain it in a detailed manner. I have the following code:
Get the previous Fiscal Week
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = ld_date
i_periv = lc_periv
IMPORTING
e_buper = ln_poper
e_gjahr = ln_bdatj
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
lc_poper = ln_poper.
CONCATENATE ln_bdatj lc_poper+1(2) INTO wa_e_t_range-low.
wa_e_t_range-sign = 'I'.
wa_e_t_range-opt = 'EQ'.
APPEND wa_e_t_range TO e_t_range.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
I believe I should now use the above code in my customer exit variable. If that's right can you please explain me the steps as to how should I do this so that the variable gets populated.
Thank you.
Regards,
TR.
Maybe you are looking for
-
So my cinema display will not turn back on if I have it on, remove the cord from computer then try to put the cord back in. However if I put the usb back in and put my mouse in the cinema usb port the mouse still works. I restarted my computer and th
-
Anyone want to use a real session drummer for free?
Hi everyone, my name is David. If anyone is interested, I'm willing to do what's called "online session drumming" for free. Why for free? I want to gain more experience in session drumming for customers from afar, plus doing this kind of work is a
-
PO Header Status - still to deliv. zero value
Looking for information related to currency changes in the PO. If the currency was changed in the PO from the Vendor master currency will this cause descrepancies in the still to deliv. calculations in the header? PO Status currently displays Ordere
-
HP T510 Citrix session disconnect problem
Hello, I had problem with HP T510 (Thinpro Image 5.2/citrix receiver 13.1, Xenapp 6.5 on serveur 2008 R2). After direct ICA connexion on published desktop, the connexion drop and the user came back to the Thinpro OS. The problem seems to be with Lotu
-
Trouble invoking webservice created with clientgen in weblogic server 10.0
Hi Guys, I have a webservice's jar file in my classpath(whic i created using weblogic clientgen), I have a simple standalone client(java file) which tries to invoke this webservice. when i try to run my client i get this error: Exception in thread "M