Output - Transmission Medium 8 - Special Function Issue
Hi Experts,
I have created a Z-program and smartform fro Invoice print. This smartform should print based on the Output Type ZPDF. We have configured the program and the smartform in NACE for the Output type.
In Billing Header Output, Transmission Medium used as 8.Special Function is maintained for the Output type ZPDF.
But this Output type (ZPDF) is not getting reflected when i try to select it from the billing Tcode : VF03.
VF03-> Billing Document -> Issue Output to
Kindly guide.
Regards
Gopa
Hi Deepti,
Thanks a lot for you reply.
In my case the dispatch time(NAST-VSZTP) is getting updated as 1. And this value is getting updted into NAST table from Transparent Table T685B.
SAPDV70A / DV70AI0D
MODULE (PAI) / D0100_PRUEFEN
MODULE D0100_PRUEFEN.
IF NAST-VSZTP = SPACE.
NAST-VSZTP = T685B-VSZTP.
ENDIF.
How to proceed in this case. Can you plz suggest.
Regards
Gopa
Similar Messages
-
Output - Transmission Medium - Special Function
Hi
In SD Billing output, Transmission Medium used as 8.Special Function. This is sending information to Oracle(Legacy). Now we need to make some changes in output. But, in tcode:NACE, there is no print program or form assigned to this output type. In table:TNAPR also, no program displayed.
Please provide info on how/where print program assign to output type for special functions. Or which program sends output/data to legacy
Regards
UmaHi,
I have small idea.I hope this will help you in identifying the program you want.
First goto VF02.Enter your billing document number.
Click on billing document-->Issue output to.
Selectyour output type.Goto Print preview.
press /h.Debugging will be switched on.
Double click on that message.
Click on break points.Select Break point at-->Breakpoint at statement.
Mention call function and press Enter.Press F8 and check for "CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'".
In this check for gv_fomname.
Get it.Goto SE16.Enter the table name as "TNAPR".
Enter this form name here and get the program name.
Please do this with the help of your ABAPer.
Reagrds,
Krishna. -
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 -
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 -
Pro forma invoice from a Delivery Output using "8 - Special Function"
SAP Gurus
I am interested to create a proforma invoice for a delivery that is created in the system using VL01N. I am using an option to use the Delivery output to be allow creation of the pro forma invoice. I created a new output type and assigned 8 - Special function as the medium of the output.
I managed to find a BAPI that serves this purpose perfectly. Please look at BAPI_BILLINGDOC_CREATEFROMDATA. Enter the following Parameters.
In table BILLINGDATAIN insert one line with the following data:
ORDBILLTYP = ZFDP
REF_DOC = Delivery number
REF_DOC_CA = 'J'
The BAPI when it runs on own, creates the required pro forma invoice. But when it is attached to the output type to be triggered as a special function, does not work. What kind of routine should I enter in the processing routine.
Program on output screen is ZFDP_BAPI
Form Routine is ENTRY
there is a routine maintained inside the program ZFDP_BAPI called "ENTRY"
Inside the subroutine ENTRY, the BAPI_BILLINGDOC_CREATEFROMDATA is invoked.
Please advice.
Thank you.Hello
Thanks for the reply. Earlier when I was using the BAPI BAPI_BILLINGDOC_CREATEFROMDATA, The BAPI used for the output type did not work as it uses u2018Commit Worku2019 statement and it interferes with the u2018commitu2019 of standard program. Due to this reason the transaction dumps every time.
Are you performing the output with dispatch time '4' ? - the answer is yes, I am.
Just double -checking with you that if you decide to use Use BAPI BAPI_BILLINGDOC_CREATEMULTIPLE and call it in background task, do you think that the we can get past this issue short dump issue?
Thanks -
Hi All,
I have an urgent requirement on Special functions.
Kindly let me know what is the purpose of Transmission medium- Special Functions.Also let me how to see the o/p if we use Special functions.
Can we see the printpreview or take the printout of the layout using special functions?
Points will be rewarded.
regards
Shahid.Try this.... open System Prefrences, click on Keyboard & Mouse.
Click on the Keyboard tab.
If there is a check-box that says "Use all F1, F2, etc. keys as standard function keys" make sure the box is UNCHECKED. -
Output type - Special function 8 - ARCHIV_CONNECTION_INSERT
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.
Please this is very urgent. 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.Hi,
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 -
Hi Experts,
I am using a custom program and a form call from output type with special function.
This output type is for transaction VF01. I need help in how to get the data entered from VF01 when I am on the subroutine of my custom program. Can you provide what is the available data i can use? I need to determine the sales order number but I am having a hard time getting the data when I am at the custom program called by the output type.
Thanks in advance.Hi Sravan Kumar,
I wont be using any forms, the output type is special function because i only need to edit user status of the sales order connected to the billing done via VF01. What I need to determine is the sales order number but when I am at my custom program, the data available to me is limited. What I need to know is where can I get the sales order number or even the delivery number entered in VF01. -
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 -
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 -
Issue with configuration of 'Special Function' to a custom output type
Hi Experts,
In my project we have a requirement to configure a custom output type for application V3 (billing) and assign a Special Function to it. I have assigned a custom Program Name and a custom form routine within the custom output type in Processing Routines (in NACE). But when I try to save the Billing document using VF01 / VF02 it gives me an error saying 'Processing Routine XXXXX in program ZXXXXX does not exist'. I have double checked that the Z program is activated. I have declared as follows:
REPORT ZXXXX.
FORM XXXX USING return_code us_screen.
Can anyone please tell me if I am missing something?
Thanks,
AviHi Neil,
Now this error is resolved. It does not give me that message anymore. But I am getting a new error while saving the billing document with the customized output type. Following is my configuration in NACE:
Application: V3
Output Type: ZMAM
Program: YVRO_TOLLING
Form Routine: F_FETCH_AND_PREPARE_DATA
I am trying to place a break-point within the form routine F_FETCH_AND_PREPARE_DATA but it does not stop there. When go back inside the billing document, it shows an error against the ZMAM output type but has nothing in the processing log. Am I missing something?
Avi -
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 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. -
Hi
For all the output typesd 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,
Some info, in case it helps.
I had a requirement to use two different SAPscript forms for printing sales invoices (one for normal invoice printing and the other for in a program for printing dunning letters plus their invoices).
So in the IMG (transaction V/40) I set up processing for transmission medium 8 just like what was already there for transmission medium 1, but with the other SAPscript form.
In our program, NAST-NACHA is set to 8, and a call is made to the appropiate form (e.g. einzelnachricht_ohne_update) of program rsnast00 in order to print. This picks up and uses the config (the print program, SAPscript form etc) for transmission medium 8.
Used in this way, 8 seems to work just like 1, except 1 is used by the regular processing but 8 by our custom program.
John
Maybe you are looking for
-
0FISCPER text variable "External Characteristic Value Key" has changed
Hello! Could somebody help and tell, why in BI7.0 version (but 3.x RRMX version) the format of the 0FISCPER text variable (also other time characteristics) has changed from 001.2007 (version 3.x) to 0/1 .0700 (version 7.0)? I cannot understand the l
-
Caller Id not working in new update
After updating to IOS 8.1.1, whenever I receive a phone call, it displays Unknown, even if it is from one of my contacts. It used to work until I updated. Also, I tried to chat with apple about this because the wait time was 2 minutes and no one ever
-
Help!!!!!!!!!!!!!
-
Sql Developer Data Modeller Viewer 3.0 version
Is there a Data Modller Version 3.0 availalbe? IF not, when will version 3.0 come out and will Version 2 Viewer work with a 3.0 Model ?
-
After Effects application quits unexpectedly while installing
Hi All, I'm trying to download the trial version of the newest After Effects CS6 but it's not installing. I'm currently running CS5.5, is this possibly the issue even though I don't have After Effects CS5.5? Below is the window that pops open after a