In cl_crm_email_utility, what values to define Header Field: Reply-To
I'm working with the Web UI component BT126H_MAIL. When i click [Send], CL_CRM_SEND_SCREEN->ON_SEND fills the attributes of CL_CRM_EMAIL_DATA (FROM, TO, COPY, BCC, SUBJECT, BODY, HEADER_FIELDS etc...) and the calls CL_CRM_EMAIL_UTILITY->send_email to send out the email.
I want FROM to be the email address of my corporate service representative, but I want to set the MIME Header field Reply-To to the email of my field service rep thats assigned.
CL_CRM_EMAIL_DATA has attributes for FROM, TO, COPY and BCC, but has no attribute for Reply-To. Is there a way I can set the MIME Header Field: Reply-To? Can I do this with the HEADER_FIELDS attribute? If-so, could you describe that data I should populate HEADER_FIELDS with?
Attributes of CL_CRM_EMAIL_DATA
TO
COPY
BCC
FROM
SUBJECT
SEND_DATE
SENSITIVITY
IMPORTANCE
MAIL_ID
HEADER_FIELDS
BODY
SETTINGS
SUBJECT_CHARSET
thank you in advance
sandy
Good idea, but that puts me back a square 1.
The business wants the email address on the FROM to be corporate sales/service rep to ensure that it gets to the customer and doesn't get filter out in some spam filter. Our corporate domain is on the whitelist and gets perferred treatment. Unfortunately our field sales/service reps do not have a corporate email account. Their email domains vary with each dealership and aren't on the whitelist.
So in BT126H_EMAIL I still need to set the FROM to be the email address of my corporate sales/service rep.
Is there a way in BT126H_MAIL that I can set the MIME Header Data of Reply-to to be the email address of my field sales/serivce rep? If so, does anyone have an example on how?
Similar Messages
-
What values in EBM Header maps to error notification entry in AIA console
Hi Guys,
Can any one tell me which values of EBM Header maps to error notification entry in AIA console for sending notification to user created ?
What elements in EBM Header maps to this fields *(SYSTEM CODE, ERROR CODE, SERVICE NAME, and PROCESS_NAME)* in Error notification in AIA Console for sending notification to a particular user other than AIAIntegrationAdmin?Hi Gerhard,
I tried to send notification using feature available in AIA FP whenever remote and binding fault happened to user SysAdmin creatred in Admin console under user & groups.
I have done the below configuration
1. Made entry in AIA console under error notification (Error code : blank service name: SampleBpel system code : sys process name: SampleBpel Role: SysAdmin FYIRole: SysAdmin).
2. configured email driver properties and work flow notification properties.
3. made entry in http://localhost:7001/sdpmessaging/userprefs-ui/ with user logged in SysAdmin and entered mail-id.
4. Populated EBM Header with the below values
<part name="AIAFault">
<Fault>
<EBMReference>
<BusinessScopeReference>
<InstanceID>SampleBpel</InstanceID>
</BusinessScopeReference>
<SenderReference>
<ID>SYS</ID>
<ObjectCrossReference/>
<Application/>
</SenderReference>
</EBMReference>
<B2BMReference/>
<FaultNotification>
<FaultMessage>
<Code/>
<Text></Text>
<Stack></Stack>
<IntermediateMessageHop/>
</FaultMessage>
<FaultingService>
<ID>SampleBpel</ID>
<ImplementationCode>BPEL</ImplementationCode>
<InstanceID>10011</InstanceID>
<ExecutionContextID>480626c0ac4cb5bd:-64972e88:13bb690ac70:-8000-0000000000010746</ExecutionContextID>
</FaultingService>
</FaultNotification>
</Fault>
</part>
5.Included fault-policies and fault-bindings.xml in project.
when testing the project with negative scenario generates the remote fault. I am able to see fault data i.e EBM Header in AIAReadJMSNotificationProcess.
But it is unable to send notification for the user created (SysAdmin).
It is showing the default user values
Message ID (Recipient) b89bc86bc0a805f10110c4aa3d93719f (USER:AIAIntegrationAdmin)
Operation Send
Overall Status Failed
Status Code ENGINE_PROCESSING_FAILURE
Status Message User could not be resolved to device addresses. Please see the log file for details.
Timestamp Dec 20, 2012 7:28:56 PM IST
Gateway Message ID
Sender
Recipient USER:AIAIntegrationAdmin
Driver Instance Name
Engine /Farm_base_domain/base_domain/AdminServer/usermessagingserver
Application Name soa-infra
Application Instance Name
It is unable to send notification to the user SysAdmin
Can you provide solution how can i send notification to user created (SysAdmin)?
what are the EBM Header values that need to be populated for sending notification to user created (SysAdmin)? -
Http Reciver Adapter Header fields
Hi all,
I have a requirement where the receiver is http adapter. I have some fields/structure to be added to the http request. One way i know is to generate entire envelope in the map and then send as request having header and body both.
Is there any option in com channel to be used to populate the header fields. I can see "Define Header fields" but do not know how to use it.
Any help will be really appriciated.
Thanks
-KulwantHi Kulwant,
> Is there any option in com channel to be used to populate the header fields. I can see "Define Header fields" but do not know how to use it.
Yes, You can easily populate Header fields in mapping using dynamic configuration. For more details, refer to /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping .
Regards,
Sunil Chandra -
Dear Forum Members,
I wanted to clarify that what controls the document header field status (other than document type to controll documnet date, posting date, company code, ledger group, doc type, exchange currency, transalation date to make suppress, required, optional). noramlly FSV will control only line item fields.
Thanks,
Shekar.Hi
Friend,
1. Document Type-Controls--Document no ranges
2. Document Type-controles-Document Headier
3. Document Typecontrol--Line item of the document
Your Requirement;
1. Document Header -
controls---Field status
1. Acount Groups-Controls-No ranges
2. Accounts Groups-Controls-Field Status
1. GL Controls-controls-Field status
1. Field statusControls-Cost centers
2. Field status -controls-Internal orders
3. Field status -controls-Profitability segments
Thanks
Anil -
Limiting Header Fields for Parking / Posting
Is there a way through configuration to prevent a user from providing values in specified header fields? Please note I am not referring to the ability to change header fields after they have been posted which is part of OB32 change rules configuration. I need a way to limit the fields for posting BEFORE the system parks / posts it in FI.
Go to transaction SHD0 and maintain the relevant fields which you dont require as invisible in the screen layout for posting for the relevant transaction. Also check FB00 for editing option to suppress certain fields while entering document.
Thanks and regards
Kedar -
What is the initial value for a numeric field ??
Can someone tell me what the INITIAL VALUE FOR A NUMERIC FIELD is ?? Thank you
Rod.Using the following...
class MyClass
int myvar1; // Default initial value
int myvar2 = 3; // Default initial value and default value
MyOtherClass myclass1; // Default initial value
void doit()
int mylocal1; // No value
MyOtherClass myclass2; // No value
All number member variables, like myvar1 start off with andefault initial value which is zero. For booleans this is false. Object reference variables, like myclass1, have a null value.
All local numeric variables are considered undefined. So mylocal1 and myclass2 are undefined. Before you can use them you must explicitly provide a value.
Finally note that myvar2 will have two values during class instantiation. Initially it will have a value of zero. Sometime later it will have the value of 3. (When that happens is very definitely outside the scope of what this forum covers. If you want to know then ask in the advanced forum.) -
Hi friends,
I make one header alv ok I want and take one variable count in my program so I want to display its value in ALV HEADER
Total Target Qty:
Total EMP. Efficiency
Total Machine Effi.
I take may header like this and pass thre text here.ok Now I want to display value of this three.
Total Trget Qty: 2.23 like that.
CLEAR st_line.
st_line-typ = 'S'.
CONCATENATE 'Total Target Qty: ' count ' ' INTO st_line-info.
APPEND st_line TO t_list_top_of_page.
So I took like this in header count is my variable in which I take value.
So how can we pass the value in ALV Header please tell me.
its urgent so.
Thnaks in Advance.
Prashant.HI DHWANI,
*& Report ZPP_RE_EMP_DETAILS
*& This Report is used to check the Employee Performance And Used Machine Quantity
*& Rqueirement By Santhosh
*& Developed By Prashant On Date 01.02.2008
*& Created By: Prashant Brahmbhatt
*& Creation Date: 20080201
*& Module: PP (Production & Plannig)
*& Changed By Changed Date Reason
REPORT zpp_re_emp_details.
TABLES:zpplan.
TYPE-POOLS:slis.
DATA:BEGIN OF itab OCCURS 0,
zdate LIKE zpplan-zdate,
werks LIKE zpplan-werks,
mname LIKE zpplan-mname,
shftin LIKE zpplan-shftin,
iserh LIKE zpplan-iserh,
quaty LIKE zpplan-quaty,
plan_qty LIKE zpplan-plan_qty,
act_prod LIKE zpplan-act_prod,
temp TYPE c,
tar_qty(10) TYPE c,
ach_qty(10) TYPE c,
mch_eff(10) TYPE c,
a(10) TYPE c,
END OF itab.
DATA:BEGIN OF temp OCCURS 0,
zdate LIKE zpplan-zdate,
werks LIKE zpplan-werks,
mname LIKE zpplan-mname,
shftin LIKE zpplan-shftin,
iserh LIKE zpplan-iserh,
quaty LIKE zpplan-quaty,
plan_qty LIKE zpplan-plan_qty,
act_prod LIKE zpplan-act_prod,
temp TYPE c,
tar_qty(10) TYPE c,
ach_qty(10) TYPE c,
mch_eff(10) TYPE c,
a(10) TYPE c,
END OF temp.
DATA:BEGIN OF itab_t OCCURS 0,
zdate LIKE zpplan-zdate,
werks LIKE zpplan-werks,
mname LIKE zpplan-mname,
shftin LIKE zpplan-shftin,
iserh LIKE zpplan-iserh,
quaty LIKE zpplan-quaty,
plan_qty LIKE zpplan-plan_qty,
act_prod LIKE zpplan-act_prod,
temp TYPE c,
tar_qty(10) TYPE c,
ach_qty(10) TYPE c,
mch_eff(10) TYPE c,
a(10) TYPE c,
END OF itab_t.
DATA:BEGIN OF itab1 OCCURS 0,
zdate LIKE zpplan-zdate,
werks LIKE zpplan-werks,
mname LIKE zpplan-mname,
shftin LIKE zpplan-shftin,
act_prod LIKE zpplan-act_prod,
quaty LIKE zpplan-quaty,
planned LIKE zpplan-planned,
iserh LIKE zpplan-iserh,
temp TYPE c,
tar_qty TYPE p DECIMALS 2,
ach_qty TYPE p DECIMALS 2,
mch_eff TYPE p DECIMALS 2,
END OF itab1.
DATA: wa LIKE itab1.
DATA:BEGIN OF itab2 OCCURS 0,
zdate LIKE zpplan-zdate,
werks LIKE zpplan-werks,
mname LIKE zpplan-mname,
shftin LIKE zpplan-shftin,
act_prod LIKE zpplan-act_prod,
quaty LIKE zpplan-quaty,
planned LIKE zpplan-planned,
iserh LIKE zpplan-iserh,
temp TYPE c,
tar_qty(10) TYPE p DECIMALS 2,
ach_qty(10) TYPE p DECIMALS 2,
mch_eff(10) TYPE p DECIMALS 2,
count(10) TYPE c,
END OF itab2.
DATA: a(10) TYPE c,
b(10) TYPE c,
count(10) TYPE c,
count1(10) TYPE c.
c(2) TYPE p DECIMALS 2.
DATA:t_fcat TYPE slis_t_fieldcat_alv,
t_events TYPE slis_t_event,
t_list_top_of_page TYPE slis_t_listheader,
t_list_end_of_page TYPE slis_t_listheader.
CONSTANTS:c_formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.
CONSTANTS:c_formname_end_of_page TYPE slis_formname VALUE 'END_OF_PAGE'.
DATA: st_line TYPE slis_listheader.
SELECTION-SCREEN
SELECTION-SCREEN:BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
*PARAMETERS:shftin LIKE zpplan-shftin.
SELECT-OPTIONS:date FOR zpplan-zdate,
shftin FOR zpplan-shftin,
werks FOR zpplan-werks.
SELECTION-SCREEN:END OF BLOCK blk1.
ALV CALL
INITIALIZATION.
PERFORM build_fieldcatalog USING t_fcat .
PERFORM event_call.
PERFORM head_built USING t_events.
START-OF-SELECTION.
PERFORM data_retrieval.
PERFORM display_alv.
*& Form build_fieldcatalog
text
-->P_T_FCAT text
FORM build_fieldcatalog USING temp_fcat TYPE slis_t_fieldcat_alv.
DATA:w_fcat TYPE slis_fieldcat_alv.
w_fcat-tabname = 'ITAB2'.
w_fcat-fieldname = 'MNAME'.
w_fcat-seltext_m = 'Machine Name'.
APPEND w_fcat TO temp_fcat.
CLEAR w_fcat.
w_fcat-tabname = 'ITAB2'.
w_fcat-fieldname = 'SHFTIN'.
w_fcat-seltext_m = 'Emp No'.
APPEND w_fcat TO temp_fcat.
CLEAR w_fcat.
w_fcat-tabname = 'ITAB2'.
w_fcat-fieldname = 'ZDATE'.
w_fcat-seltext_m = 'Pos Date'.
APPEND w_fcat TO temp_fcat.
CLEAR w_fcat.
w_fcat-tabname = 'ITAB2'.
w_fcat-fieldname = 'QUATY'.
w_fcat-seltext_m = 'Quantity'.
APPEND w_fcat TO temp_fcat.
CLEAR w_fcat.
w_fcat-tabname = 'ITAB2'.
w_fcat-fieldname = 'ACT_PROD'.
w_fcat-seltext_m = 'Actual Quantity'.
APPEND w_fcat TO temp_fcat.
CLEAR w_fcat.
w_fcat-tabname = 'ITAB2'.
w_fcat-fieldname = 'ISERH'.
w_fcat-seltext_m = 'Down Time'.
APPEND w_fcat TO temp_fcat.
CLEAR w_fcat.
w_fcat-tabname = 'ITAB2'.
w_fcat-fieldname = 'TAR_QTY'.
w_fcat-seltext_m = 'Target Qty.'.
APPEND w_fcat TO temp_fcat.
CLEAR w_fcat.
w_fcat-tabname = 'ITAB2'.
w_fcat-fieldname = 'ACH_QTY'.
w_fcat-seltext_m = 'EMP Effec.'.
APPEND w_fcat TO temp_fcat.
CLEAR w_fcat.
w_fcat-tabname = 'ITAB2'.
w_fcat-fieldname = 'MCH_EFF'.
w_fcat-seltext_m = 'Machine Effec.'.
APPEND w_fcat TO temp_fcat.
CLEAR w_fcat.
w_fcat-tabname = 'ITAB2'.
w_fcat-fieldname = 'COUNT'.
w_fcat-seltext_m = 'Machine Effec.'.
APPEND w_fcat TO temp_fcat.
CLEAR w_fcat.
ENDFORM. " build_fieldcatalog
*& Form event_call
text
--> p1 text
<-- p2 text
FORM event_call .
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = t_events
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " event_call
*& Form data_retrieval
text
--> p1 text
<-- p2 text
FORM data_retrieval .
IF shftin <> ''.
SELECT zdate werks mname shftin INTO CORRESPONDING FIELDS OF TABLE
temp FROM zpplan
WHERE shftin IN shftin
AND zdate IN date
AND werks IN werks.
ELSE.
SELECT zdate werks mname INTO CORRESPONDING FIELDS OF TABLE
temp FROM zpplan
WHERE zdate IN date
AND werks IN werks.
ENDIF.
SORT temp BY mname zdate shftin.
DELETE ADJACENT DUPLICATES FROM temp.
SORT temp BY mname shftin zdate.
DELETE ADJACENT DUPLICATES FROM temp.
APPEND temp.
LOOP AT temp.
SELECT zdate werks mname shftin act_prod quaty iserh FROM zpplan INTO CORRESPONDING FIELDS OF TABLE itab_t
WHERE mname = temp-mname
AND zdate = temp-zdate
AND werks = temp-werks.
LOOP AT itab_t.
MOVE-CORRESPONDING itab_t TO itab.
APPEND itab.
ENDLOOP.
ENDLOOP.
*******************************************8
SELECT zdate werks mname shftin act_prod quaty iserh FROM zpplan INTO CORRESPONDING FIELDS OF TABLE itab
FOR ALL ENTRIES IN temp
WHERE zdate = temp-zdate AND
werks = temp-werks
AND mname = temp-mname.
SELECT zdate werks mname shftin act_prod quaty iserh FROM zpplan INTO CORRESPONDING FIELDS OF TABLE itab
WHERE zdate IN date AND
werks IN werks AND
shftin = shftin.
SORT itab BY mname zdate.
DELETE ADJACENT DUPLICATES FROM itab.
LOOP AT itab.
MOVE-CORRESPONDING itab TO itab1.
COLLECT itab1.
ENDLOOP.
LOOP AT itab1.
itab1-tar_qty = itab1-tar_qty + ( itab1-quaty / 3 ).
IF ( itab1-tar_qty NE 0 ).
itab1-ach_qty = ( itab1-ach_qty + itab1-act_prod / itab1-tar_qty ) * 100.
ELSE.
itab1-ach_qty = 0 * 100.
ENDIF.
itab1-mch_eff = ( ( 8 - itab1-iserh ) / 8 ) * 100.
MODIFY itab1 TRANSPORTING tar_qty ach_qty mch_eff.
ENDLOOP.
LOOP AT itab1.
READ TABLE itab1 INDEX 1 INTO wa.
IF itab1-mname = wa-mname.
itab1-zdate = wa-zdate.
itab2-shftin = itab1-shftin.
itab2-mname = itab1-mname.
itab2-zdate = itab1-zdate.
itab2-quaty = itab2-quaty + itab1-quaty.
itab2-act_prod = itab2-act_prod + itab1-act_prod.
itab2-iserh = itab2-iserh + itab1-iserh.
itab2-tar_qty = itab2-tar_qty + itab1-tar_qty.
itab2-ach_qty = itab2-ach_qty + itab1-ach_qty.
itab2-mch_eff = itab2-mch_eff + itab1-mch_eff.
ELSE.
APPEND itab2.
CLEAR itab2.
MOVE-CORRESPONDING itab1 TO wa.
itab2-shftin = itab1-shftin.
itab2-mname = itab1-mname.
itab2-zdate = itab1-zdate.
itab2-quaty = itab2-quaty + itab1-quaty.
itab2-act_prod = itab2-act_prod + itab1-act_prod.
itab2-iserh = itab2-iserh + itab1-iserh.
itab2-tar_qty = itab2-tar_qty + itab1-tar_qty.
itab2-ach_qty = itab2-ach_qty + itab1-ach_qty.
itab2-mch_eff = itab2-mch_eff + itab1-mch_eff.
ENDIF.
ENDLOOP.
APPEND itab2.
LOOP AT itab2.
IF ( itab2-tar_qty NE 0 ).
itab2-ach_qty = ( itab2-ach_qty + itab2-act_prod / itab2-tar_qty(10) ) * 100.
ELSE.
itab2-ach_qty = 0 * 100.
ENDIF.
itab2-mch_eff = ( ( 8 - itab2-iserh ) / 8 ) * 100.
MODIFY itab2 TRANSPORTING tar_qty ach_qty mch_eff.
ENDLOOP.
APPEND itab2.
LOOP AT itab2.
count = sy-tfill.
a = a + itab2-tar_qty.
b = b + itab2-ach_qty.
ENDLOOP.
CLEAR itab2.
itab2-tar_qty = a.
itab2-ach_qty = b.
APPEND itab2.
CLEAR itab2.
count = a / sy-tfill.
count1 = b / sy-tfill.
itab2-tar_qty = count.
itab2-ach_qty = count1.
itab2-tar_qty = count.
APPEND itab2.
ENDFORM. " data_retrieval
*& Form head_built
text
-->P_T_EVE text
FORM head_built USING p_t_eve TYPE slis_t_event.
count = a / sy-tfill.
DATA: ls_event TYPE slis_alv_event.
REFRESH t_list_top_of_page.
READ TABLE p_t_eve WITH KEY name = slis_ev_top_of_page INTO ls_event.
IF sy-subrc = 0.
MOVE c_formname_top_of_page TO ls_event-form.
MODIFY p_t_eve FROM ls_event INDEX sy-tabix.
ENDIF.
CLEAR st_line.
st_line-typ = 'S'.
st_line-key = 'Total Target Qty: '.
st_line-info = count.
APPEND st_line TO t_list_top_of_page.
CLEAR st_line.
st_line-typ = 'S'.
st_line-info = count.
CONCATENATE 'Avg Target Qty.' count ' ' INTO st_line-info.
APPEND st_line TO t_list_top_of_page.
CLEAR st_line.
st_line-typ = 'S'.
st_line-key = 'Avg.EMP Efficiency: '.
st_line-info = count1.
APPEND st_line TO t_list_top_of_page.
CLEAR st_line.
st_line-typ = 'S'.
st_line-key = 'Avg. Machine Efficincy: '.
st_line-info = count.
APPEND st_line TO t_list_top_of_page.
REFRESH t_list_end_of_page.
READ TABLE p_t_eve WITH KEY name = slis_ev_end_of_list INTO ls_event.
IF sy-subrc = 0.
MOVE c_formname_end_of_page TO ls_event-form.
MODIFY p_t_eve FROM ls_event INDEX sy-tabix.
ENDIF.
CLEAR st_line.
st_line-typ = 'S'.
CONCATENATE 'END OF PAGE' ' ' INTO st_line-info.
APPEND st_line TO t_list_end_of_page.
ENDFORM. " head_built
*& Form top-of-page
text
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_list_top_of_page
I_LOGO =
I_END_OF_LIST_GRID =
I_ALV_FORM =
ENDFORM. "top-of-page
*& Form display_alv
text
--> p1 text
<-- p2 text
FORM display_alv .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = 'ZPP_RE_EMP_DETAILS'
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
i_background_id = 'ALV_BACKGROUND'
i_grid_title = 'EMP Information'
I_GRID_SETTINGS =
IS_LAYOUT =
it_fieldcat = t_fcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
it_events = t_events
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = itab2
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " display_alv -
How to add a user defined HTTP header field?
Hi, everyone!
I want to add a user defined HTTP header field to a HTTP
response header.
I use the following statements in testHeader.jsp
response.addHeader("myheader", "123");
response.sendRedirect("middleHeader.jsp");
in middleHeader.jsp,
out.print(request.getHeader("myheader"));
But the output in middleHeader.jsp is null!
How to add a user defined HTTP header field to a HTTP
response header? Are there some sample codes?
Cheers,
Georgethe send redirect actually creates a new request (through the client) and thus a new response
thus the headers you set in the response are gone for the next request/response
You can try servletDispatcher.forward -
Multi Value User Defined field on OIM user form
Hi Everyone,
I have a requirement where i need to assign multiple resources to user as per access policy. These resources should be assign by virtue of some role (custom attribute as of now). The specific requirement is that one user may have multiple roles (and hence resources) and all these values should capture in any user defined field. As the requirement contains multiple Roles so we have to create multi-value user defined field for User form to capture all these role values under single attribute. Does OIM provides any such multi-value field OOTB (lookup, drop down--any customize way we can make them multivalue)?He's right. Multi Valued attributes on the User Profile are not available in OIM. If you want to do this, and you have a finite number of possible roles, you can create UDFs for each and map a checkbox or something to it if the user has that value. Then base your acccess policies off those.
-Kevin -
When I try to access iTunes or safari, I get the following message:The procedure entry point QTCF_CFHTTP message set header field value could not be located in the dynamic link library QTCF.dll I uninstalled and reinstalled.same result HELP!
Taken at face value, you're having trouble with a QuickTime program file there.
Let's try something relatively simple first. Restart the PC. Now head into your Uninstall a program control panel, select "QuickTime" and then click "Repair".
Does the repair go through okay? If so, are you able to launch iTunes and/or Safari now? -
What values do I enter in the program change field for EXS24 ?
I am using YaMAHA WX5 WIND CONTROLLER to play instrument sin Logic. I can get 'next settings' and 'previuos settings' to work with cc values. However, because of the setup of the WX, it wouls work better for me if I coud use its program change buttons.
What value should go in the program change box ?
OPEn EXS24
click edit
navigate edit>preferences>select previous instrument or next instrument
afer that what value will allow EXS24 to change instruments using my WX5.
I have used MIDI monitor to find what value the WX sends and the only think that shows up is 'program'
I have tried learn assignment in Logic. When I press the program change button, Logic reads it as program change but provides no value.
Thanksany one?
-
Me_gui_po_cust for header fields
HI ALL,
I have created a tab "CUSTTAB" in ME21n header with 2 additional fileds i.e: zzfields1 & zzfield2 i have also appended them in structure ci_ekkodb of table ekko. I have used BADI'S : ME_GUI_PO_CUST & ME_PROCESS_PO_CUST.
I can see the tab & both the additional fields but the data for these additional fields is not getting saved in ekko table.
When i implemented this badi for LINEITEM the data was getting saved in ekpo table:the method 'IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_MODE' of me_gui_po_cust incase of line item was:
method IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_MODEL.
data: l_item type ref to if_purchase_order_item_mm,
ls_mepoitem type mepoitem,
ls_customer type zmepo_badi_examp.
system asks to transport data from the business logic into the view
case im_name.
when subscreen1.
is it an item? im_model can be header or item.
mmpur_dynamic_cast l_item im_model.
check not l_item is initial.
transport standard fields
ls_mepoitem = l_item->get_data( ).
transport customer fields
call function 'ZMEPOBADIEX_GET_DATA'
exporting
im_ebeln = ls_mepoitem-ebeln
im_ebelp = ls_mepoitem-ebelp
importing
ex_data = ls_customer.
store info for later use
move-corresponding ls_mepoitem to dynp_data_pbo.
move ls_mepoitem-ZFIELD1 to dynp_data_pbo-ZFIELD1.
move ls_mepoitem-ZFIELD2 to dynp_data_pbo-ZFIELD2.
move-CORRESPONDING ls_customer to dynp_data_pbo.
move ls_customer-badi_bsgru to dynp_data_pbo-badi_bsgru.
move ls_customer-badi_afnam to dynp_data_pbo-badi_afnam.
when others.
endcase.
endmethod.
can ny1 tell wat changes shud i make in the above code so dat it works for header fields .
rgds
points 'll b rewardedhi abap user,
I also have same requirement of an additional tab on PO header with 2 fields inif i have used ME_GUI_PO_CUST and ME_PROCESS_PO_CUST. in method SUBSCRIBE of ME_GUI_PO_CUST i have written following code which is same as example code for that method.
METHOD IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
DATA: LS_SUBSCRIBER LIKE LINE OF RE_SUBSCRIBERS.
we want to add a customer subscreen on the item detail tab
CHECK IM_APPLICATION = 'PO'.
CHECK IM_ELEMENT = 'HEADER'.
each line in re_subscribers generates a subscreen. We add one subscreen in this example
CLEAR RE_SUBSCRIBERS[].
the name is a unique identifier for the subscreen and defined in this class definition
LS_SUBSCRIBER-NAME = SUBSCREEN1.
the dynpro number to use
LS_SUBSCRIBER-DYNPRO = '0001'.
the program where the dynpro can be found
LS_SUBSCRIBER-PROGRAM = 'SAPLMEPOBADIEX'.
each subscreen needs his own DDIC-Structure
LS_SUBSCRIBER-STRUCT_NAME = 'MEPO_BADI_STRUCT'.
a label can be defined
LS_SUBSCRIBER-LABEL = TEXT-001.
the position within the tabstrib can be defined
LS_SUBSCRIBER-POSITION = 5.
the height of the screen can be defined here. Currently we suport two screen sizes:
value <= 7 a sevel line subscreen
value > 7 a 16 line subscreen
LS_SUBSCRIBER-HEIGHT = 7.
APPEND LS_SUBSCRIBER TO RE_SUBSCRIBERS.
ENDMETHOD.
and for BAPI ME_PROCESS_PO_CUST in method INITIALIZE i have written following code which is also same as it's example code.
METHOD IF_EX_ME_PROCESS_PO_CUST~INITIALIZE.
BREAK SAB_PARTH.
CALL FUNCTION 'MEPOBADIEX_INIT'.
ENDMETHOD.
NOW my problem is still this additional tab is not visible when i execute ME21n or me22n or ME23n.
kindly suggest that what code u have implemented for this BADIs..and if i require to implement fsome more method in aby of these BADIs. -
Uploading values for an image field in a web app. Nothing displays in layout.
I've uploaded the values (using the import) for a field defined as an image in a web app. When I try to display the field, nothing shows up. The value correctly shows up when I look at Web App items after the upload / import. I've uploaded the same value in a text field, just to learn what was happening, and the text field displays the image just fine when added to the layout.
I would like to use the image field type, as it's easier to correctly create the link when the web app is updated in the future.
Here is what works in the layout: <a href="{tag_link to page}"> <img alt="" class="column66_award_thumb" id="thx" src="{tag_image thumb}" /></a>
Note that {tag_image thumb} is a text field with the link stored in it. The value for each Web App Item which populates this field is a link to the image. (i.e. /Awards/139.jpg)
Here is what I want to work: <a href="{tag_link to page}"> <img alt="" class="column66_award_thumb" id="thx" src="{tag_thumbnail image_value}" /></a> , where {tag_thumbnail image_value} refers to a field defined as an image in the web app. It has the exact same value as {tag_image thumb}. I just copied the field values in the Excel spreadsheet (saved as .csv) when I uploaded it.
It looks like the image field works fine only when I manually create it in the web app. If this is the case, using the upload capability disables any ability to use the image field type.
Is there a workaround for this? Am I missing something?
The page I'm working on is http://www.e-a-a.com/awards When you view the source, you can see that the small thumbnail images are displaying just fine. (I'm using the text field). Whenever I substitute the image field name {tag_thumbnail image}, {tag_thumbnail image_nolink}, or {tag_thumbnail image_value}, the src value is always null.
How do I fix?Hi there,
To do it properly you need to resize the image. Prefably before you put it into BC. While you can for scale the image in CSS you do not want to do this. Why? Because the images are still very big and likely not optimised as they should be for the web.
This means the page with these images will take a very long time to load for people, and people wont be to happy about that viewing your site.
You need to use software such as photoshop if you have it or iphoto on a mac for example to edit, crop and size images before you upload them. If you do not have anything you can use free web based tools such as this one:
http://pixlr.com/editor/
You can also do this within BC itself in the file manager. If you click the image you can see options to resize it. The downside of that is that is done by pure math. It does not know what is in the photo and the results can make the image look squished etc. -
How to Show total value in the header 2nd page but based on 1st page footer
How to show total value in header in report builder but i have the total have related with the total in footer.
Example
===============================================
Page 1
Empno Ename Sal
1 Scott 1000
2 ALlen 2000
3 Susi 1000
Total Sal Page 1: 4000
===============================================
Page 2
Total Sal Page 1: 4000 --> How to get it?????
Empno Ename Sal
4 Budi 1000
5 Roger 200
6 George 2000
Total Sal Page 2: 3200
Please Help..
Thankshmm .. what i would do is
- create a placeholder column
- create a field in the header and one in the footer
- have the footer field reference the summary column
- have the header field reference the placeholder column
- create a fromat trigger on the footer field to
store the value of the footer into the placeholder column
so when the report is executed and the footer field is formatted, the format trigger stores the current value of the summary in the placeholder. then the pagebreak occures and the header field is formatted .. printing the value.
there might actually be an easier way, just reference the two fields to the same summary column and in theory, since there is nothing happening between the time when the footer is formatted and the header is formatted, the values should be the same .. however this is a theory and i have not actually tested this. since reports does all kinds of fancy optimization this might have unexpected results, but it's worth a try.
thanks,
ph. -
Hai All,
Is there any option to add header fields dynamically in the HTTp adapter header fields?
I am doing a file to HTTp scenario.In this i have to pick a file using file adapter and add some header values(header values are both static and dynamic)and using HTTP adapter place it at a target URL.Is it possible to avoid mapping since there is only picking up of file and adding some headers to it.I can see header fields in the HTTP reseiver adapter.Can i use these to add the static and dynamiuc header fields.specifically i have two questions.
1)I want to include the source file name which is DYNAMIC as a field in the header fields in the target payload.How can this be achieved?Should i go for mapping and write a UDF for the same or is there any option to add dynamic values in the HTTP receiver adapter header fields?
2)what are these header fields for?
Can somebody explain it to me.I have gone through the Blogs like http receiver adapter configuration etc..would be of great help if anybody could explain it to me in detail.Thanks for the replies but my question is still un answered.please guide me on how to proceed?
I am going to send a txt file.On top of the contents of the file i want these headers to be attached
In the header fields of HTTP receiver adapter configuration can i give the following format?
Header Value
AS2 from: hgdfdjfhd
AS2 to: fhdfjdfdfnd
subject: hdsjdhsdsd
will it appear in the target file as
AS2 from: hgdfdjfhd
AS2 to: fhdfjdfdfnd
subject: hdsjdhsdsd
//file content starts here
dsgdsjfgdsfggf
hfdjhfdhfdjfdfhhdsfh
hgdsjfgdsjfgdfdgfdg
gfdsahdgsdfdgfgdsg
what is to be done for acheiving this kind of target file?
"If you choose to use HTTP Header fields then you can enter Field1 to Field 6 values. This will be embeded into the HTTP request as HeaderFieldOne and so on."
can this HeaderFieldOne to HeaderFieldsix be populated with any valueslike
AS2 from: ggdhfsdf and all?
please help me out.
Maybe you are looking for
-
I'm running PP CS5.5 and just started experiencing a problem I've never had before. First, here's the set up: The project: A series of talking head videos with 4 different people addressing 6 different subjects. Each video/sequence addresses a separa
-
Unable to boot from backup copy of Mac OS 10.4.11 on and external drive
I used disk utility to back up a copy of 10.4.11. I am trying to test it to be sure the backup works in case I need to go back to it. Hardware Overview: Model Name: MacBook Pro 15" Model Identifier: MacBookPro1,1 Processor Name: Intel
-
Hi All, Could anybody please explain me the following query. How to display number value in words? SQL> select sal, (to_char(to_date(sal,'j'), 'jsp')) from emp; i know that j indicates Julion day. i am unable to understand how to_date converts sal in
-
Hai gurus, i have one scenario,( REM Method) 1) Company 'A' is the marketing one which collects all the requirements from various parts of the country and make a consolidate requirements of all the final products like( P1,P2,P3 and P4) for the entire
-
Fuzzy/shimmery streaks - 'pixellating': why?
Is this more likely a software or hardware issue? Intermittently I get streaks, or patches, of 'pixellated' areas. That is, streaks that are blurry because there are vertical lines that look like crude pixel areas (as if some pixels had dropped out).