Assigning Smartform in NACE
hi,
i've developed a smartform for purchase order i've configured in nace .instead of MEDRUCK i have given the Smartform name as ZPURC im getting the error as 'ERROR IN OPEN_FORM'.
what should i do for this where should i configure the smartform.
thanks and regards,
siri
Hi Sirisha,
Please check ur logic.
Assigning form in NACE.
Goto NACE Transaction.
select EF application and then click on Output types Push button.
Now select output types NEU or NEUS and double click on Processing routines folder on the left side on the screen.
Now in Medium Print output remove the form in PDF/Smartform Form field and assign ur own form name which u have created.
Best regards,
raam
Similar Messages
-
Problem while assigning smartform in NACE
Hi all,
I am getting the following error while trying to assign a Z-smartform in NACE transaction. Rewards assured
<b>Diagnosis</b>
For output type NEU and transmission medium 8 an entry has been maintained in the table of processing programs, but in this entry no processing program has been specified.
<b>System Response</b>
When the output will be processed later on, it cannot be issued.
<b>Procedure</b>
Specify at least one processing program and one processing routine in this program.Hello Jai,
I just received the same error while updating our PO.
In my case, the problem was that medium "Special function" had an entry line with no program assigned. This was set up in the original configuration of the system, and since I had only changed the "Print output" entry, I wasn't sure what was causing the message.
Since the "Special function" entry was blank, I tested that to see if it was the issue. Removing that entry did eliminate the message.
Since the message I received was an informational message, an alternative method to proceed was by simply hitting "Enter" when the message appeared. I don't see why a blank entry would be required, but since I didn't do the original system configuration, this was the method I chose so as to not change any existing settings other than for the Smartform on which I was working.
This is an old thread, but I thought I would add this information in case anyone stumbles across it while searching for information about this error (which is how I found the thread.)
Blaine -
Assign PO Smartform in NACE error-Processing routine does not exist
I have created a Z-Smartform and Z-driverProgram and assigned both in NACE:
Medium- Program- Form- PDF/Smartform- Type
Print output- ZSFPOREPORT- -ZSFPOREPORT- SmartForm
but a error message : Processing routine in program ZSFPOREPORT does not exist ..
Do we need to code in driver prog under a Subroutine and call the same (or) Do we need to create a Form with Special Interface parameters similar to Entry_NEU ..
I am not sure as ENTRY_NEU is for a Script but we need to assign a SMARTFORM here...
So Gurus suggest.....Hi
DATA: fm_name TYPE rs38l_fnam.
*-- Call the Smartform for Label Printing.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZLS_XXXXX'
IMPORTING
fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION fm_name
EXPORTING
v_XXXX = v_YYYYY
v_matnr = mara-matnr
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
But this pattern is not same for all driver program. So you can do the following:
Step 1: Click on the area where you want to write function module.
Step 2: Click on "Pattern" at the top of the SAP window. Enter the function name as SSF_FUNCTION_MODULE_NAME and
press ok.
Step 3: Now fill up the reqd fields. Give the name of the smartform in
EXPORTING
formname = 'ZLS_XXXXX'
Step 4: Now go to the SMARTFORMS program Environment->Function Module Name and copy the Module Name.
Again click on "Pattern" and paste the module name. Again you will get a pattern(i.e. the second function)
Step 5: Replace the Function module name with "fm_name" as shown in the code above.
Then your code is ready.
Thanks & Regards
Rocky kr. Agarwal. -
How to assign SmartForms to Application Forms for SAP ISU
Hi Experts,
We are going to use PWB for bill printing in SAP ISU.
I have worked with ECC6.0 for PWB and seen that there is an option available to assign Smart Forms to the Application form in EFRM with selecting SmartForm option available in a dropddown. And for transaction EFCS creating FormClass the checkbox is available to make it usable for SmartForms.
But we are using SAP R/3 4.6C. But these option i am not able to see in 4.6C.
Can anyone guide how we can use and assign SmartForms for Release 4.6C.
Thanks in advance.
AnkurThanks for the reply, but what about doing DML on other tables in other schemas. The DBA has created roles and granted permission to the user and they can do DML thru SQL plus without problem but when same operation is attempted thru Oracle forms ORA-40508 and object does not exist errors come up.
How does a forms knows which tables in the database (under their own schema or on others to which they have been granted rights to) are availabel. Is there a property setting in the pallate or something in forms runtime which would recognize varoius users and then let them do DML on various tables under their or others's schema.
Thanks in advance -
How to Assigned smartform in CRM
Dear Friends,
Please guide me how to assigned smartforms (Order conformation) with driver program in CRM,
SanthiHi Shanti
You need to define action profile from CRM->Basic Functions->Actions->Actions in transactions->Change Actions and Conditions->Define Action Profiles and Actions (you can use profile ORDER_MESSAGES)
and then define condition for your action profile from the path CRM->Basic Functions->Actions->Actions in transactions->Change Actions and Conditions->Define Conditions
And then assign this action profile to your transaction type.
regards
M. -
Assign Smartforms to Transaction Code F.27
How to assign SMARTFORMS to transaction Code F.27
Hi,
Refer to the link given below.
http://help.sap.com/saphelp_nw04s/helpdata/en/6e/db0cee629b4f43a4f93f59e979aa8a/frameset.htm
Regards
Rajesh Kumar -
Error while assigning Smartform in Sale Order
Dear All,
For taking the sale order printout, I do not want to create a SAP SCRIPT Form. So in NACE transaction, I have created one output type 'ZA01' and assigned a new Smartform to that output type.
Now, after adding this output type in Sale Order, when I am going to print the sale order using ZA01 output type system is giving error that WRITE_FORM is invalid, START_FORM is missing.
Please tell whether can we assign the Smartform to sale order or not. And if yes then how to correct the error.
Kind Regards,
VishalDear Raghu,
I have checked it. And the entry is present in that table. But this error is coming only when I am giving Smartform. But system is not giving any error when I am giving script form.
So the problem is only for SmartForm.
Regards,
Vishal -
How to assign smartform to print program for payment advice
Hi!
There is already a print program and a smartform for payment advice. This was working before as I was told. But when I checked table TNAPR, there is no entry in the table with the program name and neither for the smartform. How can I use them together again? This is used in tcode F110 so I could not use NACE.
Any advise? Thanks!
CholenHi Cholen,
Configuration to assign Program and Form names for F110 is done in FBZP Transaction.
Please Check under Paying company codes tab and Pmnt Methods in company Code tab where Smart form and other text modules are assigned.
Under Pmnt methods in a country Print program is assigned.
Thanks
Sri -
Assign smartform to transaction code CO02
can somebody tell me how to assign my smartform to the transaction code CO02?
many thanks!Hello,
You can assign new SMARTFORM to the OUTPUT type in the transaction code NACE
Goto the Transaction code NACE and select the Appllication as P1 and then goto the OUTPUT types in the Menu , choose your OUTPUT type and click on the PROCESSING ROUTINES in the control tab left side.
There u will find the option to add the *SMARTFORM* and the PRINT PROGRAM for different mediums.
Hope it clears you,
thanks,
santosh -
How to use processing routine 2 for another smartform in nace
Hi Techies,
I have configured custom smartform ZS1 for standard program RLE_DELNOTE for delivery in nace.
Now I need to configure another smartforms ZS2 for same program.
How to proceed with this?
Due to client constrain, I cannot make changes in ZS1.
If it would be custom program, I can create new Form Routine, and proceed.
But for same form routine, can you suggest differentiation methodology to proceed with processing routine 2:
Program RLE_DELNOTE
Form Routine ENTRY
Smartform Form ZS2
Kindle guide.
Thanks in advance ,
TanayaHi Tanaya,
You can create a new output type in NACE and get this done. get a copy of existing output and attach your new smart form there. maintain appropriate condition records so that your document will trigger 2 outputs.
Thanks,
tansap. -
Assign smartforms for F.13 in correspondense
Hi All,
We have complex layout need to develop for customer confirmation letter;
developing it in smart form is more easier then script.
so we are planning to develop this layout in smartform.
from Functional config, can i assign this smartform in the Tcode OB96? (Financial accounting -> account payable& recievable -> customer accounts -> line items -> correspondense -> check settings of correspondense -> define forms names for correspondense print)
I can see only scripts assigned to standard programs
Thanks,
ShwethaHi Krishna,
the solution is quite simple, just press "enter" when the warning appears.
I'm not sure, what stopped you telling us the solution, it's so simple with just one sentence.
Instead, you just told you solved the problem on your own. -
How to assign scripts in nace?
what is the use of nace?
Hi,
In NACE transaction, We will assign the Form name and the driver program name and the corresponding routine to be triggered in the driver program.
We should be able to tell the system to pick up the desired form layout and trigger the routine and get the data from the database and put it on to the form. All these stuff the system will come to know from the NACE settings.
NACE is used to create output type while creating the output type you will mention forms, and driver program.
that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
so check in NAST, TNAPR table
You can view all forms and driver programs for standard SAP Scripts.
Assigning Form and Driver proram to an Output type is as follows.
1) Go to NACE transaction
2) Select an Applicatin(V1-Sales,V2-Shipping,V3-Billing)
3) Click on Outputtypes Button
4) Comes to Change Mode
5) Click on New Entries button
6) Specify Output type,Form name and Program and Save it.
Regards,
Priyanka.
http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm
Condition records in NACE? -
Getting prg name of assigned smartform
hi experts,
if i wanna know the z-smartforms assigned to a z-program.How can it be done??
ex : zmaterial1 is my smartform and it is called by prg zprg1.But after 2 days i forgot the prg and now i want to find the respective assigned program for this smartform.
Pls do not post any messages for TNAPR.It's for output type and it is known to me.
Thanks,
GauravCheck this might help -
If in your Driver program, you are using SSF_FUNCTION_MODULE_NAME .
Scan the Z program using Report RPR_ABAP_SOURCE_SCAN
with Programs as Z* and Name of your Smrrtform against String .
This may take some time .
You will get the List of Programs where your Smartform is called .
Check from this programs, which one is your requirement .
~As found in forum.
Regards,
Amit -
Assigning SMARTFORMS to output types in SPRO
Hi,
I have created a test smartform and smartstyle, generated a function module, and temporarily put some code in a custom "test" program to ensure it is working, and it does (note calling the compiled version of the smartform function module name, by getting it's name from SSF_FUNCTION_MODULE_NAME) and all executes correctly.
Could anyone tell me however how I assign the smartform to execute from standard SAP via output type configuration in SPRO in SD as an example. Do we still need to specify a print program name and form routine to execute in configuration, just like SAPscript works ? I notice there is a field available for a smartform name, but then how would "whatever standard SAP is calling the smartform" know what parameters to pass into my generated function module for the smartform ? Also, does this have anything to do with the field "layout module" which is directly above the smartform field ?
Here's what I have tried: I entered the custom Z test program I created, entered the form routine name of this program which simply calls directly the function module for the smartform. (Now the smartform field in configuration is redundant) The standard SAP SAPscript print option window appears when I execute my SD transaction, and then the output option window appears which comes standard with the smartform function module call. As the smartform field in configuration is redundant going this method, I think I am going completely on the wrong route. Can someone help ?
Thanks,
Graham.Hi Satish,
Yes we already have this, and it works with the following issue:-
1) The default output controller window for print options which normally appears for SAPscript pops up.
2) The default output controller window for print options which normally appears for SMARTFORM output (looks slightly different to window in 1) appears also.
IMPORTANT: If I take out the name of the SMARTFORM in the "Smartform text box" it makes no difference and still works as above. This is because my driver/print program and subroutine is calling the function module to call the smartform, so it already knows which smartform to execute.
It is like the standard SD configuration is thinking my print program is for a SAPscript which is why I get both 1 and 2 above. Note: the SMARTFORM does output.
Thanks,
Graham. -
To assign smartform for bid invetation to transaction type of BidInvitation
Hi friends!
Could you tell me if it is possible assign output format(BBP_BID_INVITATION) for bid invetation to transaction type of Bid Invitation?
Thanks.Hi,
You need to implement the BADI BBP_OUTPUT_CHANGE_SF
There you can implement the logic that you need for your business process, for example:
You have different transaction types for BID INVITATION (ZXX1, ZYY1, ZWW1) and you want to use different smartforms for each one, then you need
1. Create the different smartforms with the transaction SMARTFORMS (for the bid invitation you can make a copy from the standar smartform BBP_BID_INVITATION which includes the structures and tables for the bid invitation then you don´t need to create a complete smartform)
2. Implement the BADI BBP_OUTPUT_CHANGE_SF with the transaction se18 or se19 or SPRO --> Supplier Relationship Management --> Cross aplication Basic Data --> Business Ad Ins (BadIs) --> Document Output --> Change Forms for document Output.
there you need to implement your own Ligic, use the method and parameters as i mention below.
Method: CHANGE_FORMS
Parameter: CV_SMARTFORM
Parameter: CV_SMARTFORM_MAIL
Parameter:CV_SUBJECT_MAIL
Code Example:
DATA: wa_header_bid TYPE bbp_pds_header.
For getting the document
CALL FUNCTION 'BBP_PROCDOC_GETDETAIL'
EXPORTING
i_guid = iv_guid
i_object_id =
i_object_type = iv_object_type
IMPORTING
e_header = wa_header_bid.
IF iv_object_type = 'BUS2200' Bus for the Bid Invitation
IF wa_header_bid-process_type = 'ZXX1'.
cv_smartform = 'smartform name 1'.
cv_smartform_mail = 'text body for the email 1'.
cv_subject_mail = 'text subject for the mail 1'.
ELSEIF wa_header_bid-process_type = 'ZYY1'.
cv_smartform = 'smartform name 2'.
cv_smartform_mail = 'text body for the email 2'.
cv_subject_mail = 'text subject for the mail 2'.
ELSEIF wa_header_bid-process_type = 'ZWW1'.
cv_smartform = 'smartform name 3'.
cv_smartform_mail = 'text body for the email 3'.
cv_subject_mail = 'text subject for the mail 3'.
ENDIF.
ENDIF.
That's all
Maybe you are looking for
-
How to deploy web components in weblogic 8.1 !!
I have installed bea weblogic 8.1. But I am not getting a clear idea of deploying my webcomponents. Can anybody help me?? thanks in advance...
-
Hi, I install Sql developer version 1.2.1.3213, when I try to configure the connection I got the error -java.lang.NullPointerException. Please how ca I fix this problem or why this happened. Thanks
-
How to define a flexfiled in security manager
hi guys , i would like to use getInfo subtitution of ODI.But I could not find out where to define the variable . eg: ı wanna get the driver and url addresses from flexfield variable '<%=odiRef.getInfo("DEST_JAVA_URL")%>', <%=odiRef.getInfo("SRC_JAVA_
-
Open New Window behaviour in page subdivided into frames
My home page is entirely subdivided into frames. In one of those frames are my buttons and each button opens a new window. Unfortunately, they open the window within the small button frame. I need the new window to opened independent of the frames
-
Authentication for "user" denied
When I startup the Weblogic server 7.0 with correct username and password, it throws Authentication for "user" denied error message. Does anyone know what could be the problem?