Changing design of FAQ module
Hi,
I can't seem to find the way to change the search button in the FAQ module. I when trough all the CSS and can't find a clue how to do this. Has you have figured out, I know very little about coding so any help would be welcome. Here is the url of my FAQ. http://www.geppp.com/faq
When I go to the FAQ module template, all I see is {tag_question}. No HTML that I could modify.
Thank's for your help,
Mathieu
Hi Mathieu,
FAQ module templates are for:
list of questions (list layout)
an individual question details (detail layout)
If you've added the FAQ search to a page, the HTML source code for the search is made available to be changed via the page source.
Find the line in HTML view that contains the SUBMIT button:
<div class="item"><input class="cat_button" type="submit" value="Search" /></div>
This line can be replaced with an image alternative for the buttom:
<div class="item"><input type="image" src="/images/your-submit-button-image.jpg" alt="Rechercher"/></div>
Regards
Mike
Similar Messages
-
How do I change the title FAQ to Knowledgebase?
We've widened the use of the FAQ (module) to be a knowledgebase. But, we have not been able to change the title on the detail page from FAQ.
Is there a way to change the title?Batch renaming is not yet implemented in Photos. As a work-around for now you can search for Automator scripts that will do it.
Sort order of Album list, Album contents and Folder contents can be changed by checking or unchecking the Keep Sorted By... option under the View menu. I know, very limited options...
You can request features, point out bugs, etc, at Apple Feedback pages:
http://www.apple.com/feedback/
Or directly for Photos:
https://www.apple.com/feedback/photos.html -
Revision: 15157
Revision: 15157
Author: [email protected]
Date: 2010-03-31 05:29:35 -0700 (Wed, 31 Mar 2010)
Log Message:
Simplifying the design of the module lib by:
- Refactoring the existing mechanism to support the inter-communication between modules thru a unique identifier.
- Ability to communicate between multiple instances of the same module.
- Removed the LazyLoader which was a temporary workaround.
- Adding a new Metadata which must be used within messages that are inter-communication API messages (to communicate between modules).
- Adding a message pool which basically keep all messages that need to be redirected to a module which is not yet instantiated until the module is available and ready to accept the messages.
- Redo from scratch the ModuleTest application to show the new behaviors.
- Refactored the InSync sample to use the new Module lib.
Modified Paths:
cairngorm3/trunk/libraries/Module/.actionScriptProperties
cairngorm3/trunk/libraries/Module/.flexLibProperties
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleInfo.as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleMessageInterceptor .as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ParsleyFlexModuleFactory .as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ParsleyModuleDescriptor. as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ParsleyModuleInfo.as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ViewLoader.as
cairngorm3/trunk/libraries/ModuleTest/.actionScriptProperties
cairngorm3/trunk/libraries/ModuleTest/.flexProperties
cairngorm3/trunk/libraries/ModuleTest/src/example/MyViewLoader.mxml
cairngorm3/trunk/samples/insync/insync-modularExtended-api/.actionScriptProperties
cairngorm3/trunk/samples/insync/insync-modularExtended-api/.flexLibProperties
cairngorm3/trunk/samples/insync/insync-modularExtended-api/src/insync/messaging/ComposeMe ssageEvent.as
cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/src/insync/contacts/prese ntation/ContactFormPM.as
cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/src/ComposeMessageModule .mxml
cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/src/ComposeMessageModule Rig.mxml
cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/src/insync/messaging/pre sentation/ComposeMessagePM.as
cairngorm3/trunk/samples/insync/insync-modularExtended-shell/src/InsyncModularExtendedShe ll.mxml
cairngorm3/trunk/samples/insync/insync-modularExtended-shell/src/insync/InsyncContext.mxm l
cairngorm3/trunk/samples/insync/insync-modularExtended-shell/src/insync/presentation/Cont entViewStack.mxml
Added Paths:
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/CairngormModuleLib.as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/IParsleyModule.as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleIdMetadata.as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleMessageDispatcher. as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ParsleyModuleReadyMessag e.as
cairngorm3/trunk/libraries/ModuleTest/src/CairngormModuleLibSample.mxml
cairngorm3/trunk/libraries/ModuleTest/src/CairngormModuleLibSampleContext.mxml
cairngorm3/trunk/libraries/ModuleTest/src/example/ModulePod.mxml
cairngorm3/trunk/libraries/ModuleTest/src/example/api/
cairngorm3/trunk/libraries/ModuleTest/src/example/api/PingMessage.as
cairngorm3/trunk/libraries/ModuleTest/src/example/moduleA/
cairngorm3/trunk/libraries/ModuleTest/src/example/moduleA/ModuleA.mxml
cairngorm3/trunk/libraries/ModuleTest/src/example/moduleA/ModuleAContext.mxml
cairngorm3/trunk/libraries/ModuleTest/src/example/moduleA/ModuleAPM.as
cairngorm3/trunk/libraries/ModuleTest/src/example/moduleB/
cairngorm3/trunk/libraries/ModuleTest/src/example/moduleB/ModuleB.mxml
cairngorm3/trunk/libraries/ModuleTest/src/example/moduleB/ModuleBContext.mxml
cairngorm3/trunk/libraries/ModuleTest/src/example/moduleB/ModuleBPM.as
cairngorm3/trunk/samples/insync/insync-modularExtended-api/src/insync/application/
cairngorm3/trunk/samples/insync/insync-modularExtended-api/src/insync/application/Content Destination.as
Removed Paths:
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/LazyLoader.as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleDescriptor.as
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/StyledModuleDescriptor.a s
cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/StyledModuleInfo.as
cairngorm3/trunk/libraries/ModuleTest/src/CairngormModules.mxml
cairngorm3/trunk/libraries/ModuleTest/src/CairngormModules2.mxml
cairngorm3/trunk/libraries/ModuleTest/src/example/ExampleContext.mxml
cairngorm3/trunk/libraries/ModuleTest/src/example/ModuleA.mxml
cairngorm3/trunk/libraries/ModuleTest/src/example/ModuleB.mxml
cairngorm3/trunk/libraries/ModuleTest/src/example/parsley/
cairngorm3/trunk/samples/insync/insync-modularExtended-shell/src/insync/application/Conte ntDestination.asThis may be the same fix that ningunos2010 provided but I got this idea from anthbs's post. I looked up what .exe files the ISim tool used, and then simply took the nt64 files and copied them over to the nt folder so that it wouldn't run the 32 bit ISim but the 64 bit one that anthbs claimed would work. At first it didn't come up with any errors it says the simulation ran successfully but it wouldn't open the actual ISim gui. In order to fix this I went to the ISimgui.exe file and unclicked run as administrator. I'm not sure if that's clicked by default or if I had changed it at some point trying to fix the issue.
Anyway these are the files I copied over from nt64 to nt folder:
fuse.exe
isimgui.exe
vhpcomp.exe
vlogcomp.exe -
Design a function module to send email
hii gurus ,
i have to design a function module which takes three input email id (reciever), body (text of message) , and header ie subject and when executed should send email to the reciever. pls help
Aditya Shrivastava.Hi Aditya,
If you could not get your problem solved with predefined FMs, Try making this FM.. it will help you..as this FM is made in our server locally..
name : z938_mailsend
import parameters
param name type associated type shrt text
I_TID LIKE THEAD-TDID Text ID of text to be read
I_LAN LIKE THEAD-TDSPRAS Language of text to be read
I_L_NAME LIKE THEAD-TDNAME Name of text to be read
I_OID LIKE THEAD-TDOBJECT Object of text to be read
W_RETURN TYPE SSFCRESCL Smart Forms: Return value at end of form printing
I_POTITLE TYPE EBELN purchase order number
W_DOC_CHNG TYPE SODOCCHGI1 data of an object which can be changed
I_ADDRNUM LIKE ADR6-ADDRNUMBER Address number of Vendor
source code :
FUNCTION z938_mailsend.
""Local Interface:
*" IMPORTING
*" REFERENCE(I_TID) LIKE THEAD-TDID
*" REFERENCE(I_LAN) LIKE THEAD-TDSPRAS
*" REFERENCE(I_L_NAME) LIKE THEAD-TDNAME
*" REFERENCE(I_OID) LIKE THEAD-TDOBJECT
*" REFERENCE(W_RETURN) TYPE SSFCRESCL
*" REFERENCE(I_POTITLE) TYPE EBELN
*" REFERENCE(W_DOC_CHNG) TYPE SODOCCHGI1
*" REFERENCE(I_ADDRNUM) LIKE ADR6-ADDRNUMBER
*data declaration
*Internal Table declaration
DATA : it_otf TYPE STANDARD TABLE OF itcoo ,
it_tline TYPE STANDARD TABLE OF tline ,
it_record TYPE STANDARD TABLE OF solisti1,
it_objpack TYPE STANDARD TABLE OF sopcklsti1,
it_objtxt TYPE STANDARD TABLE OF solisti1 ,
it_objbin TYPE STANDARD TABLE OF solisti1 ,
it_reclist TYPE STANDARD TABLE OF somlreci1 ,
it_tdline TYPE STANDARD TABLE OF tline,
*Work Area declarations
wa_objhead TYPE soli_tab,
wa_buffer TYPE string, "To convert from 132 to 255
wa_it_objtxt TYPE solisti1,
wa_it_objpack TYPE sopcklsti1,
wa_it_record TYPE solisti1,
wa_it_reclist TYPE somlreci1,
wa_it_tline TYPE tline,
wa_tdline TYPE tline,
*variable declaration
v_lines_bin TYPE i,
v_lines_txt TYPE i,
v_len_in TYPE sood-objlen, "#EC NEEDED
v_mailaddr TYPE adr6-smtp_addr.
*constant declaration
CONSTANTS : c_msgtype TYPE c VALUE 'E', " for declaring masseage type as error msg
c_X TYPE c VALUE 'X',
c_U TYPE c VALUE 'U'.
it_otf[] = w_return-otfdata[].
*calling function module to convert otf format of smartform to pdf format
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = text-001 "PDF
max_linewidth = 132
ARCHIVE_INDEX =
COPYNUMBER =
ASCII_BIDI_VIS2LOG =
PDF_DELETE_OTFTAB =
IMPORTING
bin_filesize = v_len_in
BIN_FILE =
TABLES
otf = it_otf
lines = it_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5 .
IF sy-subrc NE 0.
sy-msgid = text-002. "some msg
sy-msgty = c_msgtype. " E
sy-msgno = 040.
sy-msgv1 = ' '.
sy-msgv2 = ' '.
sy-msgv3 = ' '.
sy-msgv4 = ' '.
EXIT.
ELSE.
Convert PDF from 132 to 255.
LOOP AT it_tline INTO wa_it_tline.
TRANSLATE wa_it_tline USING ' ~'. " Replacing space by ~
CONCATENATE wa_buffer wa_it_tline INTO wa_buffer.
ENDLOOP.
TRANSLATE wa_buffer USING '~ '. " Replacing space by ~
DO.
wa_it_record = wa_buffer.
APPEND wa_it_record TO it_record. " Appending 255 characters as a record
SHIFT wa_buffer LEFT BY 255 PLACES.
IF wa_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
REFRESH:it_objbin.
CLEAR wa_objhead.
Object with PDF.
it_objbin[] = it_record[].
DESCRIBE TABLE it_objbin LINES v_lines_bin.
*calling a function module read_text to get the text for the mail body
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = i_tid
language = i_lan
name = i_l_name
object = i_oid
IMPORTING
HEADER =
TABLES
lines = it_tdline
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8
IF sy-subrc <> 0. "#EC
ENDIF.
IF it_tdline IS NOT INITIAL.
LOOP AT it_tdline INTO wa_tdline.
wa_it_objtxt = wa_tdline-tdline.
APPEND wa_it_objtxt TO it_objtxt.
CLEAR: wa_tdline,
wa_it_objtxt.
ENDLOOP.
DESCRIBE TABLE it_objtxt LINES v_lines_txt.
ENDIF.
Pack to main body as RAW.
CLEAR wa_it_objpack-transf_bin. "Obj. to be transported not in binary form
wa_it_objpack-head_start = 1. "Start line of object header in transport packet
wa_it_objpack-head_num = 0. "Number of lines of an object header in object packet
wa_it_objpack-body_start = 1. "Start line of object contents in an object packet
wa_it_objpack-body_num = v_lines_txt. "Number of lines of the object contents in an object packet
Code for document class
wa_it_objpack-doc_type = text-004. "RAW
APPEND wa_it_objpack TO it_objpack.
Packing as PDF.
wa_it_objpack-transf_bin = c_X. " X
wa_it_objpack-head_start = 1.
wa_it_objpack-head_num = 1.
wa_it_objpack-body_start = 1.
wa_it_objpack-body_num = v_lines_bin.
wa_it_objpack-doc_type = text-001. "PDF
wa_it_objpack-obj_name = text-006. "SmartForm
CONCATENATE i_potitle '.pdf' INTO wa_it_objpack-obj_descr.
wa_it_objpack-doc_size = v_lines_bin * 255.
APPEND wa_it_objpack TO it_objpack.
Document information.
CLEAR wa_it_reclist.
e-mail receivers.
SELECT SINGLE smtp_addr FROM adr6 INTO v_mailaddr "#EC *
WHERE addrnumber = i_addrnum.
wa_it_reclist-receiver = v_mailaddr.
wa_it_reclist-express = c_X. " X
wa_it_reclist-rec_type = c_U. "U -> Internet address
APPEND wa_it_reclist TO it_reclist.
Sending Mail
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_doc_chng
put_in_outbox = c_X "X
COMMIT_WORK =
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = it_objpack
object_header = wa_objhead
contents_bin = it_objbin
contents_txt = it_objtxt
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
receivers = it_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8 .
IF sy-subrc <> 0.
sy-msgid = text-008. "some msg
sy-msgty = c_msgtype. " E
sy-msgno = 041.
sy-msgv1 = ' '.
sy-msgv2 = ' '.
sy-msgv3 = ' '.
sy-msgv4 = ' '.
EXIT.
ENDIF.
ENDIF.
ENDFUNCTION.
Regards,,
Nikita -
Is it possible to call custom designed RFC function module, apart from BAPI
Hi Friends,
1. Is it possible to call custom designed RFC function module, apart from BAPI.
2. Why we call it Adaptive RFC layer, Since every time the JCO layer updated with SAP, Why cant be dynamic.
Thanx for Ur time.
Cheers,
SamAlso check <a href="http://help.sap.com/saphelp_nw04/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm">here</a> for more information on aRFC. Here you can find why it is called adaptive.
Regards,
Christophe -
Changing option in function module
sir,
plz explain the role or importance of changing option in function module SE37hi check this example it had the usage of the changing option..
here the using will input the value to the perform and do some prosses and output some value..
PERNR TYPE P0001-PERNR Personnel Number
PLANS TYPE P0001-PLANS Position
ORGEH TYPE P0001-ORGEH Organizational Unit
DATE TYPE SY-DATUM SY-DATUM Date and time, current (applic
PLVAR TYPE PLOG-PLVAR '01' Plan Version
ISTAT TYPE PLOG-ISTAT '1' Planning Status
MANAGER TYPE ZHMSS_MANAGER Structure for manager for MSS
NO_PERNR_PLANS_ORGEH_SPEC No pernr, position or org unit specified
NO_EXIST_PLANS Position does not exist
INVALID_PLANS Position invalid
NO_EXIST_ORGEH Org unit does not exist
NO_EXIST_PERNR Personnel number does not exist
function z_get_orgunit_manager_info.
""Local interface:
*" IMPORTING
*" REFERENCE(PERNR) TYPE P0001-PERNR OPTIONAL
*" REFERENCE(PLANS) TYPE P0001-PLANS OPTIONAL
*" REFERENCE(ORGEH) TYPE P0001-ORGEH OPTIONAL
*" REFERENCE(DATE) TYPE SY-DATUM DEFAULT SY-DATUM
*" REFERENCE(PLVAR) TYPE PLOG-PLVAR DEFAULT '01'
*" REFERENCE(ISTAT) TYPE PLOG-ISTAT DEFAULT '1'
*" EXPORTING
*" REFERENCE(MANAGER) TYPE ZHMSS_MANAGER
*" EXCEPTIONS
*" NO_PERNR_PLANS_ORGEH_SPEC
*" NO_EXIST_PLANS
*" INVALID_PLANS
*" NO_EXIST_ORGEH
*" NO_EXIST_PERNR
if pernr is initial and
plans is initial and
orgeh is initial.
raise no_pernr_plans_orgeh_spec.
endif."pernr is initial and
if not pernr is initial.
if pernr cn '0123456789'.
exit.
endif.
*-- See if pernr exists
call function 'P_EMPLOYEE_CHECKEXISTENCE'
exporting
object_id = pernr
date = date
exceptions
employee_not_found = 01.
if sy-subrc ne 0.
raise no_exist_pernr.
exit.
endif.
*-- Obtain pernr position
call function 'HR_READ_INFOTYPE'
exporting
pernr = pernr
infty = c_infty_0001
begda = date
endda = date
importing
subrc = g_retcd
tables
infty_tab = i0001
exceptions
infty_not_found = 01
others = 02.
if sy-subrc eq 0.
describe table i0001 lines g_lines.
if g_lines > 0.
read table i0001 index 1.
*-- Got position now find org unit
perform zf_proc_get_om_objects tables i_objects
using c_otype_position
i0001-plans
plvar
c_rsign_a
c_relat_003
istat
date
date
c_otype_orgunit
changing g_retcd.
if g_retcd eq 0.
read table i_objects index 1.
g_orgeh = i_objects-sobid(8).
endif. "g_retcd eq 0.
endif. "g_lines > 0. for i0001
endif. "sy-subrc eq 0 hr_read_infotype
elseif not plans is initial.
if plans co '9' or
plans co '0'.
raise invalid_plans.
exit.
endif.
call function 'RH_READ_OBJECT'
exporting
plvar = plvar
otype = c_otype_position
objid = plans
istat = istat
begda = date
endda = date
langu = sy-langu
exceptions
not_found = 1
others = 2.
if sy-subrc <> 0.
raise no_exist_plans.
exit.
endif.
*-- Find org unit
perform zf_proc_get_om_objects tables i_objects
using c_otype_position
plans
plvar
c_rsign_a
c_relat_003
istat
date
date
c_otype_orgunit
changing g_retcd.
if g_retcd eq 0.
read table i_objects index 1.
g_orgeh = i_objects-sobid(8).
endif."g_retcd eq 0.
elseif not orgeh is initial.
call function 'RH_READ_OBJECT'
exporting
plvar = plvar
otype = c_otype_orgunit
objid = orgeh
istat = istat
begda = date
endda = date
langu = sy-langu
CHECK_STRU_AUTH = space "ASikaria, 10/15
exceptions
not_found = 1
others = 2.
if sy-subrc <> 0.
raise no_exist_orgeh.
exit.
endif.
g_orgeh = orgeh.
endif. "not pernr is initial.
if not g_orgeh is initial.
manager-orgeh = g_orgeh.
*-- Got org unit now find manager
perform zf_proc_get_om_objects tables i_objects
using c_otype_orgunit
manager-orgeh
plvar
c_rsign_b
c_relat_012
istat
date
date
c_otype_position
changing g_retcd.
if g_retcd eq 0.
read table i_objects index 1.
if sy-subrc eq 0.
manager-plans = i_objects-sobid.
call function 'Z_GET_POSITION_HOLDER'
exporting
plans = manager-plans
plvar = plvar
istat = istat
date = date
importing
pernr = manager-pernr
exceptions
position_not_exist = 1
position_invalid = 2
others = 3.
if sy-subrc <> 0.
clear: manager-pernr.
endif.
if not manager-pernr is initial.
*- BOC RTDK902962
*-- Obtained formatted name
clear: i0001.
refresh: i0001.
call function 'HR_READ_INFOTYPE'
exporting
pernr = manager-pernr
infty = c_infty_0001
begda = date
endda = date
importing
subrc = g_retcd
tables
infty_tab = i0001
exceptions
infty_not_found = 1
others = 2.
if sy-subrc eq 0.
read table i0001 index 1.
if sy-subrc eq 0.
manager-ename = i0001-ename.
endif.
endif.
*- EOC RTDK902962
*-- Obtain pernr information
*- Get 0002 data
clear: i0002.
refresh: i0002.
call function 'HR_READ_INFOTYPE'
exporting
pernr = manager-pernr
infty = c_infty_0002
begda = date
endda = date
importing
subrc = g_retcd
tables
infty_tab = i0002
exceptions
infty_not_found = 1
others = 2.
if sy-subrc eq 0.
read table i0002 index 1.
if sy-subrc eq 0.
manager-inits = i0002-inits.
manager-vorna = i0002-vorna.
manager-nachn = i0002-nachn.
manager-midnm = i0002-midnm.
endif.
endif.
*- Get 0105 data
clear: i0105.
refresh: i0105.
call function 'HR_READ_INFOTYPE'
exporting
pernr = manager-pernr
infty = c_infty_0105
begda = date
endda = date
importing
subrc = g_retcd
tables
infty_tab = i0105
exceptions
infty_not_found = 1
others = 2.
if sy-subrc eq 0.
describe table i0105 lines g_lines.
if g_lines > 0.
*- SAP usrid
loop at i0105 where subty = c_0105_usrid_subty.
manager-usrid = i0105-usrid.
endloop.
*- Email address
*// not sure where email is going to be stored but assume it is subtype
*// 0010
loop at i0105 where subty = c_0105_email_subty.
manager-email = i0105-usrid_long.
endloop.
endif. "g_lines > 0
endif."sy-subrc eq 0.
endif. "not manager-pernr is initial.
endif. "sy-subrc eq 0.
endif."g_retcd eq 0.
endif. "not g_orgeh is initial.
endfunction.
zposition holder
PLANS TYPE PLOG-OBJID Object ID
PLVAR TYPE PLOG-PLVAR '01' Plan Version
ISTAT TYPE PLOG-ISTAT '1' Planning Status
DATE TYPE SY-DATUM SY-DATUM Date and time, current (application server) date
PERNR TYPE P0001-PERNR Personnel Number
POSITION_NOT_EXIST Position does not exist
POSITION_INVALID Invalid position
function z_get_position_holder.
""Local interface:
*" IMPORTING
*" REFERENCE(PLANS) TYPE PLOG-OBJID
*" REFERENCE(PLVAR) TYPE PLOG-PLVAR DEFAULT '01'
*" REFERENCE(ISTAT) TYPE PLOG-ISTAT DEFAULT '1'
*" REFERENCE(DATE) TYPE SY-DATUM DEFAULT SY-DATUM
*" EXPORTING
*" REFERENCE(PERNR) TYPE P0001-PERNR
*" EXCEPTIONS
*" POSITION_NOT_EXIST
*" POSITION_INVALID
if plans cn '0123456789'.
raise position_invalid.
endif."plans cn '0123456789'.
if plans co '9'. "default position
exit.
endif.
call function 'RH_READ_OBJECT'
exporting
plvar = plvar
otype = c_otype_position
objid = plans
begda = date
endda = date
exceptions
not_found = 01
others = 02.
if sy-subrc ne 0.
raise position_not_exist.
else.
perform zf_proc_get_om_objects tables i_objects
using c_otype_position
plans
plvar
c_rsign_a
c_relat_008
istat
date
date
c_otype_pernr
changing g_retcd.
if g_retcd eq 0.
sort i_objects by begda descending. "get earliest rec
read table i_objects index 1.
if sy-subrc eq 0.
pernr = i_objects-sobid(8).
endif.
endif. "g_retcd eq 0.
endif. "sy-subrc ne 0.
endfunction.
regards,
venkat -
Need of Changing Parameters in Function Module
Hi All,
Why we need sepearte Import and Export parameters in Function Module if the Changing Parameters
acts as both import and export parameters.
What is the use of using Changing Parametrs in Function Module.
Thanks in advance.
SundaresanHi,
EXPORT PARAMETERS: When u r passing some value to the function, and the parameter will not be changed in the function, we use export parameter. Example: u pass parameter (a : 10) to a function, even after the function has been executed, value of a will be 10 only.
IMPORT PARAMETER: When u require some value back from the function. u do not provide any initial value to the function. Example : u pass a parameter (b: <blank>) to the function, function returns the same import parameter as (b : 20).
CHANGING PARAMETER: When u pass some value to the function and that function may change that value inside function, then changing parameters are used. Example: u pass parameter ( c: 30) to the function as changing parameter and function modifies this variable and return ( c: 50).
Reward points if helpful.
Thanks & Regards
- Rishika Bawa -
How can I make a copy of the FAQs module or filter on language?
Hi,
is it possible to make a copy of the FAQs module? I need to have FAQs in different languages.
I can add event, photo, news ands media modules but not a new FAQs module.
I also found that you can add a category and display the FAQs with the filter: cr or individual filter. But where do I add the category name to filter on?Solved!
Quick solution: the ID is used for the category name, so I need to do a time consuming process to find the id.
Result:
{module_faq,c,19227,,ajax,}
Great! -
Changing delivered class/function module.
Hello All,
Can I change delivered ABAP class "CL_HRMSS_RECRUITING_WF" (add functionality to a method "CREATENBOBJECT"). Also can I change a delivered function module "HRWPC_EREC_CREATE_EREC_OBJECT" .
My original problem.
I am trying to pass the my object (with few attributes read from tables) using CREATENBOBJECT as a parameter to the function module "HRWPC_EREC_CREATE_EREC_OBJECT" (CREATENBOBJECT calls HRWPC_EREC_CREATE_EREC_OBJECT).
The "CREATENBOBJECT" is called as an activity in the workflow (personnel requisition workflow).
Kind regards.
SrinivasHi Srinivas,
Using SE24 to copy CL_HRMSS_RECRUITING_WF to say Z_CL_HRMSS_RECRUITING_WF
Copy Class:
Path:
1> Goto SE24
2> Type in CL_HRMSS_RECRUITING_WF in screen field Object Type
Menu path
3> Object Type/More Functions/Copy. Here you mention your class name (ex: Z_CL_HRMSS_RECRUITING_WF)
Copy FM:
Path
1> SE37
2> Type in HRWPC_EREC_CREATE_EREC_OBJECT in screen field 'Function Module'
Menu Path
3> Goto Function Module/ Other Functions /Copy. TYpe in your FM say Z_HRWPC_EREC_CREATE_EREC_OBJECT
I hope this solves your problem of copying. Herewith make your changes with these new objects.
Please reward points if it has satisfied your requirement.
AKJ -
Control design and simulation module
Hi,
I am new to Labview and i am trying to work on Control System design. I have downloaded and installed the Evaluation Module of Control Design and Simulation Module. The problem I am facing witht this is its not showing any control fuctions in functions Palette. While installing it said its installing only control design and simulation assistant. Please, can anyone help with this.
I am actually looking at this module to implement Sliding mode control for non linear systems. I would like to know if there are any examples to implement this??
Thank You.Hello
The problem is the following. The version of LabVIEW that you are using does not match the version of the evaluation version of LabVIEW Control Design and Simulation Module (CD&SIM). If that happens, the installer will not select the support files for your LabVIEW. If you download LabVIEW 2011, then you must install CD&SIM 2011.
Now, the module in the current version does not have an example with sliding mode control. But using this module, you can easily implement the algorithms and simulation its result using the Control and Simulation Loop.
Hope this helps.
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments -
Need to create pdf using adobe live cycle designer using function module
Hi,
Needed some help regarding creating a pdf at the backend. I will have function module in the backend which contains all my data and also an image represented as a Base64 encoded string.
What i need to do is pass this data onto adobe live cycle designer fromthe function module and create a pdf at a particular location. Please let me know how can we achieve this. if there is any function module to do the same. how does the function module i have defined call the adobe live cycle designer transaction or module to create a pdf. i am not an abaper so dont have much idea about the details.
Thanks.
Regards
Srikumar VHi,
I will try to find the standard function module. If there is no such standard function module, then we need to create a custom function module.
Check this link:
[https://www.sdn.sap.com/irj/sdn/adobe]
Points that you can note:
1) Adobe Interactive forms can be created & connected to SAP database using ABAP Workbench, through WebDynpro.
2) Also adobe Interactive forms can be created & connected to SAP database using Transaction SFP.
3) And for both of the above 'Adobe Live cycle Designer' should be installed on the front end. -
Is there a FAQ module in Muse CS6?
Hi,
I am looking for a FAQ module that I can use in Adobe Muse? Is there something like that or can I only apply it after I published my site on Business Catalyst?
Thank YouUnfortunately there is no FAQ module so far. You can use BC FAQ module after publishing your site.
-
Custom Bootstrap accordion for FAQ module
Hi I am trying to set up a Custom Twitter Bootstrap javascript accordion for FAQ module.
Nearly there, yet only one of the faqs works in that you click on the question and the answer opens, clicking on any other question opens up the same question
I've customed Faq list layout with this code:
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#1">
{tag_question_nolink} </a>
</h4>
</div>
<div id="1" class="panel-collapse collapse">
<div class="panel-body">
{tag_answer}
</div>
</div>
</div>
I presume I need to amend the code where it has number 1 as only working for one faq but not sure how?
Any help GREATLY appreciated.Hi thanks for replying, yes definately agree there should be no short cuts, I've had a good read through the docs, tried may things but all in vain so just stuck with coding as normal without the BC FAQ integration, It is obvious the problem is the requirement for each collapse question and answer to have their own assigned unique ID's, yet I cannot seem to work out how to dynamically create a unique ID for each via the FAQ Module Template (list Layout), thats why only one of them worked with my code.
Anyway this works without the FAQ module integration but defeats the object really: http://aon-lafarge.businesscatalyst.com/FAQs.html
I'm frustrated as I managed to set up a custom FAQ accordion for a different site using jQuery UI Accordion control integrating with the FAQ module,but this did not require unique ids to work, please see:
http://www.royalmintmuseum.org.uk/about-us/faqs/index.html
I was hoping to do the same with the Bootstrap collapse/accordian,but defeated this time, I will however keep trying... -
" Changed " Design Status after deployment involving two runtime reposiory
Hello everybody,
I'm experiencing severe metadata management problems in OWB 10.1.0.2.0.
When I deploy a mapping into the production runtime repository , it appears with a "changed" design status when I switch back to the development runtime repository.
If I can't rely on the design status it will be a nightmare to manage mapping delivery !
Anyone can share his experience about managing multiple runtime repository ?
Best regards,
Franck.Hi Franck
Looking at your single design repository that deploys to two runtime repositories; I would say when you switch the runtime, it updates internally the default connected runtime for the mapping. As you will remember you can deploy straight from within the design browser if you have previously set the deploy mode. It will be updating this.
Not much you can do, except create a different design repository. It is somewhat poor I know. I raised a number of TARS on this myself. Perhaps they improved it in Paris (but I somehow doubt it.) Multiple database deployment configuration should be in there but so should real user based functional security and versioning(via the frontend without script repository hacks).
Too sum up, nearly all sites use the multiple design repository approach.
Regards,
Richard Harrison -
How to change designer workflow status manually?
Hi All,
I need to change designer workflow status manually. I tried to edit with datasheet view but couldn't. How to do this? thanks in advance!Hi Sam,
According to your post, my understanding is that you wanted to change the workflow status manully in SharePoint Designer.
There is no out of the box way to accomplish this with SharePoint, and we also can not achieve it with SharePoint Designer.
We can use the Visual Studio to custom the status.
In SharePoint object model the status of the workflow is modeled through the SPWorkflowStatus enumeration. Each status value is an integer that represents its place in a zero-based ordered list.
The status values can be extended through the StatusColumn element in the ExtendedStatusColumnValues section of the Workflow.xml file.
More information: http://blog.naikoo.com/?p=25
http://sharepoint.ginni.me/2010/01/setting-workflow-status-to-custom.html
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support
Maybe you are looking for
-
Android 2.1 firmware version ARCv11 processor >17 mb space free I've looked in the app store, tried the online app store, tried the image code, and even tried installing to the SD card. If anyone has successfully installed, please respond. If not, is
-
Install of Oracle SOA Suite 10.1.3.1 Developer Preview fails
My install fails every time (tried 4 now) at configuration of Oracle Process Management and Notification... Here is the install log, I've left it in an 'In Progress' state for about 12 hours... deploy.restoreServState: [stopwatch] [deploy.time: 1:11.
-
Where can i complaint about a Developer imposture for a third party app that i have already purchased?
-
I'm missing something fairly obvious here. I've received an mp3 file as an attachment. It's 1mb, and when I try to open it I get a message stating "Attachment size exceeds server value." My thought is to transfer it to my SD card, but I'm not havi
-
Since 3 weeks printing on Fine Art Paper Black and White Image, I get a purple hue on all B
Cant print using Photoshop CC, Photoshop SC6 and Lightroom profiles using Matt Ink MK on Fine Art Paper. I tried Printer Epson 4900 and Epson 2880. Always having a Purple Hue over the B and W. If I use PK Gloss Black no problem..