Form doesn't exists after calling driver program
Hi,
I had created a invoice form, and i called through driver program in se38.After executing i m getting as 'Form doesn't exists'.
'zinvoice1' is the name of the smartform.
Code as follows:
REPORT ZINVOICE1.
tables: kna1,vbrp,vbrk.
parameters: p_kunnr like vbrk-kunag,
p_vbeln like vbrk-vbeln.
data : fm_name type rs38l_fnam.
data: t_vbrp like standard table of vbrp,
t_vbrk like standard table of vbrk.
data: fs_kna1 type kna1,
fs_vbrk like line of t_vbrk,
fs_vbrp like line of t_vbrp.
start-of-selection.
select single * from kna1 into fs_kna1
where kunnr eq p_kunnr.
select * from vbrk into table t_vbrk
where kunag eq p_kunnr and vbeln eq p_vbeln.
select * from vbrp into table t_vbrp for all entries in t_vbrk
where vbeln = t_vbrk-vbeln.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'zinvoice1'
VARIANT = ' '
DIRECT_CALL = ' '
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 '/1BCDWB/SF00000050'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IM_FS_KNA1 = fs_kna1
IM_T_VBRP = t_vbrp
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
IM_T_VBRK = t_vbrk
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.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZINVOICE1'
VARIANT = ' '
DIRECT_CALL = ' '
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
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IM_FS_KNA1 = fs_kna1
IM_T_VBRP = t_vbrp
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
IM_T_VBRK = t_vbrk
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.
Similar Messages
-
How to call driver program internal table in a form
how to call driver program internal table in a form? Given below is my code
TABLES: VBRK,VBAK,ADRC,KNA1,VBRP,VBAP,J_1IMOCOMP.
DATA: BEGIN OF IT_CUST_ADD OCCURS 0,
STREET LIKE ADRC-STREET,
NAME LIKE ADRC-NAME1,
POST_CODE LIKE ADRC-PSTCD1,
CITY LIKE ADRC-CITY1,
CUST_TIN LIKE KNA1-STCD1,
END OF IT_CUST_ADD.
DATA: BEGIN OF IT_IN_DA OCCURS 0,
VBELN LIKE VBRK-VBELN,
FKDAT LIKE VBRK-FKDAT,
END OF IT_IN_DA.
now suppose these are my internal table. what should i write in FORM INTERFACE (associated type)Hi Sashi, this will solve ur problem.
Check the below link.
REG:PEFORM IN SCRIPT
kindly reward if found helpful.
cheers,
Hema. -
Error, while calling driver program for Smartforms
Hi All,
I am getting a error while running DRIVER PROGRAM of smart form.
both driver program and smart form running successfully without any error while executing separately. But
while calling Smart Form from driver program. it is giving error as :-
*Events are already defined.*
Description :- You tried to define events for a section, but a section with
events is already active. You are not allowed to nest events.
Regards,
Pavan.MThis is nothing to do with coding, this coz of error is from smartforms....
Regards,
Pavan.M -
UDO forms doesn't display after export
Hi Guys!
I've created an add-on from my PC and works well.
I did a backup of my database with UDO forms etc. and transfer them into another server.
When I clicked the menu for the UDO, the form doesn't appear.
Is there any files or procedure I had missed out?Currently I am using a Ahsay software for backup.Ahsay Backup software is a robust cross-platform backup solution which allows businesses and managed backup service provider to backup virtual machines, databases and servers to local/mapped network drive, locally hosted backup server, or online backup server hosted in datacentre. I would like to suggest you to try this software, because its reThanks. Ahsay On-Premises/Online/Off-Site/Cloud Backup Software
-
Hi all,
In Smartforms .....Enter the Smartforms T-code in command field , and select the Form Radio button and Press F4, we will get all the forms.
In that list ANLAGE03_V, ANLAGE04_V....etc are available.
But when i select the ANLAGE03_V (or any other form which starts with ANLAGE04_V ) and press Display , i am getting Error message like
form or text ANLAGE03_V doesnot exist
Why i am getting like this ?
Thanks in advance
KRhi,
Now they may not available in the database because of that your getting error message like that, previously they might be there after that those had been deleted.
reward points if useful,
seshu. -
Outbound call doesn't disconnect after call end
Have you ever seen something like it:
I make a call from my ip phone (3911 or 6921) to an external phone (ex: cell phone: 084645727) and the call works fine, but when cell phone turned off the call, on my ip phone the call still connected, ip phone show me on display that the call still active, the call is just disconnect when I put the phone onhook.
I use CUCMBE: 7.1.3(SU2)
Cisco 2821 : c2800nm-spservicesk9-mz.124-20.T4.bin
debug vpm signal
BHEGV1#R2 Got Event R2_ALERTING
*Nov 25 07:42:36: show voice call status
CallID CID ccVdb Port DSP/Ch Called # Codec Dial-peers
0xD8803 20E8 0x48177B78 0/1/0:0.3 0/1:1 *2125463737 g711ulaw 7500/40
0xD8847 1C9D 0x48177B78 0/1/0:0.1 0/1:3 7434 g711ulaw 1/7500
0xD88B2 26E8 0x48177B78 0/1/0:0.28 0/1:5 *087068998 g711ulaw 7500/30
0xD88B6 27E8 0x48177B78 0/1/0:0.27 0/1:2 *084645727 g711ulaw 7500/30 (it is my call)
0xD88BD 1D22 0x48177B78 0/1/0:0.2 0/1:4 7491 None 1/7500
0xD88C0 28E8 0x48177B78 0/1/0:0.22 0/1:6 *084743874 g711ulaw 7500/30
After cell phone turned off the call, the debug vpm signal just show me it:
*Nov 25 07:42:50: htsp_process_event: [0/1/0:0(27), R2_Q421_OG_ANSWER, E_DSP_SIG_1100]
Does anybody could help me !
Regards.Hi All
I had this issue with Oi and EBT, not sure if this is the same, but i had an issue where the Voice channel in clearfwd - I was facing the Bug CSCtd74470, there a workaround but the upgrade of the GW to Version 15 works properly, the output of the "sh vo po sum | include clearfwd" will confirm if this is your case.
Also in others situations I solved my issue applying the command timeouts call-disconect 3, under E1 Port
Please rate this post
Cheers
Bruno Rangel
"Se você quiser alguém em quem confiar, confie em si mesmo. Quem acredita sempre alcança"
Renato Russo -
My iPhone needs to be unlocked with a passcode that doesn't exist after updating to iOS 7.
I updated my iPhone to iOS 7 today and now it want me to unlock the phone with a passcode. The thing is that I never had a passcode on my iPhone so there isn't any code to unlock the phone with. What should I do? Any help are very much appreciated. Thanks.
Help for forgotten passcode > iOS: Forgotten passcode or device disabled after entering wrong passcode
When you have access to your iPhone again, FaceTime is a pre installed app that cannot be removed.
Try a search > iOS: Understanding Spotlight Search -
My proximity sensor doesn't work after call waiting
My proximity sensor works fine during calls. Until someone calls in while I'm on the call. Whether I answer or not, when I pull it away from my face it activates the screen as it should, but it never turns it back off when I continue the conversation. This ONLY happens with call waiting. once i press on the home button and unlock the phone it works fine, knowing that i had a replacement for the phone for the same fault and now and i don't know what to do as my brother's phone is exactly the same however it works fine.
I have an iPhone 6 running 8.2Try removing your case. If still an issue, take it in to Apple. You have a 1 year warranty.
-
Need to send Smart form via email through Driver program
Hi All,
We need to send smart form via email through a new driver program (z program). Can you please guide me on this.
I have used the following code to achieve this. We are getting message saying 'Mail request has created' when executed, but the mail is not sent.
lvs_comm_type = 'INT'.
lvs_comm_values-adsmtp-SMTP_ADDR = e_mail.
lvs_comm_values-adsmtp-R3_USER = 'X'.
lvs_comm_values-adsmtp-ENCODE = '0'.
call function 'CONVERT_COMM_TYPE_DATA'
exporting
pi_comm_type = lvs_comm_type
pi_comm_values = lvs_comm_values
pi_screen = ' '
pi_newid = 'X'
importing
pe_itcpo = lvs_itcpo
pe_device = lvf_device
pe_mail_recipient = p_mail_recipient
pe_mail_sender = p_mail_sender
exceptions
comm_type_not_supported = 1
recipient_creation_failed = 2
sender_creation_failed = 3
others = 4.
if sy-subrc ne 0.
raise COMMUNICATION_ERROR.
endif.
control_parameters-device = 'MAIL'.
output_options-TDIMMED = 'X'.
output_options-TDDELETE = 'X'.
CALL FUNCTION fm_name
exporting
CONTROL_PARAMETERS = control_parameters
MAIL_RECIPIENT = mail_recipient
MAIL_SENDER = mail_sender
OUTPUT_OPTIONS = output_options
USER_SETTINGS = space
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
Thank youHi,
For sending smartform output into mail you first have to generate spool request and convert it into PDF and then
only it can be sended into mail, please find the sample code in the mail below:
http://wiki.sdn.sap.com/wiki/display/sandbox/ConversionofSpoolRequestDataintoPDFandExcelFormatandSenditintoMail
Mansi
Edited by: Matt on Jan 29, 2010 8:25 AM - removed code, instead point to wiki that Mansi authored. -
Hi All,
How do i find the driver program name just knowing the form name. I tried out in Table "TNAPR" but in vain.How do i get it in NACE? what is the "application" that should be selected?Hi,
All Standard Scripts are in client '000'.
We have to copy them to '800'. (this is your own company define client no)
All Standard Scripts and their respective print programs are listed in table 'TNAPR'.
Ex: FORM MEDRUCK has the Driver Program SAPFM06P.
NOTE: Never make any changes to the Standard Driver Programs
STEP 1.
Goto Transaction Code <SE71> and
select from Menu UTILITIES ->Copy from Client.
Enter the Standard Form Name, It source Client 000 and the target Form Name that you want it to be saved as on your client.
Say you are naming it as zmedruck1.
Click on EXECUTE.
STEP 2.
Converting form to English.
Open zmedruck1 in <SE71> With language DE.
Then goto UTILITIES -> Convert Original Language from DE to EN.
Then you can modify the layout for example, chaging the logo, or changing the headers, or adding any new code to do some calculation etc.,
SAVE THE CHANGES AND ACTIVATE.
Then select from the menu FORM -> CHECK -> TEXT.
SELECT your driver program name from the list adn click on COPY.
If you don't see the program name in the list then click on
'APPEND PRINT PROGRAM' and add your program name and then select it from the list and click on COPY.
STEP 3: Assigning our form to the standard print program.
Start Tr.Code <NACE>.
In our present case since we are working on 'Purchase order' we have to select EF and click on the button Output Types.
Then on Right hand side, scroll down and select NEU - New P O Printout.
(This may change for different programs).
Then Double click on Processing Routines on Left hand side.
Change from Display -> Change Mode.
Give your form name (zmedruck1) for printoutput and SAVE.
STEP 4:
Start Tr.Code <ME22N> since you are working on Purchase order and click on print Preview to make sure your layout etc., changes are OK. If not again you have to make the changes accordingly.
Thanks
and please reward points -
Smart forms driver program name for SF_LB_INVOICE
hi abapers
pls help me to find the driver programs for a standard smart forms like (SF_LB_INVOICE).
i need the driver program name of this smart form.
thnks
pardeepHi ,
Goto Global Settings -> Form Attributes
In the Form Attributes,click the General attributes tab you will find the package name of the smartform.
Regards
DV -
Smart form and its driver program for sales order
Hi Experts,
Please give me the standard Smart Form name along with its Standard driver program.
I already have RVADOR01 program which is a driver program for SAP Script RVORDER01.
But I need standard smart form with its standard driver program for VA02, VA03 (Sales order) transaction.
<REMOVED BY MODERATOR>
Thanks In Advance
Ram
Edited by: Alvaro Tejada Galindo on Apr 8, 2008 12:10 PMHi Ramachandra Babu,
Welcome To SDN!!
Check output types in NACE tcode...
Sample example,
Goto Transaction NACE --> Select Application V1(Sales) --> Click on Output Types --> Select the output type as BA00 (as generally BA00 is the output type associated with Sales Order ) --> Double click on the Processing Routines folder on the left and it will display the Form name and the corresponding driver programs name.
Regards
Kiran -
Spotify only displays black screen after video driver crashes
Using Windows 8.1 64x, AMD 7800 series card with the latest AMD 15.4 beta drivers. This driver release is prone to crashing. Spotify, though, doesn't recover after the driver crashes and only displays a black screen. Restarting the program fixes the problem, but it shouldn't have to be restarted in the first place.
I am so sorry to hear this, was it after an ad, i should be able to help, could you also tell me which country you are based in!
-
Getting " Application doesn't exist " in HFM workspace
Hi ,
When I am trying to open a application in my HFM workspace i am getting below error
" Specified Application doesn't exist"
Code : - 2147220954
Actor : General security Error.
I am able to open other applications in HFM workspace without any error.
Note : No other user is facing this issue and i was able to access this application last month .This may not be the right forum for HFM issue but anyhow...
Did you check Oracle support article.
Financial Management Error "The specified application doesn't exist" After Changing Name Of Cluster Or Application (Doc ID 738003.1)
Thx
Vivek -
hi,
Iknow form namesbut i dont know the driver program.
i could not find in the TNAPR table and NACE tcode.How will i know tht name. if any one knows plz reply me.
regards.Hi Subha,
Please chcek this thread perhaps it may help.
driver program
Regards,
Ferry Lianto
Please reward points if helpful.
Maybe you are looking for
-
FAQ: Why is Photoshop Elements cheaper? What's different about Photoshop?
What is Photoshop CS/CC (PSCS/PSCC)? Photoshop is a professional tool used throughout many industries as the standard for digital image manipulation and painting. It has very rich, and often complex, tools and options. As such, it comes with a profes
-
Calling Family Object Using SWC_EVENT_CREATE
Dear Experts, I want to execute a workflow that using the 'CREATED' event in Family BOR. I've already pass the OBJKEY that contains the structure of PAKEY, and some other elements using the macro swc_element_get. But when I check at the log container
-
Java3D Non-Applet Example Code
Hi, i've been searching far and wide for an example of Java3D code that is NOT used inside an applet. If someone could please post the most basic elements of a Java3D program used in an application, I would greatly appreciate it. Thank you! If you kn
-
Hi I'm trying to achieve what I thought it was a simple thing (and turned out not to be so): I'm importing a set of variables and values from an external file via menu Import/Dataset/Apply... Occasionally, I'd like not to return any value from an spe
-
Real time scenario for sales order types
Hi gurus, could u plz explain realtime scenario, where we will use the following order types. 1. Manual Order 2. Dir dispatch order 3.loose packs order 4. manual return order 5. dir dispatch return order. Plzzzz help on this. Urs Manasa