Out put message
Hi,
I have query related to out put determination.In purchase order message determination (determination analysis -alphabet i in blue) sequence is shown as ACE1 then AUFB then MAHN then NEU then z123 while as, as per message determination schema it is NEU then MAHN then AUFB then ACE1 then Z123.
My queries are 1) why their is difference in sequence in message determination schema and in purchase order.My thinking is system will search condition as per message determination schema in SPRO.
2) From where condition ACE1 is picked up as it is not appearing in define message type for purchase order.
Thanks & Regards
Atharva
Hi,
Regarding message type ACE1 or Z123 or any other message output types in Purachse order, you can check all details in table: NAST with t.code: SE11
As you asked sequense of message type is diferent in message determination and in message determination schema.
In message determination ( in NACE t.code with EF application), is started with starting from alphabate A->Z like ie...ACE1,AUFB,ET01,MAHN,NEU,RICH & WEZL
In message determination schema, its all in order from Print(NEU), Order Acknowledgements(AUFB) & then sending Reminders vendors (MAHN)
Regards,
Biju K
Similar Messages
-
HOT TO SET THE OUT PUT MESSAGE FOR PURCHASE ORDER
As i was saving the Purchase order in Me21n the error message that came up was " NO OUTPUT MESSAGE SET FOR THE PO " HOW DO I SET THE OUTPUT MESSAGE AND SET THE PO PRINT SETTING KINDLY HELP.
Hi
First of all Execute program RSNAST0F in SA38 .
Following are some steps for PO message printing
Maintain Output of Purchase Order
1. Condition Table
SPRO  Material Management-> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
Select:
Purchasing Doc. Type,
Purch. Organization,
Vendor
2. Access Sequences
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
3. Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
Ex:
EF---> ZNEU
Select ZNEU and double click on Mail title and texts and go to
EN- New Purchase Order Print Out,
Select ZNEU again and double click on Processing routines,
Select ZNEU again and double click on Partner Roles
4. Message Determination Schemas
4.1. Message Determination Schemas
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
4.2. Assign Schema to Purchase Order
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
5. Partner Roles per Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
6. Condition Record
Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
ZNEU -> ZNB
Now you create PO(ME21N) and maintain the text and save it. Go to ME22N and print the PO by giving output type ZNEU).
Vishal... -
Out put message not comming in the PO
There is a issue related to the message determenation in PO. When I create a po and menually putup the output type in the po output. It's working fine. but I want as it should be picked by automatically. I do not want any user intervention on it.
So please somebody suggest me how to do this. Is there any SPRO setting for it.HI
In t-code NACE you will configur whole setting for PO print
check your condition record here for PO print
also check following link
[PO output determination|Message output determination;
Regards
Kailas Ugale -
Dear Experts,
Can some one guide me how to implement the Output messages in configuration to send the PO output through email?
We are running under 4.6B. Is the Medium 5 External the appropriate for emails?
What are the technical considerations to be able to send emails?
Any help is appreciate it a lot.
Thank you.
Monica.Monica,
You are right. Medium 5 (External ) is correct one for e-mailing PO, but you need help from Basis team in setting up emailing facility from SAP system.
And from your side, check your SAP system has a default Communication Strategy (CS01) (Transaction code MN04: Medium 5 and click Communication to see Communication Strategy field), which describes a sequence of communication methods. If you don't have one you need to maintain a Communication Strategy in Customizing.
Confirm that a email address exist for Vendor in Vendor master Record.
Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
Select node as PDF to display email in Outlook Express
Transaction for Output: SCOT (to trigger the output manually) -
Fixed Out Put Messages for RFQ, and PO.
Dear All,
from where i can default the output messages for RFQ, and PO.
Regards,
qsm sapHi,
Goto NACE assigne Output Type & Access Sequence for Application EF & EA,
Then For RFQ Default Message goto MN01 & PO goto MN04 and maintain output types
Rgds,
Vikas -
The first page (CoGetEditForm.cfm lets you input the co id
then it get to the next page for you to edit (CoEditForm.cfm). then
it lets take action and UPDATEs (CoEditAction.cfm) finally, it goes
to the colist.cfm to query results and outputs it to html format.
<td>#comm#</td>
Question is that:
1. where and what do I do to have an error message if there
is no such id in the database to edit?
2. the out put comments messed up the whole query results
when I added it to the html out put results. What can I do to clean
this up and where do I put the code?
<!-------------------------edit
page----------------------------->
<html>
<head>
<title>Main Title</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Edit a Co based on co_ID</h1>
<table>
<cfform action="CO_EditForm.cfm" method="POST">
<tr>
<td>Co_ID</td>
<td>
<cfinput type="Text"
name="Co_ID"
message="Please enter the Co_ID"
validate="integer"
required="Yes"
size="22"
maxlength="20">
</td>
</tr>
<tr>
<td> </td>
<td>
<input type="submit" value="GetCo">
</td>
</tr>
</cfform>
</table>
</body>
</html>
<!------------------------------------------CO_EditForm.cfm
page------------------------------------->
<cfquery name="GetCo"
datasource="#Request.MainDSN#">
SELECT
COName,
ADD,
City,
st,
zip,
comm
FROM
CO
WHERE
Co_ID = #Val(Co_ID)#
</cfquery>
<html>
<head>
<title>Main Title</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Edit a CO</h1>
<table>
<cfform action="COEditAction.cfm" method="POST">
<cfoutput>
<input type="hidden" name="COID" value="#Val(COID)#">
</cfoutput>
<tr>
<td>CO Name</td>
<td>
<cfinput type="Text"
name="COName"
value="#GetCO.COName#"
message="Please enter a name for this CO."
required="Yes"
size="40"
maxlength="40">
</td>
</tr>
<tr>
<td>ADD</td>
<td>
<cfinput type="Text"
name="ADD"
value="#GetCO.ADD#"
message="Please enter this new CO's ADD."
required="Yes"
size="32"
maxlength="30">
</td>
</tr>
<tr>
<td>City</td>
<td>
<cfinput type="Text"
name="City"
value="#GetCO.City#"
message="Please enter a city."
required="Yes"
size="22"
maxlength="20">
</td>
</tr>
<tr>
<td>st</td>
<td>
<cfinput type="Text"
name="st"
value="#GetCO.st#"
message="Please enter a st."
required="Yes"
size="3"
maxlength="2">
</td>
</tr>
<tr>
<td>ZIP Code</td>
<td>
<cfinput type="Text"
name="zip"
value="#GetCO.zip#"
message="Please enter a valid ZIP Code."
validate="zip"
required="Yes"
size="11"
maxlength="10">
</td>
</tr>
<tr>
<td>comm</td>
<td>
<textarea cols="40" rows="5"
name="comm"><cfoutput>#GetCO.comm#</cfoutput></textarea>
</td>
</tr>
<tr>
<td> </td>
<td>
<input type="submit" value="Update Database">
</td>
</tr>
</cfform>
</table>
</body>
</html>
<cfquery name="UpdateCO"
datasource="#Request.MainDSN#">
UPDATE CO
SET
COName = '#Trim(Form.COName)#',
ADD = '#Trim(Form.ADD)#',
City = '#Trim(Form.City)#',
st = '#Trim(Form.st)#',
zip = '#Trim(Form.zip)#',
comm =
<cfif Len(Trim(Form.comm)) GT 0>
'#Trim(Form.comm)#'
<cfelse>
NULL
</cfif>
WHERE
COID = #Val(Form.COID)#
</cfquery>
<cflocation url="COList.cfm">
<cfquery name="GetCo"
datasource="#Request.MainDSN#">
SELECT
coID,
coName,
ADD,
City,
st,
zip,
comm
FROM
co
ORDER BY
coName ASC
</cfquery>
<html>
<head>
<title>title getco</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>y List</h1>
<table>
<tr>
<td><b>ID</b></td>
<td><b>Name</b></td>
<td><b>ADD</b></td>
<td><b>City</b></td>
<td><b>st</b></td>
<td><b>ZIP Code</b></td>
<td><b>comm</b></td>
<td> </td>
</tr>
<cfoutput query="GetCompanies">
<tr bgcolor="<cfif currentrow mod
2>GHOSTWHITE<cfelse>WHITE</cfif>">
<td>#coID#</td>
<td>#coName#</td>
<td>#ADD#</td>
<td>#City#</td>
<td>#st#</td>
<td>#zip#</td>
<td>#comm#</td>
<td>
<a
href="EmployeeList.cfm?coID=#coID#">Employees</a>
<a href="coAddForm.cfm">Add</a>
<a href="coEditForm.cfm?coID=#coID#">Edit</a>
<a
href="coDeleteForm.cfm?coID=#coID#">Delete</a>
</td>
</tr>
</cfoutput>
</table>
</body>
</html>After your SQL SELECT on CO_EditForm.cfm, you need a
<CFIF> that checks to see if any records were retrieved. See
below. -
GR out put error :No messages for initial processing exist
Hi All
When Im process the out put for GR using T-Code MB90, the following message appears and I'm able to see the out put "No messages for initial processing exist".I have checked the three processing modes even it is giving the same mesaage.Can any body help to how to see the GR out put.
thanks and regards,
Sri.........Hi ,
I think the necessary condition records might not exist.
You can maintain the same using MN21.
Also check whether the necessary customising is done using Transaction NACE and by selecting application ME.
Regards
Ramesh Ch -
Printing all error messages in the out put report
Hi all,
I have MATNR and WERKS data in final internal table now my requirement is ineed to print all the error messages for all the materials (where sy-subrc ne 0) in the out put report. how can i do it for multiple error records will anybody tell me with coding
The Requirement is like bellow:
Take material number(s) (MARC-MATNR) from selection screen then check to see if any plants have that material setup as QM active (MARC-QMATV). If no, then issue message on report.
Thanks,Hi Mythili,
Hope the attached code helps you...
TABLES marc.
TYPE-POOLS: slis.
TYPES : BEGIN OF g_ty_msg,
type LIKE sy-msgty,
msg(120),
END OF g_ty_msg.
TYPES: BEGIN OF g_ty_marc,
matnr TYPE matnr,
werks TYPE werks_d,
qmatv TYPE qmatv,
END OF g_ty_marc.
DATA: g_t_msg TYPE TABLE OF g_ty_msg,
g_r_msg TYPE g_ty_msg.
DATA: g_t_marc TYPE TABLE OF g_ty_marc.
FIELD-SYMBOLS <fs_marc> TYPE g_ty_marc.
SELECT-OPTIONS: s_matnr FOR marc-matnr,
s_werks FOR marc-werks.
START-OF-SELECTION.
SELECT matnr werks qmatv FROM marc
INTO TABLE g_t_marc
WHERE matnr IN s_matnr AND
werks IN s_werks.
IF g_t_marc IS NOT INITIAL.
LOOP AT g_t_marc ASSIGNING <fs_marc>.
IF <fs_marc>-qmatv IS INITIAL.
g_r_msg-type = 'E'.
CONCATENATE <fs_marc>-matnr <fs_marc>-werks
INTO g_r_msg-msg SEPARATED BY space.
APPEND g_r_msg TO g_t_msg.
CLEAR g_r_msg.
ENDIF.
ENDLOOP.
ENDIF.
END-OF-SELECTION.
PERFORM display_log.
*& Form display_log
To display error log as an ALV Popup
FORM display_log .
CONSTANTS: l_c_type(4) TYPE c VALUE 'TYPE',
l_c_msg(3) TYPE c VALUE 'MSG'.
DATA : l_t_fieldcat TYPE TABLE OF slis_fieldcat_alv,
l_r_fieldcat TYPE slis_fieldcat_alv.
DATA : l_f_line TYPE i.
CLEAR l_r_fieldcat.
l_f_line = l_f_line + 1.
l_r_fieldcat-col_pos = l_f_line.
l_r_fieldcat-fieldname = l_c_type.
l_r_fieldcat-seltext_m = 'Type'.
APPEND l_r_fieldcat TO l_t_fieldcat.
CLEAR l_r_fieldcat.
l_f_line = l_f_line + 1.
l_r_fieldcat-col_pos = l_f_line.
l_r_fieldcat-fieldname = l_c_msg.
l_r_fieldcat-seltext_m = 'Message'.
l_r_fieldcat-outputlen = 120.
APPEND l_r_fieldcat TO l_t_fieldcat.
To display the message log as a Popup in the form of ALV List
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
i_title = 'Message Log'
i_tabname = 'G_TY_MSG'
it_fieldcat = l_t_fieldcat[]
TABLES
t_outtab = g_t_msg
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_log
Best Regards,
Suresh -
Print out put of Invoice Verification
How to get print output of Invoice verification? How to get print output of subsequent credit/debit of Invoice?
Hi
You need to create a new Message type copying any relevant message type.(tCode M806). Maintain the processing routines with medium as print out put.
Create the form required for Print out put & assign it to the routine.
Maintain the message schemas , Assign the new Message type to the existing schema.
Now create the conditoin record using transaction MRM1 with th required key combination. Invoicing party & Company code.
Now when ever you create the invcoie with combination the Message will be created.
Execute transaction MR90 for the print out put. If you want the print after saving the invoice , maintain the despatch time as Send immediately when saving the application.
Reward points if useful
Thanks & Regards
Kishore -
How to get default lay out set in my ALV out put.
I need to have default layout in my ALV output.
My functional consultant idea was to make sure they have an ALV variant selected.
When he first run the program, how will need to get a "/DEFAULT" variant created.
How can I do that ?
Initialization - For ALV variant
INITIALIZATION.
ws_repid = sy-repid.
g_save = 'A'.
CLEAR g_variant.
g_variant-report = ws_repid.
Get default variant.
gx_variant = g_variant.
gx_variant = g_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
p_vari = gx_variant-variant.
ENDIF.
&--F4 HELP - FOR ALV VARIANT GET--
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = g_variant
i_save = g_save
IMPORTING
e_exit = g_exit
es_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF g_exit = space.
p_vari = gx_variant-variant.
ENDIF.
ENDIF.
&--AT SELECTION-SCREEN.- For ALV Variant--
AT SELECTION-SCREEN.
*Getting variant Existence
PERFORM get_exist_variant.
*& Form GET_EXIST_VARIANT *
text *
FORM get_exist_variant .
IF NOT p_vari IS INITIAL.
MOVE g_variant TO gx_variant.
MOVE p_vari TO gx_variant-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant.
g_variant = gx_variant.
ELSE.
CLEAR g_variant.
g_variant-report = ws_repid.
ENDIF.
ENDFORM. " GET_EXIST_VARIANT
*& Form alv_display *
This subroutine is to display the out put in ALV. *
FORM alv_display .
Local data
DATA: y_x LIKE boole VALUE 'X'.
DATA: lh_index LIKE lf_fieldcat-col_pos.
For variant
DATA: ws_repid LIKE sy-repid,
g_save TYPE c VALUE 'A',
g_exit TYPE c,
g_variant LIKE disvariant,
gx_variant LIKE disvariant.
For 1st field.( RPT_LOC )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'RPT_LOC'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZGXMIT'.
lf_fieldcat-ref_fieldname = 'RPT_LOC'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-key = y_x.
lf_fieldcat-no_sum = y_x.
APPEND lf_fieldcat TO lt_fieldcat.
For 2nd field.( BAL_XMIT )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'BAL_XMIT'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZGXMIT'.
lf_fieldcat-ref_fieldname = 'BAL_XMIT'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-key = y_x.
lf_fieldcat-no_sum = y_x.
APPEND lf_fieldcat TO lt_fieldcat.
4,5,....fields appening
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = ws_repid
I_CALLBACK_PF_STATUS_SET = ' '
i_callback_user_command = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT = v_alv_layout
it_fieldcat = lt_fieldcat
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
i_save = 'A'
IS_VARIANT =
it_events = events[]
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
TABLES
t_outtab = gt_zgxmit_l
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. " alv_displayHello SAm,
U have to set like DATA: IT_VARIANT LIKE DISVARIANT,
G_S_SORT LIKE LINE OF IT_SORT.
DATA : G_R_DISP_VARIANT TYPE DISVARIANT.
SORT G_T_OUTTAB BY PSPID POSID.
CLEAR: G_R_DISP_VARIANT.
For storing the variant layout
IT_VARIANT-REPORT = SY-REPID.
IF NOT P_VARIAN IS INITIAL.
G_R_DISP_VARIANT-VARIANT = P_VARIAN.
ELSE.
IT_VARIANT-VARIANT = '/Z48M'.
ENDIF.
CLEAR G_T_OUTTAB.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = IT_VARIANT-REPORT
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IT_FIELDCAT = IT_FIELDCAT
I_SAVE = 'A'
IS_VARIANT = IT_VARIANT
IS_LAYOUT = IT_LAYOUT
IT_SORT = IT_SORT[]
TABLES
T_OUTTAB = G_T_OUTTAB
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.
If u want F4 help in the selection screen then do like this.
SELECTION-SCREEN BEGIN OF BLOCK VARIANT WITH FRAME TITLE TEXT-013.
PARAMETERS: P_VARIAN LIKE DISVARIANT-VARIANT DEFAULT '/STANDARD'.
SELECTION-SCREEN END OF BLOCK VARIANT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARIAN.
PERFORM SHOW_EXISTING_DISPLAY_VARIANTS.
FORM SHOW_EXISTING_DISPLAY_VARIANTS.
DATA: G_R_DISP_VARIANT TYPE DISVARIANT.
G_R_DISP_VARIANT-REPORT = SY-REPID.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
IS_VARIANT = G_R_DISP_VARIANT
I_SAVE = 'A'
IMPORTING
ES_VARIANT = G_R_DISP_VARIANT
EXCEPTIONS
NOT_FOUND = 1
PROGRAM_ERROR = 2
OTHERS = 3.
IF SY-SUBRC = 0.
P_VARIAN = G_R_DISP_VARIANT-VARIANT.
ENDIF.
ENDFORM. " SHOW_EXISTING_DISPLAY_VARIANTS
If useful reward.
Vasanth -
EXCEL out put is not showing data
Hi All,
My report is working fine it is showing data in XML but it is not showing data in Excel output. Excel output is empty.
i have attached excel and xml files. please help me.
FYI: these are migrated reports from 10g to 11g.
Thanks in advance for your timeUsing ua.bat we upgraded 10g to 11g., we got sucessfully message.
after upgrade if i try to open excel it is not showing opening and showing action instead of excel name . I though excel out put has corrupted. i downloaded excel layout from 10g and uploaded in 11g report using upload layout.
we did not make any changes in database.
below one is not related to this one but .. after upgraded reports multi parametrs did not work if i select more than one column ( i opened as different topic) then i have removed
( (coalesce(null, :P_PPD_REGION) is null) and kept(region.X_REGION in (:P_PPD_REGION) from following statement then i did report is working with multi parameters.
my doubt is is it correct thing i did ? if not how can my multi parameter will work . we are using oracle as database.
AND ( (coalesce(null, :P_PPD_REGION) is null) or (region.X_REGION in (:P_PPD_REGION)) )
AND ( (coalesce(null, :P_COUNTRY) is null) or (region.REGION_CD in (:P_COUNTRY)) )
AND ( (coalesce(null, :P_SITE_NUM) is null) or (ptcl_site.site_num in (:P_SITE_NUM)) )
I really appreciate for your support. -
Reg: Out put could not be issued
Dear All,
when i am excute VL03N to get output of smartform i am getting message like Out put could not be issued message vl086Hi Reshma p,
For that U have to assign output type...
Check out in NACE transaction whether it has been made or not...
In VL03N>Give a document number and enter the tcode then in, Menu>Extras>Choose Delivery Output>Header/Item(choose one), and here you have to give the output type in general.
Have a look on similar issue with VF03
VF03 smartform: Output could not be issued
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7 -
How to take out put of each documents
dear all,
i want to know the detail configuration and settings in sd for out put.
such as i need to take the print of sales order or invoices so what type of settings i have to do
how one can take a print out after creation of a sales order,quotation ,invoice and scheduling agreements with the necessary fields i need in it.
if possible how it can be emailed to the concern person.
with regards
subratHi,
Output can be configured in following way.
1.In SPRO Create output type.
2.Create access sequenece.
3.Assign output program to the output type.
4.Add the output type in output determination procedure.
5.Assign the output procedure to document type i.e.Sales order,Delivery docuement,Billing docuement.
6.maintain the output condition record.
7.You can also enter the output manualy in all the documents.
For mails to be sent,maintain processing medium as Mail the output type configuration.Maintain mail Id in customer master.Maintain proper access sequence.
Reward points if useful
Regards,
Amrish Purohit
Message was edited by:
AMRISH PUROHIT -
Plz help me out bapi message (urgent)
hi
i need help. i m passing values in bapi n taking message from table in bapi to print in out put.
requirment is..
a) Pass the following parameters:
NUMBER = NETWORK
Tables: I_COMPONENTS_CHANGE
COMPONENT = IT_COMP-COMPONENT
BATCH = P_CHARG
Tables: I_COMPONENTS_CHANGE_UPDATE
COMPONENT = IT_COMP-COMPONENT
BATCH = X
b) The components that failed update are provided in table, E_MESSAGE_TABLE. If MESSAGE_TYPE = E, get EXTERNAL_OBJECT_ID and MESSAGE_TEXT. Remove spaces from EXTERNAL_OBJECT_ID and then match against IT_COMP-COMPONENT to get MATERIAL, PLANT and NETWORK and write MATERIAL, PLANT and NETWORK and MESSAGE_TEXT to the job log.
so for that i m doing coding like (this is part of my program)
LOOP AT i_temp_comp.
CLEAR : i_comp_change,i_comp_upd,i_e_msg.
REFRESH : i_comp_change,i_comp_upd,i_e_msg.
LOOP AT i_comp WHERE network = i_temp_comp-network.
l_number = i_comp-network.
i_comp_change-component = i_comp-component.
i_comp_change-batch = p_charg.
APPEND i_comp_change.
i_comp_upd-component = i_comp-component.
i_comp_upd-batch = c_x.
APPEND i_comp_upd.
ENDLOOP.
CALL FUNCTION 'BAPI_NETWORK_COMP_CHANGE'
EXPORTING
number = l_number
TABLES
i_components_change = i_comp_change
i_components_change_update = i_comp_upd
e_message_table = i_e_msg.
IF NOT i_e_msg[] IS INITIAL.
LOOP AT i_e_msg.
IF i_e_msg-message_type = c_e.
READ TABLE i_comp WITH KEY network = l_number
component = i_e_msg-external_object_id. "#EC *
IF sy-subrc IS INITIAL.
i_output-material = i_comp-material.
i_output-plant = i_comp-plant.
i_output-network = i_comp-network.
i_output-message = i_e_msg-message_text.
APPEND i_output.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
ENDLOOP.
problem is it is not showing message in i_output.
so no data is printing.
plz help me outThere are several IFs in your code here.
IF NOT i_e_msg[] IS INITIAL.
LOOP AT i_e_msg.
IF i_e_msg-message_type = c_e.
READ TABLE i_comp WITH KEY network = l_number
component = i_e_msg-external_object_id. "#EC *
IF sy-subrc IS INITIAL.
i_output-material = i_comp-material.
i_output-plant = i_comp-plant.
i_output-network = i_comp-network.
i_output-message = i_e_msg-message_text.
APPEND i_output.
ENDIF.
ENDIF.
ENDLOOP.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
It can be any IF failure. Check in debugging and see how this "i_e_msg" internal table is filled. May be the return table is giving the component number in external format and you have it in internal format or vice-versa in the READ statement "component = i_e_msg-external_object_id". -
ALV Report In Background.. Generating same out put using ABAP Extracts
Hi
We are running ALV reports and generating out put in background using Extracts. We are having a discussion that SAP doesnt recommend to execute ALV reports using batch and generate report output , as it heavily load for spool ... we are coming across some problem when I analyze Sm37 ... I found an error " ABAP framework unable to initialize " .
I want an input/suggestion what you guys think about it?
Thanks in Advanced...
ByeNope... Were using some batch id which use to run background job, as I am also in SAP Security, I just verify it has all the security to run the report . As this report is running fine if we ran it other then batch id ... as before it was running fine .
Thanks
Message was edited by: Saquib Khan
Maybe you are looking for
-
Hi Everyone.. I am getting an Error 1046: Type was not found or was not a compile-time constant: Component Event. The ComponentEvent class has been imported,and also the event handling code is there. I am not sure what else is wrong, hope somebody ca
-
HT204655 I upgraded to OS X and now my iPhoto application is gone
I recently upgraded to OS X (Yosemite) and my iPhoto application/library is gone. When I click on "application", I get a message that says I have to download the latest version for free from the Mac App Store, but when I go there, it says that the i
-
Web site not displaying correctly in IE7 or lower
Hi. I uploaded my site and thought everything was fine with it. I'm running IE8 and it looks fine for me, but then I checked it on another computer that has IE7 and the formatting looks incorrect. The main content area is way low - you have to scr
-
I send the frame by a microcontroller ( 8bits) the fram contains 6 bytes, 2bytes conform a long variable, I want to decode the frame and make operations with these long variables and then plot them
-
Pricing condition issue using Variant Configuration
Hi Gurus, I have created reference characteristic 'z_price' , with a reference table SDCOM and field VKOND and has values X and Y. Assigned this characteristic to Class type 300. \Also assigned dependency type procedure to the characteristic values X