Transmission Medium NACHA = '8' Special function-executing output type
hi All,
i have requirement that through the Transmission medium '8' i need to assign the custom program to store the Smartform as PDF in the desktop location or the location where the user selects.
if i assigned the transmision medium as 8 for particular output type say ZAP1 . the particular output type is not getting displayed when i try to use issue output option through va22.
any pointers will be highly appreciated.
thanks.
ok, if you set for your output type NAST-VSZTP=3 you can add code in your print program to display popup window in which
user specify own path for storing PDF...
but if output type will be created in background ( VSZTP ne 3) then
you must save PDF in server path...and user may download it by
cg3y...
regards, darek
Similar Messages
-
Special Function in Output type for PO
Hi Expetrs:
Can any please tell me how to write a code for a Purchase Order in the transmission medium "8" ie., Special Function and the PO Script output is converted to PDF file and it should be send to the server path location through FTP.
Thanks,
VenkatDear Muthukumar,
Thanks for this.
Could you please explain more about it. I am having similar requirement.
I want to save document on FTP server immediately after saving invoice in PDF format. So how can I use transmission medium 8 and add program to it.
Please help. -
Special functions in output type
Hi
For all the output types I need to use transmission medium 8( Special function).Kindly let me know what is purpose of special functions and where to see output of the form .
Points will be rewarded.Hi,
Usually Special Function Output types are used if you are not using the standard outputs like IDOC, Print for which SAP standard programs and mehtods/Forms(SAP SCRIPTS) are available. If you want to create an output other than those or if you need some other functionality then you can maintain Special Function Output types and need to maintain the program to process that output type.
Thanks
vinod. -
Special function in output type
Hi Sap Gurus,
I am using special function ( 8 ) as medium of sending in my output which is defined for delivery.
If i try to process this output with dispatch time 3 ( Send application with own transaction ) its getting processed.
But if i try with option 4 ( Send immediately --at time of saving ) its giving an error.
Is there any standard SAP note or any pointer to solve this error
Thanks and Regards,
AbhijeetHi,
Use
You can process a message immediately by updating the application document or you can process it at a later time. For later processing you must use the report program RSNAST00 or a corresponding application function.
The individual possibilites are:
Time 1: The message is processed through report program RSNAST00. This report program can be scheduled periodically or started manually.
Time 2: As in time 1, but the message contains an earliest processing date and a requested processing time. The message is ignored by report program RSNAST00 before the requested date.
Time 3: The message is selected and processed by application specific programs. Processing can take place online or in the background.
Time 4: The message is processed when the application document is saved. No further processing of the message is necessary.
Kapil -
Special function 8 - Output Type
Hi gurus,
I created a new Output Type with special function 8 called ZPDF in transaction NACE with application MR (invoice verification) and I added to that Output Type ZPDF our custom program called ZXXX_ARCHIVE_LINK in order to post into the MM invoice, a PDF who cames from the SD inovoice.
The SD invoice number is recorder into the field "Referece" in the MM invoice.
So, the program should (through the output type and the program):
1. Read the MM invoice number generated (NAST table into NAST-OBJKY).
2. Enter to table RBKP with MM invoice number RBKP-BELNR and get the SD invoice number: RBKP-XBLNR.
3. Enter with SD invoice number XBLNR to table TOA01-OBJECT_ID And get TOA01-ARC_DOC_ID.
4. Call FM ARCHIV_CONNECTION_INSERT.
The problem here is when I post a MM inovice in MIRO transaction the system through the condition record added the ZPDF Output Type but don´t read the program ZMIC_INVOICE_PDF_ARCHIVE_LINK added to that output type. The status of the output type is green (but without any processing log). I checked the setting for the Output Type like 100 times and everything seems to be OK.
<removed by moderator>. Any advice?
I don´t know why SAP don´t call the program. I think the ABAP code is wrong:
REPORT ZXXX_ARCHIVE_LINK.
Table Declaration
TABLES: NAST, " Message Status
CMFP, " Storage Structure for Errors Collected
EDIDS, " Status Record (IDoc)
VBRK, " Billing Document: Header Data
TOA01. " Link table 1
TYPES: BEGIN OF TY_RBKP,
BELNR TYPE RE_BELNR, " Document number of an invoice document
XBLNR TYPE XBLNR1, "SAEOBJID, " Reference Document Number
END OF TY_RBKP.
TYPES: BEGIN OF TY_TOA01,
OBJECT_ID TYPE SAEOBJID, " SAP ArchiveLink: Object ID (object identifier)
ARC_DOC_ID TYPE SAEARDOID, " SAP ArchiveLink: Document ID
END OF TY_TOA01.
Data Declaration
DATA: WA_BELNR TYPE RE_BELNR ,
WA_ARC_DOC_ID TYPE TY_TOA01 , "-ARC_DOC_ID,
WA_SAP_OBJECT LIKE SAPB-SAPOBJID," TYPE TOAOM-SAP_OBJECT ,
ARC_DOC_ID TYPE TOAV0-ARC_DOC_ID,
GT_RBKP TYPE STANDARD TABLE OF TY_RBKP , "WITH HEADER LINE,
GT1_RBKP TYPE STANDARD TABLE OF TY_RBKP, " WITH HEADER LINE,
GT_ARC_DOC_ID TYPE STANDARD TABLE OF TY_TOA01, " -ARC_DOC_ID,
WA1_RBKP TYPE TY_RBKP ,
WA_RBKP TYPE TY_RBKP.
DATA: WA1_OBJECT_ID TYPE SAEOBJID.
DATA: WA_OBJKY TYPE NA_OBJKEY,
WA1_OBJKY TYPE RE_BELNR.
FORM entry USING ent_retco ent_screen.
CLEAR ent_retco.
PERFORM ARCHIV_CONNECTION_INSERT USING nast-objky ent_retco.
ENDFORM. "entry
FORM ARCHIV_CONNECTION_INSERT USING objky returncode.
* Select Reference Document Number from RBKP table
SELECT BELNR XBLNR
FROM RBKP
INTO TABLE GT_RBKP
WHERE BELNR = objky . " .WA1_OBJKY .
IF SY-SUBRC EQ 0 .
LOOP AT GT_RBKP INTO WA_RBKP.
WA1_OBJECT_ID = WA_RBKP-XBLNR .
CONCATENATE WA1_OBJECT_ID '%' INTO WA1_OBJECT_ID .
WA_SAP_OBJECT = WA_RBKP-BELNR .
SELECT OBJECT_ID
ARC_DOC_ID
FROM TOA01
INTO TABLE GT_ARC_DOC_ID
WHERE OBJECT_ID LIKE WA1_OBJECT_ID.
IF SY-SUBRC EQ 0 .
READ TABLE GT_ARC_DOC_ID INTO WA_ARC_DOC_ID INDEX 1.
ARC_DOC_ID = WA_ARC_DOC_ID-ARC_DOC_ID.
WA_SAP_OBJECT = WA_ARC_DOC_ID-OBJECT_ID.
ENDIF.
CALL Function Module:Link table operations
CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
EXPORTING
ARCHIV_ID = 'Z0'
ARC_DOC_ID = ARC_DOC_ID
AR_DATE = SY-DATUM
AR_OBJECT = 'MMILOGINV'
DEL_DATE = ' '
MANDANT = SY-MANDT
OBJECT_ID = WA_SAP_OBJECT
SAP_OBJECT = 'BUS2081'
DOC_TYPE = 'PDF'
BARCODE = ' '
EXCEPTIONS
ERROR_CONNECTIONTABLE = 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.
CLEAR: WA_RBKP.
ENDLOOP.
ENDIF.
ENDFORM.
Edited by: Thomas Zloch on Oct 26, 2011 10:52 AMok, if you set for your output type NAST-VSZTP=3 you can add code in your print program to display popup window in which
user specify own path for storing PDF...
but if output type will be created in background ( VSZTP ne 3) then
you must save PDF in server path...and user may download it by
cg3y...
regards, darek -
Message transmission medium (nacha)
hi,
may i know nacha = 8 (special function) means what?
in what situation i can use 8?
thanksHi
it is the Message transmission medium which Specifies how the output will be produced.
You can specify, for example, that the output is printed or that it is produced and sent by other means, such as fax, electronic mail, or electronic data interchange (EDI).
You may use this, when other mediums (from 1 to 7 and A, T) are not useful
means for any other special function defined by the client.
Reward points if useful
Regards
Anji -
What is the medium of the emil in the output type?
what is the medium of the emil in the output type?
pleae send asapHi
For sending emails, you have to select either 5 or 7
5 is for sending emails through internet based emailing/sending emails thorugh the network
7 is for sending emails through SBWP in SAP itself, In this case, the emails will be send to the user ids in SAP, and the users can see their emails in SBWP tcode.
For 5,
you also have to maintain your SMTP settings in tcode SCOT. Your basis guy will help you in this.
Hope this helps you
You can reward if this helps you -
SD: Output determination - Use of transmission medium = "Special function"?
Hi,
Would you tell me what is the specific use of transmission medium = "Special function" (table TNAPR-NACHA = 8) in the output determination for messages?
Transaction V/30
Thanks and regards,
EricHi Guys - Transmission medium 8 - special function is a very strong functionality that SAP has provided. You can have a business document perform a specific function everytime it is created, obviously as an output to that document. I am not sure about FICO areas, but I have worked on it in SD.
We do automatic shipment creation for deliveries. An output condition was created with access sequence of shipping cond and shipping point. Now whenever there will be a delivery created for this shipping point, it would trigger this output. The output is configured with special function transmission medium. The special function executes the program mentioned in the condition record set up. Through that program, we create a shipment that will have that delivery doc.
So then everytime a delivery is created, we would have a shipment document created for it without having to schedule another background job....!!!!
Likewise, you may accordingly utilize FICO documents and processing using special function output medium.
Thanks
Nikhil -
Transmission medium "8: Special function"
Hi Experts,
I have got an situation. I have made changes in customization for an output type of a billing document and kept transmission medium as 8: Special Function. And this output type is supposed to trigger PDF copy of invoice in a particular server. But this output is in red status in billing document. And it seems that the output is not triggered at all.
Please guide what changes am I supposed to make for this to trigger successfully.
Thanks,
Chetan.Dear Chetan,
"Output is not triggered at all"
It means there could be improper assinment.
Kindly make sure that output type is properly assigned to output determination procedure and that procedure is assigned to correspondig billing type.
Also,
Check output type has access sequence which in turn will have condition table assigned to it.
I think this will solve you purpose
regards,
sagar -
Special function as the medium
Hi
Want know what is special function. I know custom output type like zdel, i went NACE and seen procceing routins for zdei
In process rouined i have seen custom program name it looks like a rouine, in the routine used actually cutom FM to create invoice and this was assigned to 8(special function) as the medium.i want to know why they used special function and what is the use of special fumction and as well as want know where to used this program.
Thanks for ur replyHello Friend,
Special function in output type used when you do not want Print, Mail OR send Iand DOC
You want to download he whole document as text file or XML file...
You wan to call a RFC to coomunicate with another system like this
Thanks,
Krish -
Right transmission medium and communication in output determination
Hello Gurus,
I defined a new output type for shipping, wrote a requirement, but I don't know which transmission medium should I define in the output type and the right communication definition in the condition records.
I need this output to execute a program that calls a "proxy to file" method (interface).
Each transmission medium I used caused me a dump, so eather the program the ABAPer gave me is wrong, or my definition is wrong.
Regards,
DaphnaApologies for previous response.
General for these kind of requirement. it could be either 1-Send with periodically scheduled job & 2-Send with job, with additional time specification as Dispatch time with either 5(External Send) or 6(EDI) or 7(simple mail) as Transmission Medium.
Don't forget to maintain relevant communication strategy, say, WEBM-Send external mail in communication method.
Regards
JP -
How to use Output Transmission Medium 8 (Special Function)
Hi All,
May I get how to use output transmission medium 8(Special Function) in Output Determination.Hi,
configure output type with transmission medium 8
in nace transaction and assign it to driver program
and so that entry exist in table tnapr and use
RSNAST00 program to send output as email.
Before you have create entry in va02->header-output->
with processsing status 0 .
Regards
amole -
Regarding finding out Partner function based on Sales Order/Output Type
Hi All,
<b>I have a issue in finding out Partner function[PARVW], Message partner[PARNR], Message transmission medium[NACHA], Teletex number[TELTX], User name[USNAM], Message processed manually[MANUE], Country Key[TLAND] and some other fields all are related to NAST table.</b>
Actually we have one script which is already working when we run from from <b>VA02/03</b> for single order.
When we execute from <b>VA02/03</b> all <b>NAST</b> table entries are filled up and by using those entries we are fetching remaining entries and displaying them in Output.
Now we are developing another program where we will have a selection screen with <b>Sales order, Output Type & Order Type</b> and execute the program and then we will get list of sales orders in <b>ALV list output</b> with check boxes before every record.
Now if we select one (or) multiple records from there and click on Print Prevview button i am calling above <b>SAP Script Print Program</b> but now in that P.Program we will not have any <b>NAST</b> table entries other than Sales Order and Output Type those can be moved to [<b>NAST-OBJKY, NAST-KSCHL</b>].
But here what about other fields in <b>NAST</b> table like <b>PARVW, PARNR, NACHA, TELTX, USNAM, MANUE, TLAND</b> etc.
How can we get them as we are exclusively using those other <b>NAST</b> table entries in above <b>SCRIPT/Print Program</b>.
Can anybody solve this issue!
Thanks in advance.
Thanks & Regards,
Prasad.Check this FM
WFMC_MESSAGES_SELECT
example
tables : nase.
constants: appl like nase-kappl value 'V2'.
select-options:
rg_nacha for nase-nacha default '1',
rg_kschl for nase-kschl.
ranges: rg_objky for nast-objky.
data:
msgs_1 like msg0 occurs 100 with header line.
*-Fill Object Key
*-Execute fm
call function 'WFMC_MESSAGES_SELECT'
exporting
pi_application = appl
pi_processing = '1'
tables
ri_medium = rg_nacha
ri_type = rg_kschl
ri_object = rg_objky
tx_messages = msgs_1. -
Error "You cannot enter a partner function for output NEU"
Hi Experts,
I'm having these error "You cannot enter a partner function for output NEU" (message VN041) when I tried to assign a partner function (e.g OA) in the conditions records for application "EV" (Purchase outline agreement). The system do not allow me to do this for any doc type (LP, LPA, MK, OA, etc). I'm using t-code NACE or MN08.
I want to assign partner for key combination "Document Type". The conditions is already there but with no value, so I want to assign partner function "OA" or "VR".
I already check all the configuration and looks fine. For example, define possible partner functions for output type "NEU" for application "EV" (Purc outline agree).
Hope you can help me to find the problem.
Thanks,
Mairo.I have the error in NACE or using tcode MN08.
As soon I executed those transaction the system shows the condition records created for varios Doc Type (e.g LP, LPA, MK, etc) but with no partner function assigned. For example:
Doc. Type / Name / Funct / Partner / Medium / Date/time / Language
LP / Scheduling Agreement / blank / blank / 2 / 3 / EN
LPA / Scheduling Agreement / blank / blank / 1 / 3 / EN
For example, I try to assign function "OA" for Doc. Type "LP", choose value from quickpick. Then when I press enter, the system give me the error "You cannot enter a partner function for output NEU", message no. VN041. Do not allow me to continue, so I have to leave this field blank, with no change.
Thanks, -
Hello Friends,
Can you please tell me the procedure to achieve this.
How can you determine the message transmission medium while the
requirement subroutine (Requirements Output Control T-Code VOFM ) is running.
FORM KOBED_601.
get message transmission medium
ENDFORM.
FORM KOBEV_601.
get message transmission medium
ENDFORM.
Regards
Marco MI think you handle this by handling the subrc and the condition types.
Check the following thread.
Re: Output Control
Hope it helps.
Maybe you are looking for
-
[Solved] No wireless connection after reboot.
I installed through a wireless connection. I installed inside of VirtualBox, and I installed wireless_tools, wpa_supplicant, and wpa_actiond dialog. So I had wireless internet on the live cd, but not after the install. Is there some driver that I am
-
Error while starting macbook pro.
I am getting a black screen while i press power button on mac. pro. at start.. and then again the macbook restarts. This occur's continuously. no further process. whats the problem??
-
WebCenter Portal and Portlet support in JDeveloper 11.1.2 version
Hi, When the WebCenter Portal and Portlet application creation will be available within JDeveloper 11.1.2 version ? Thanks Eli
-
ATG+ CRS Error in ATGPublishing server, access not allowed to BCC
Hi, After the installation of ATG 10.0.3 and Commerce Reference Store on Weblogic, using CIM, I started both ATGProduction and ATGPublishing without trouble. I can access the store (http://localhost:7003/crs/storeus) and dynamo administration console
-
How to access website from ipad showing access denied website
HHow to access to website which showing as access denied