Output Control Routine for Order Confirmation
Hi,
I have a problem in sending out order confirmation when the customer have a credit block, no order confirmation is being sent.
Checked on transaction NACE, the routine for Order Confirmation (Routine 2), returns a sy-subrc =4
when the credit block is set. What is the best way to correct this?
Thanks,
Catherine
Create the new routine in VOFM->Requirement->Output Control. Make the required changes in routine source text and assign it to output procedure (NACE).
Thank You,
Ganesh
Similar Messages
-
VOFM output control routine for VT01N
I need to know what the temporary strucutre or internal table is that SAP uses for deliveries. The values eventually get stroed in table VTTP. But when using VT01N they are not there of course until it is actually saved to the DB. The output control routine that was created gets invoked or called before it is saved so I have to read from the temp or internal table SAP uses to load these values for the deliveries. Does anyone know what this table might be? I am allowing or preventing output based on some detail concerning the delieveries but none of it is stored until it is saved so I need this temp table to get to the values.
Look in INCLUDE VTTPDATA.
This is where the internal tables are defined for VT01N.
* INCLUDE VTTPDATA *
TABLES: VTTP, *VTTP,
VTTPD, *VTTPD,
VTTPVB, *VTTPVB.
DATA: BEGIN OF COMMON PART VTTPCOM.
* shipment items
* Data base contents
DATA: BEGIN OF DBVTTP OCCURS 0.
INCLUDE STRUCTURE VTTP.
DATA: END OF DBVTTP.
* New table contents
DATA: BEGIN OF XVTTP OCCURS 0. "Sortiert nach:
INCLUDE STRUCTURE VTTPVB. " MANDT TKNUM TPNUM VBELN
DATA: END OF XVTTP.
* Old table contents
DATA: BEGIN OF YVTTP OCCURS 0. "Sortiert nach:
INCLUDE STRUCTURE VTTPVB. " MANDT TKNUM TPNUM
DATA: END OF YVTTP.
* Temporary table contents
DATA: BEGIN OF LVTTP OCCURS 0.
INCLUDE STRUCTURE VTTPVB.
DATA: END OF LVTTP.
* Definition of keys
DATA: BEGIN OF VTTP_KEY,
MANDT LIKE VTTP-MANDT,
TKNUM LIKE VTTP-TKNUM,
TPNUM LIKE VTTP-TPNUM,
END OF VTTP_KEY.
* Internal table for screen processing
DATA: BEGIN OF IVTTP OCCURS 0, "Sortierkriterium wechselt !
TKNUM LIKE VTTP-TKNUM,
TPRFO LIKE VTTP-TPRFO,
TPNUM LIKE VTTP-TPNUM,
VBELN LIKE VTTP-VBELN,
VSTEL LIKE VTRLK-VSTEL,
WERKS LIKE VTTPVB-WERKS,
LAND1 LIKE VTRLK-LAND1,
PSTLZ LIKE VTRLK-PSTLZ,
KUNNR LIKE VTRLK-KUNNR,
LIFNR LIKE VTTPVB-LIFNR,
CONADDR LIKE V56IDLNT-CONADDR,
TABIX LIKE SY-TABIX,
XTRLK LIKE SY-TABIX,
BTGWC LIKE VTRLK-BTGEW,
GSGWC LIKE VTRLK-BRGEW,
VOLMC LIKE VTRLK-VOLUM,
* fields below will be updated during tree processing
BTGWD LIKE V56IQUA-BTGWD,
GSGWD LIKE V56IQUA-GSGWD,
VOLMD LIKE V56IQUA-VOLMD,
DTMEG LIKE TVTK-DTMEG,
DTMEV LIKE TVTK-DTMEV,
TKNEW LIKE VTTP-TKNUM,
SELKZ LIKE RV56A-SELTSTP,
END OF IVTTP.
* deliveries in process
DATA: BEGIN OF XTRLK OCCURS 0. "delivery headers
INCLUDE STRUCTURE VTRLK. "Sortiert nach MANDT VBELN
DATA: END OF XTRLK.
DATA: BEGIN OF XTRLP OCCURS 0. "delivery items
INCLUDE STRUCTURE VTRLP. "Sortiert nach VBELN POSNR
DATA: END OF XTRLP.
DATA: END OF COMMON PART.
If you put a breakpoint in you VOFM routine, you should be able to examine which of these has the data that you need.
If you need more info, such as header data etc
Look at these others:
* Internal tables for shipment data base
SET EXTENDED CHECK OFF.
INCLUDE vttkdata. "shipment header
INCLUDE vttpdata. "shipment item
INCLUDE vttsdata. "shipment segment
INCLUDE vbpadata. "partner
INCLUDE vtfadata. "flow
INCLUDE sadrdata. "address
This is from the top include MV56ATOP for the program run by VT01N, SAPMV56A.
You can access all of this through SE84, Information System.
Good luck
Brian -
Output Control - Message for Orders
Hi all,
i have in my system a message ZDWO ( Distribution ALE-Partner function CO-Sending immediatly-Condition ORDER TYPE) for sales orders. It works for all kind of orders except for one that hasn't automatic sending (but this type is in the list of conditions).
What can be the reason for this? depending on the partner? or on the type of sales order? or else?
Any ideas?
Thanks in advance.Hi,
You need to maintain condition records (transaction NACR) for application V1 (Sales). Once you added the missing order type condition, the system will propose the output control in VA02 for the corresponding sales order(s).
Regards,
Ferry Lianto -
Subsequent routine for order confirmation vofm
what our requirement is ...we have a static credit check activated.
while creating the sales orderwhen ever the customer exceeds the credit limit the check will be activated and the order is blocked with 0 confirmed quantity.
but we want the confirmed quantity should come as the standard order irrespective of credit block.Now the confirmed quantity becomes zero in the routine 101 which is the include LV07A101.
we need to implement a new routine , which confirms the quantity but the credit block should be there.
Is any sap notes available or any documents available , please help us.Hi,
Pls have a look at this link ,
http://saptechsolutions.com/pdf/SubsequentFunctionRequirements.pdf
Regards,
Vvieks -
No condition maintained for Order Confirmation output type but still active
Hi,
I have NOT maintained any Condition record for Order confirmation Output(BAFX) but still it is generated and Fax instruction is being sent to the Sold to Party. Also i found that NO condition record for Order confirmation output(BA00) is also maintained but still Order confirmation is still being triggered.
Actually i want that NO Fax instruction is to be sent for Order confirmation for some of the customers.
Kindly advise.
Thanks,Hi vk@sap,
Check in the output analysis how the output was determined, so that you can know why they're still determined.
Thanks,
Mariano. -
Standard smartforms for order confirmation
Hi all
i search the standard smartforms for order confirmation. What's the name for this form....
i have only find for invoice LB_BIL_INVOICE and for Delivery LE_SHP_DELNOTE, but not for oder confirmation....
thx abap_begin....Hi,
For the printing of the order confirmation there is a standard script RVORDER01. You can find this in transaction NACE by choosing application as V1 then output type as BA00 and then Processing routines.
Regards
Dillip Sahoo -
Standard print program for order confirmation
Hi All,
I have created smartform for sales order confirmation,now i want to attach it to output type i need standard print program for order confirmation.Do we have any standard program for the same ?
Thanks in advance
ShrilaHi Shrila,
refer to the thread below:
Order confirmation smartform
With luck,
Pritam. -
To create varaibles in Mail Forms for Order Confirmation
Hi All,
I am having an requirement to send an email for order confirmation with some customer dependent data and some product data to be sent along in the mail, This has to be done through action.
I want to use mail forms for this but in this I am not able to create variables in the mail form through which i can pass th value to the variables in the mail form.
Please suggest what to do for variable creation in mail form.........
Is there any standard oder confirmation template available as it is available for campaign??????
Thanks and Reagrds
MayankHi Mayank,
I am not sure but u can try below standard smartforms :
CRM_SERVICE_CONF_EXT
CRM_ORDER_SERVICE
Regards,
Dipesh. -
Smartform print program for order confirmation
Hi experts.
I am looking for a smartform print program for order confirmation.
The order confirmation in standard is a script with the name RVADOR01 and I tried to copy and change but I don't know which to eliminate and whcih to keep it.
If any body written the program already please provide me or provide the link to check.
Thanks in advance
Saithis is the processing form.
form processing.
data: lf_fm_name type rs38l_fnam.
data: ls_control_param type ssfctrlop.
data: ls_composer_param type ssfcompop.
data: ls_recipient type swotobjid.
data: ls_sender type swotobjid.
data: lf_formname type tdsfname.
data: ls_addr_key like addr_key.
data: document_output_info type ssfcrespd,
job_output_info type ssfcrescl,
job_output_options type ssfcresop.
perform get_data.
check retcode = 0.
perform set_print_param using addr_key
changing ls_control_param
ls_composer_param
ls_recipient
ls_sender
retcode.
*Get the Smart Form name.
if not tnapr-sform is initial.
lf_formname = tnapr-sform.
else.
message e001(/smb40/ssfcomposer).
endif.
determine smartform function module for invoice
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = lf_formname
importing
fm_name = lf_fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
error handling
retcode = sy-subrc.
if sy-subrc = 1.
message e001(/smb40/ssfcomposer).
endif.
if sy-subrc = 2.
message e002(/smb40/ssfcomposer) with lf_formname.
endif.
perform protocol_update.
endif.
call function lf_fm_name
exporting
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
is_vbdka = vbdka
is_addres = addr_key
importing
document_output_info = document_output_info
job_output_info = job_output_info
job_output_options = job_output_options
tables
it_vbdpa = tvbdpa "Item information
it_vbdpau = tvbdpau "Subitem numbers
it_vedpa = tkomservp "Contract Item Validity
it_vedka = tkomservh "Contract Header Validity
it_vedpn = tkomservpn "Contract Item Cancellation Data
it_vedkn = tkomservhn "Contract Header Cancellation DA
exceptions
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
if sy-subrc <> 0.
retcode = sy-subrc.
perform protocol_update.
get SmartForm protocoll and store it in the NAST protocoll
perform add_smfrm_prot.
endif.
endform. "processing -
Output Through FAX and Email for Order Confirmation
We are yet to have this in our system and in requirements gather phase for my FS. I request you to help me in finishing this .
so far i considered the following
The following information is required :
1. To all SD documents ? ( For eg : Order Confirmation,Delivery Note ,
Legal invoice )
2.Need to have a fax number/Email maintained for a customer
3. Frequency of the ouput?
4. Is duplication of output through email/Fax is required ?
5. If sent by mail, in simple mail/ an attachment in pdf required and
what shall the subject line contain?
Please guide if i am Missed any requirement gathering . pls write me or send some kindaa FSHi Yuvraj
Kindly check the links for the output configuration and other inputs also
[https://wiki.sdn.sap.com/wiki/display/ERPLO/OutputDeterminationOverview]
[https://wiki.sdn.sap.com/wiki/display/ABAP/SendSpoollistofbackgroundjobtoSAPinbox]
[https://wiki.sdn.sap.com/wiki/display/ABAP/PDFDownlaodByCreatingSpool+Request]
Regards
Srinath -
Output determination in SNC for order confirmation
e want to use output determination to update SNC replenishment order when changes are done in R/3 sales order. We are not using new doc type. So no option left but to use 'Created by' as an option to trigger an output determination but it's not working as dezired. What could be best to use for output detrmination.
thxHi Vaibhav
As far as i understood you have created
Output type assignment to partner functions under spro-s&d-basic func-output control-maintain output deter for sales doc
-assign output type to partner function-
Output Type: XX
Medimu : 6
Funtion: $$
Name :Created by
Under spro-s&d-basic func-Partner determination-setup partner determination-Set Up Partner Determination for Sales Document Header
for each sales doc type a partner determination procedure is assgined under Partner Determination Procedure Assignment node
Under Partner Functions, can you try using partner type as customer or logical system instead of user???
and assign teh same partner type to ur Partner Determination Procedures under Partner Functions in Procedure node
And try to check,
Best Regards
Vinod
Edited by: Vinod Kumar Pedapati on Feb 14, 2011 1:19 PM -
Smartform name for Order confirmation?
hi people,
Can anyone tell me the <b>name of the smartform for orderconfirmation</b>
Regards
Rajasekaran.Hi
Refer below
http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci969816_tax299331,00.html?bucket=ETA&topic=299331
Yes, there is a free preconfigured Smart Form offered by SAP Labs for the SD Order Confirmation. The precise form kit you need may vary depending on your country and your current release level, but the download location for all of the preconfigured forms is service.sap.com/smartforms (follow the "Preconfigured Forms" link).
On a related note, you may wish to read my recent Weblog Why Bake Forms from Scratch on the SAP Developer Network.
As for your second question, there are a few ways to access the relevant SPRO (Implementation Guide for R/3 Customizing) transaction to switch the pointer to a Smart Form instead of SAPscript. In your case, one of the simplest ways is via transaction code NACE (Conditions for Output Control). From there, the steps are as follows:
1) Select 'V1' (Sales) 2) Click on the 'Output Types' button 3) Select the relevant output type (e.g. BA00) 4) Double-click on the 'Processing routines' folder 5) Double-click on the relevant transmission medium (e.g. 1 for printer). 6) The Smart Form entry field is near the top of the screen 7) On the same screen, you can update the print program entries and remove the obsolete SAPscript reference.
Caution: Even though a Smart Form is client-independent, the above configuration table is client-dependent. In other words, if you make the above change in client 100, it will not affect the settings in client 200. -
SDQ segment for Order Confirmation
hai all
customer sends in purchase order with only one line item but has 10 ship to party with their respective quantity. this is done with help of ILN(international location no).we have custom segment below E1EDPA1, which has ILN, qualifier for ILN, quantity, UOM fields init.
Individual sales order is created for every ship to party and order confirmation idoc is also created and collected. Now with custom program i have to create single idoc with custom idoc type ZORDERS05 with all
the collected idocs, which should have only one line item and all ship to paty in ILN(custom segment). can any one help me in this matter. if you have any code for this scenario pls provide.
thanks and regards
vijayHi,
For the printing of the order confirmation there is a standard script RVORDER01. You can find this in transaction NACE by choosing application as V1 then output type as BA00 and then Processing routines.
Regards
Dillip Sahoo -
Text Replacement for Order Confirmation Email
Have an output type setup to send email to an external contact person. Need to know the program and FORM routine to use for sales documents in order to pull the Purchase Order # and put it on the subject line. I did this for shipping notifications using program SAPMV50A and FORM MAIL_TEXTS but it doesn't work for Sales Orders. I'm hoping someone has implemented this and can pass on the knowledge.
Will reward points, promise.
Thanks!!!
JimIve also tried SAPMV45A with TEXT_SYMBOL_REPLACE
specified Order Confirmation for PO: &VBAK-BSTNK& in the subject title but we only get
Order Confirmation for PO:
any ideas? -
Standatd samrtfrom name for Order confirmation
Hi ,
What is the standard samrtfrom name for ordder confimataion and how to see standatd smartfroms, I see in NACE for for output type BA00 only forms is assingned there.
Appreiciate your help.
Thanks
Naveen/SMB11/SDORC_L
/SMB40/SDCON_DE
/SMB40/SDCON_FR
/SMB40/SDCSH_A
/SMB40/SDCSH_DE
/SMB40/SDCSH_FR
/SMB40/SDCSH_L
/SMB40/SDINQ_A
/SMB40/SDINQ_DE
/SMB40/SDINQ_FR
/SMB40/SDINQ_L
/SMB40/SDINQ_UK
/SMB40/SDORC_A
/SMB40/SDORC_DE
/SMB40/SDORC_FR
/SMB40/SDORC_L
/SMB40/SDORC_UK
/SMB40/SDQUO_DE
/SMB40/SDQUO_FR
/SMB40/SDQUO_UK
/SMB40/SDSDA_DE
Goto transaction smartforms type /smb* an hit an F4 then serach with with order confirmation u'll get the entire list.
кu03B1ятu03B9к
Edited by: kartik tarla on Mar 30, 2009 5:04 PM
Maybe you are looking for
-
Subtype event not triggering and supertype event triggers twice!!!!!!
Hi, We have created a subtype for object bus2030 and also an event created for that. My workflow should trigger whenever an inquiry is created. I've maintained this as triggering event in SWDD and done type linkage is SWE2 and everything looks fine.
-
Is there a way to reinstall an older version to avoid the loss of my valuable extensions an a feature (where there are no add-on upgrades) without first uninstalling the current version. A great feature now missing from the 34 or 35 version forward,
-
RIDICULOUS customer support and invoice due to fraud - Still not resolved since April
I am posting my story from the past 9 and a half months here only because I’ve tried many many other ways to get in touch with Verizon about issuing a billing credit but have received TERRIBLE customer service during this entire time. I am now tryin
-
Problem with spec for DEFINEFONT / STYLECHANGERECORD
I am attempting to parse a SWF file and I believe I may have found an error on page 135-6 of the "SWF File Format Specification Version 10" (http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v10.pdf). This is where the STYLECHANGERECORD is def
-
Hi all: Is there a standard role called end user role which can not be found in our system ? if yes, can you please tell me what actions should be assigned to the role? thank you very much Edited by: jingying Sony on May 11, 2010 4:01 AM