Form does not exist
HI
am new to smartforms. plz tell how to create the table and template in smartforms clearly.
when am preview the form it could print the field name instead of values. and
when am executing the form with the print program . it depicts the form does not exist.
pls rectify this.
regards
surender
Hi,
see the below link
http://help.sap.com/saphelp_nw04/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
for tables
http://help.sap.com/saphelp_nw04/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
for templates
here is some piece of code to call the Smartform from report.
REPORT ZSALES_PRINT NO STANDARD PAGE HEADING.
DATA FLAG(1).
DATA: FORM_NAME(30) VALUE 'ZSALES_PRINT'.
DATA: FM_NAME TYPE RS38L_FNAM.
PARAMETERS: VBELN LIKE VBAK-VBELN OBLIGATORY,
KUNNR LIKE VBAK-KUNNR OBLIGATORY.
DATA: BEGIN OF ZITAB OCCURS 0.
INCLUDE STRUCTURE VBAP.
DATA: END OF ZITAB.
DATA ZITAB1 LIKE ZITAB OCCURS 0 WITH HEADER LINE.
DATA: SVBELN TYPE DDSHRETVAL.
TABLES: VBAK, VBAP.
START-OF-SELECTION.
SELECT SINGLE * FROM VBAK WHERE VBELN = VBELN
AND KUNNR = KUNNR.
SELECT * FROM VBAP INTO CORRESPONDING FIELDS OF TABLE ZITAB
WHERE VBELN = VBAK-VBELN .
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = FORM_NAME
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 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.
CALL FUNCTION FM_NAME
EXPORTING
VBELN = VBELN
KUNNR = KUNNR
FLAG = FLAG
TABLES
ZITAB = ZITAB
ZITAB1 = ZITAB1.
Regards,
Jagadeesh
Similar Messages
-
ESS Salary statemenr: Form Does not exist error
Hi Experts,
As mentioned in may threads, I have changed the form name for salary statement to the custom form name in SPRO- --> HRFOR
But the portal displays "Form does not exist" error. Could not find a solution in any existing post on sdn.
Urgent help needed.
Thanks,
ShobhitHi,
If your payslip form is desinged in PE51, then follow these steps.
Employee Self-Service-> Service-Specific Settings-> Benefits and Payment-> Salary Statement-> Form Using HR Forms Editor (PE51)
a. Edit Feature HRFOR: Maintain the constant $CEDT$ for MOLGA 40 RCLAS +01(03).
b. Enter Payslip variant in EDTIN feature
c. Maintain smartform name in EDPDF
If your payslip form is designed in HRFORMS, then enter the form name in HRFOR feature and enter the variant in EDTIN.
Cheers!!
Ashutosh -
Form does not exist or was deleted by administrator
Hi everyone,
There was an Error when i pressed the button Preview in "Form and Ad Hoc Grid Management"
ERROR
Messages for this page are listed below.
Error
Form does not exist or was deleted by administrator.
Error
The form 1.Cement is invalid. Check log for details.
Did you see this message and how you solved it
Please show me the way to fix ít
Thank you so much!!I hope you are on 11.1.2.X and have admin rights on planning app.
From Administation-> Manage->Form and adhoc grids
Now search for 1.Cement form and try to edit and save again...
Cheers!
Sh!va -
I am getting an error from the online link for my form. It states 'An error has occurred, The form does not exist'. This happens even when I try to test the form.
Link to the form https://adobeformscentral.com/?f=vMkDjyz3if1VfBg4boBy%2Aw
Can anyone help?
Thanks
NigelHi Andrew,
Have you tried testing the web link? It is not an ISP issue. The error I am getting is from Adobe, it says the form does not exist. Here is a link to the error.
https://formscentral.acrobat.com/downloaderror.aspx?errorCode=AccessControlViolation&reque stedURL=/%3Ff%3DhPB8phF0F57hcn…
The link to the form is below
https://adobeformscentral.com/?f=hPB8phF0F57hcniw41k6CQ
Maybe try it when not signed into your adobe account? not sure if that makes a difference.
Nigel -
Smart forms Error - Form does not exist
Hi,
I have created a smart form and activated without any inconsistancies. SE38 code has been done properly and activated.
While executing the forms an error has raised saying 'Form does not exist'.
Could anyone suggest me what is the route cause for this error?
Regards,
Arundathi.Hi
Have you designed the smartform in SMARTFORMS tcode?
after writing the code
see the steps and check once again
How to create a New smartfrom, it is having step by step procedure
http://sap.niraj.tripod.com/id67.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
Here is the procedure
1. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
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'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
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.
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
<b>step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html</b>
Subtotals - Check the link...
Re: Subtotal with Table Node in smartforms
<b>Reward points for useful Answers</b>
Regards
Anji -
Why is the link to my form getting this message? I copied the link right from the page. An error has occurred. The form does not exist. Please re-enter the web address as the link may be misspelled. [ref: cixTdh4JnkymYgz7awKoQ, BadRequest]
My form - which was working great - disappeared when I did some editing; here is the message I get now.
The form does not exist. Please re-enter the web address as the link may be misspelled.
The link for the form is:
https://adobeformscentral.com/?f=UqJr%2Aas2RJIHPVA4iGIQ6w
Please look into the matter and resolve the issue at the earliest.
Regards,
Vaibhav Nigam -
I've done this successfully in the past so why am I receiving an error report after placing a new link to a form into my website page and testing the link from my website? Here's the error message: An error has occurred. The form does not exist. Please re-enter the web address as the link may be misspelled. [ref: VFS3sNB28XnqlIfeTBcHKA, BadRequest]
My form - which was working great - disappeared when I did some editing; here is the message I get now.
The form does not exist. Please re-enter the web address as the link may be misspelled.
The link for the form is:
https://adobeformscentral.com/?f=UqJr%2Aas2RJIHPVA4iGIQ6w
Please look into the matter and resolve the issue at the earliest.
Regards,
Vaibhav Nigam -
Dunning error (form does not exist)
Hi,
While performing the dunning after selection the Individual dunning notice for printout the system shwoing error that '''FORM F150_DUNN_01''' DOES NOT EXISTS.
When I tried several times to performance the dunning it showing the same error message as above said.
Can any one let me know why does this happening. please give your valuable solution regarging on the above said issue.
Thanks in Advance.
Regards,
SureshHi
In Dunning Procedure --- FBMP
you will select new entries and give Dunning procedure , name , dunning intervals in days , No. of dunning levels , line item grace periods , interest indicator , select standard transaction dunning checkbox , reference dunning procedure for texts(dunning procedure) and save.
select Dunning texts button and give company code and select customer radio button and enter.
select new company code button and give company code and enter.
select seperate notice per dunning level checkbox
Deselect Dunning by Dunning Area checkbox and save.
select back arrow and select yes for the message to save the data.
select dunning texts button once again , give company code , select customer and enter.
Dunning level (1) Form (F150_DUNN_01)
Dunning level (2) Form (F150_DUNN_01)
Dunning level (3) Form (F150_DUNN_02)
Dunning level (4) Form (F150_DUNN_02)
select dunning levels button and under print parameters , select Always Dun CheckBox's.
select charges button , give currency and enter.
select back arrow and save
Assign the Dunning procedure in Customer Master.
Check with the Dunning Procedure you had created.
Regards
Venkat -
Say you put a button on a form and dont change the font ie ms san serif, then the app is installed on a system that does not have the font ms san serif installed. Is it supposed to throw an error when the form initializes? Since this happens before any user
code the error can go untrapped in the start up form and crashes to the system.
I discovered it does this if you specify the font in the designer to be "Arial Narrow" and it is not installed. But whats funny is the error is not font does not exist, it is "Arial Narrow" does not support style Regular. Even though
I set the font in the IDE for the control. How can I be setting it with the IDE to something that does not exist for the font I set (Arial Narrow is on the IDE system)?
I have always thought that vb would just use a different font if the control font did not exist without an error. In my case it was a secondary form so the error was trapped. But, I don't see how to trap the error if it is the startup form.PS
"I meant that you should set the buttons font to something like
MS Sans Serif "
What if ms sans is not on the system? Then you cant do anything.
Maybe I am being picky but just sayin...
I don't suppose you're being picky specifically although I think I got a headache attempting to do the below.
I do think this is a bug though which you should probably report.
However I tried this and it worked fine. Except I had to alter the Form1.Designer.vb file to do this. I tested this. I didn't test without this to see if I would get the exception you received.
I downloaded a Font called Kingsthings Christmas from the second link in my post for links to download fonts. Added that to my systems Fonts and tested the code. Removed that from my systems fonts and tested the code. It worked in both instances.
I suspect that the Font in the Form1.Designer.VB file for the New Font for the TabControl and TreeView would work with the default system font set to use 21.75! and font style regular but if the default system font didn't support both of those then an issue
could occur obviously. So if somebody used Control Panel to set the default system font to something that doesn't support those two things then you will need to alter the code to detect what the default system font can use for those two settings
possibly.
Form1's code
Option Strict On
Imports System.Drawing.Text
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.Location = New Point(CInt((Screen.PrimaryScreen.WorkingArea.Width / 2) - (Me.Width / 2)), CInt((Screen.PrimaryScreen.WorkingArea.Height / 2) - (Me.Height / 2)))
TreeView1.BeginUpdate()
TreeView1.Nodes.Add("Parent")
TreeView1.Nodes(0).Nodes.Add("Child 1")
TreeView1.Nodes(0).Nodes.Add("Child 2")
TreeView1.Nodes(0).Nodes(1).Nodes.Add("Grandchild")
TreeView1.Nodes(0).Nodes(1).Nodes(0).Nodes.Add("Great Grandchild")
TreeView1.EndUpdate()
For Each f As FontFamily In New InstalledFontCollection().Families
RichTextBox1.AppendText(f.Name.ToString & vbCrLf)
Next
End Sub
End Class
Form1.Designer.VB files code which you're not supposed to alter of course.
Option Strict On
Imports System.Drawing.Text
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Dim FontToUse As Font
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
For Each f As FontFamily In New InstalledFontCollection().Families
If f.Name.ToString = "Kingthings Christmas 2" Then
FontToUse = New Font(f.Name.ToString, 24)
Exit For
Else
FontToUse = New Font(SystemFonts.DefaultFont.FontFamily.Name.ToString, 24)
End If
Next
Me.TabControl1 = New System.Windows.Forms.TabControl()
Me.TabPage1 = New System.Windows.Forms.TabPage()
Me.TabPage2 = New System.Windows.Forms.TabPage()
Me.TabPage3 = New System.Windows.Forms.TabPage()
Me.TabPage4 = New System.Windows.Forms.TabPage()
Me.TabPage5 = New System.Windows.Forms.TabPage()
Me.TreeView1 = New System.Windows.Forms.TreeView()
Me.RichTextBox1 = New System.Windows.Forms.RichTextBox()
Me.TabControl1.SuspendLayout()
Me.SuspendLayout()
'TabControl1
Me.TabControl1.Controls.Add(Me.TabPage1)
Me.TabControl1.Controls.Add(Me.TabPage2)
Me.TabControl1.Controls.Add(Me.TabPage3)
Me.TabControl1.Controls.Add(Me.TabPage4)
Me.TabControl1.Controls.Add(Me.TabPage5)
Me.TabControl1.Font = New System.Drawing.Font(FontToUse.FontFamily.Name.ToString, 21.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.TabControl1.Location = New System.Drawing.Point(6, 32)
Me.TabControl1.Name = "TabControl1"
Me.TabControl1.SelectedIndex = 0
Me.TabControl1.Size = New System.Drawing.Size(600, 183)
Me.TabControl1.TabIndex = 0
'TabPage1
Me.TabPage1.Location = New System.Drawing.Point(4, 43)
Me.TabPage1.Name = "TabPage1"
Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
Me.TabPage1.Size = New System.Drawing.Size(592, 136)
Me.TabPage1.TabIndex = 0
Me.TabPage1.Text = "TabPage1"
Me.TabPage1.UseVisualStyleBackColor = True
'TabPage2
Me.TabPage2.Location = New System.Drawing.Point(4, 43)
Me.TabPage2.Name = "TabPage2"
Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
Me.TabPage2.Size = New System.Drawing.Size(592, 136)
Me.TabPage2.TabIndex = 1
Me.TabPage2.Text = "TabPage2"
Me.TabPage2.UseVisualStyleBackColor = True
'TabPage3
Me.TabPage3.Location = New System.Drawing.Point(4, 43)
Me.TabPage3.Name = "TabPage3"
Me.TabPage3.Padding = New System.Windows.Forms.Padding(3)
Me.TabPage3.Size = New System.Drawing.Size(592, 136)
Me.TabPage3.TabIndex = 2
Me.TabPage3.Text = "TabPage3"
Me.TabPage3.UseVisualStyleBackColor = True
'TabPage4
Me.TabPage4.Location = New System.Drawing.Point(4, 43)
Me.TabPage4.Name = "TabPage4"
Me.TabPage4.Padding = New System.Windows.Forms.Padding(3)
Me.TabPage4.Size = New System.Drawing.Size(592, 136)
Me.TabPage4.TabIndex = 3
Me.TabPage4.Text = "TabPage4"
Me.TabPage4.UseVisualStyleBackColor = True
'TabPage5
Me.TabPage5.Location = New System.Drawing.Point(4, 43)
Me.TabPage5.Name = "TabPage5"
Me.TabPage5.Padding = New System.Windows.Forms.Padding(3)
Me.TabPage5.Size = New System.Drawing.Size(592, 136)
Me.TabPage5.TabIndex = 4
Me.TabPage5.Text = "TabPage5"
Me.TabPage5.UseVisualStyleBackColor = True
'TreeView1
Me.TreeView1.Font = New System.Drawing.Font(FontToUse.FontFamily.Name.ToString, 21.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.TreeView1.Location = New System.Drawing.Point(9, 229)
Me.TreeView1.Name = "TreeView1"
Me.TreeView1.Size = New System.Drawing.Size(704, 235)
Me.TreeView1.TabIndex = 1
'RichTextBox1
Me.RichTextBox1.Location = New System.Drawing.Point(9, 475)
Me.RichTextBox1.Name = "RichTextBox1"
Me.RichTextBox1.Size = New System.Drawing.Size(702, 124)
Me.RichTextBox1.TabIndex = 2
Me.RichTextBox1.Text = ""
'Form1
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(720, 606)
Me.Controls.Add(Me.RichTextBox1)
Me.Controls.Add(Me.TreeView1)
Me.Controls.Add(Me.TabControl1)
Me.Name = "Form1"
Me.Text = "Form1"
Me.TabControl1.ResumeLayout(False)
Me.ResumeLayout(False)
End Sub
Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
Friend WithEvents TabPage3 As System.Windows.Forms.TabPage
Friend WithEvents TabPage4 As System.Windows.Forms.TabPage
Friend WithEvents TabPage5 As System.Windows.Forms.TabPage
Friend WithEvents TreeView1 As System.Windows.Forms.TreeView
Friend WithEvents RichTextBox1 As System.Windows.Forms.RichTextBox
End Class
La vida loca -
Field T_STCD1 does not exist in form this erroe msg coming in smartform
hi,
in my smartform, if i give one set of input like, 1st qtr of 2008, vendor and compcode, its displaying the value.
but if i give the input like 1st qtr of 2007, vendor and some other compcode its giving some error like
field T_STCD1 does not exist in form .
this error coming after printpreview and not displaying.
how can i debug it.
can any one help me...........plz
its very urgent.
thanks.report zmm_vat_ex_cert message-id zz .
TABLE DECLARATION *
tables: bseg , tvko.
*Intenal Tables Declarations *
types: begin of it_address_type .
include structure zvat_vendor.
types :end of it_address_type.
types : begin of it_address_info_type.
include structure zadrc_table.
types: end of it_address_info_type.
types : begin of it_desig_type.
include structure zmm_vat_sign.
types: end of it_desig_type.
types: begin of it_bkpf_type,
bukrs type bkpf-bukrs,
belnr type bkpf-belnr,
gjahr type bkpf-gjahr,
blart type bkpf-blart,
bldat type bkpf-bldat,
xblnr type bkpf-xblnr,
awkey type bkpf-awkey ,
end of it_bkpf_type.
types : begin of it_bseg_type,
bukrs like bseg-bukrs,
belnr like bseg-belnr,
gjahr like bseg-gjahr,
bschl like bseg-bschl,
mwskz like bseg-mwskz,
shkzg like bseg-shkzg,
wrbtr like bseg-wrbtr,
sgtxt type bseg-sgtxt,
end of it_bseg_type.
types: begin of it_rseg_type,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
bukrs like bkpf-bukrs,
txz01 type ekpo-txz01,
wrbtr type rseg-wrbtr,
end of it_rseg_type.
data:begda type d, endda type d.
types: begin of it_item_type.
include structure zitem_vat.
types:end of it_item_type.
data: it_rseg type table of it_rseg_type,
wa_it_rseg like line of it_rseg.
data: gt_addr type table of it_address_type.
data gt_addr_info type table of it_address_info_type.
data gt_bkpf type table of it_bkpf_type.
data gt_bseg type table of it_bseg_type.
data:
gt_tvko type standard table of tvko,
gt_item type table of it_item_type,
h_itab type table of it_bseg_type,
it_desig type table of it_desig_type,
temp_item type table of it_item_type .
data:wa_addr like line of gt_addr,
wa_addr_info like line of gt_addr_info,
wa_bkpf like line of gt_bkpf,
wa_bseg like line of gt_bseg,
wa_item like line of gt_item,
wa_h_itab like line of h_itab,
wa_it_desig like line of it_desig,
wa_temp_item like line of temp_item,
wa_tvko LIKE LINE OF gt_tvko.
wa_tvko type tvko.
Data Declaration *
data: sumtotal type bseg-wrbtr, "rbkp-waers ,
sl_no type zmm_vatex_sno-serial_no,
fiscal_year type string,
fm_name type rs38l_fnam ,
w_q_flag(5),
w_quarter type string ,
close_date type sy-datum ,
fiscal type sy-datum, fiscal_nxt type sy-datum,
gv_belnr type bkpf-belnr,
gv_gjahr type bkpf-gjahr.
data: ca_quarter type i.
data: l_adrnr type t001-adrnr.
data wa_vatex_sno type zmm_vatex_sno.
data: q(1).
data: stdtext(25).
S E L E C T I O N S C R E E N *
selection-screen begin of block b1 with frame title text-s01.
select-options: s_date for sy-datum obligatory no-extension.
parameters : vendor type lfa1-lifnr obligatory ,
compcode type bkpf-bukrs obligatory.
select-options taxcode for bseg-mwskz obligatory default 'VI'.
selection-screen end of block b1.
at selection screen
at selection-screen on s_date.
if s_date-low0(4) <> s_date-high0(4).
message e023 with text-e01.
endif.
*get calendar quarter using the month entered in From date.
*calculate the fiscal year and quarter
if s_date-low4(2) > '0' and s_date-low4(2) <= '3' .
ca_quarter = 1.
fiscal0(4) = s_date-high0(4) .
fiscal_nxt0(4) = s_date-high0(4) - 1.
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate 'last quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '4'.
elseif ( s_date-low4(2) > '3' and s_date-low4(2) <= '6' ).
ca_quarter = 2.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '1st quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '1'.
elseif ( s_date-low4(2) > '6' and s_date-low4(2) <= '9' ).
ca_quarter = 3.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '2nd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '2'.
elseif ( s_date-low4(2) > '9' and s_date-low4(2) <= '12' ).
ca_quarter = 4.
w_quarter = '3rd quarter of year'.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '3rd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '3'.
endif.
*get first and last day of quarter by fetching calendar quarter and year in FM
call function 'HR_99S_GET_DATES_QUARTER'
exporting
im_quarter = ca_quarter
im_year = s_date-low+0(4)
importing
ex_begda = begda
ex_endda = endda.
*validate the input dates is start and end of quarter
if s_date-low <> begda or s_date-high <> endda.
message e023 with 'Enter quarter begin and end dates only'.
endif.
*get last day of next month. for close date
endda = endda + 1.
call function 'RP_LAST_DAY_OF_MONTHS'
exporting
day_in = endda
importing
last_day_of_month = close_date
exceptions
day_in_no_date = 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.
Start of Selection
start-of-selection.
*CNO is specific to a Quarter/ Company code/ Vendor.
unpack vendor to vendor.
clear:sl_no, wa_vatex_sno.
select single * from zmm_vatex_sno into wa_vatex_sno where from_date
eq s_date-low and to_date eq s_date-high and vendor eq vendor
and compcode eq compcode.
if sy-subrc eq 0.
sl_no = wa_vatex_sno-serial_no.
else.
select max( serial_no ) from zmm_vatex_sno into wa_vatex_sno-serial_no WHERE
from_date eq s_date-low and to_date eq s_date-high and compcode eQ compcode.
if sy-subrc = 0.
sl_no = wa_vatex_sno-serial_no + 1.
else.
sl_no = 1.
endif.
wa_vatex_sno-from_date = s_date-low.
wa_vatex_sno-to_date = s_date-high.
wa_vatex_sno-vendor = vendor.
wa_vatex_sno-compcode = compcode.
wa_vatex_sno-serial_no = sl_no.
insert zmm_vatex_sno from wa_vatex_sno.
endif.
*data selection from bkpf by date,fiscal and compcode
refresh gt_bkpf.
select bukrs
belnr
gjahr
blart
bldat
xblnr
awkey
into table gt_bkpf from bkpf
where bukrs eq compcode and
budat in s_date and gjahr eq fiscal+0(4).
check not gt_bkpf[] is initial.
refresh gt_bseg.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr
sgtxt from bseg into table gt_bseg
for all entries in gt_bkpf where
bukrs eq compcode and
mwskz in taxcode and
lifnr eq vendor and
belnr = gt_bkpf-belnr and
gjahr = gt_bkpf-gjahr and shkzg = 'H'.
selection without vendor and posting key 40 *
refresh h_itab.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr from bseg into table h_itab
for all entries in gt_bseg
where bukrs = gt_bseg-bukrs and
belnr = gt_bseg-belnr and
mwskz = gt_bseg-mwskz and
gjahr = gt_bseg-gjahr and
( bschl = '40' or bschl = '21' ).
if sy-subrc = 0.
deduct the amount if posting key is 40 for PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '40'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart <> 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr
and bschl = wa_bseg-bschl .
endif.
clear wa_h_itab.
endloop.
deduct the amount if posting key is 21 for non-PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '21'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart = 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr.
endif.
clear wa_h_itab.
endloop.
endif.
final internal table
clear wa_item. refresh gt_item. clear wa_bseg.
loop at gt_bseg into wa_bseg.
read table gt_bkpf into wa_bkpf with key belnr = wa_bseg-belnr .
if sy-subrc = 0.
move :
wa_bkpf-xblnr to wa_item-xblnr,
wa_bkpf-belnr to wa_item-belnr,
wa_bkpf-bldat to wa_item-bldat,
wa_bseg-wrbtr to wa_item-wrbtr.
endif.
*selections for item description
refresh it_rseg.
select ekpoebeln ekpoebelp ekpobukrs txz01 rsegwrbtr
into table it_rseg
from rseg join ekpo
on rsegebeln = ekpoebeln
and rsegebelp = ekpoebelp
and rsegbukrs = ekpobukrs
where rsegbelnr = wa_bkpf-awkey(10) and rseggjahr = wa_bkpf-gjahr AND
ekpo~bukrs = wa_bkpf-bukrs.
if sy-subrc = 0.
loop at it_rseg into wa_it_rseg.
wa_item-txz01 = wa_it_rseg-txz01 .
if sy-tabix <> 1.
wa_item-wrbtr = wa_it_rseg-wrbtr .
wa_item-wrbtr = space .
endif.
append wa_item to gt_item.
endloop.
else.
wa_item-txz01 = wa_bseg-sgtxt.
append wa_item to gt_item.
endif.
clear: wa_bseg, wa_item.
endloop.
*if records not found give message.
if gt_item[] is initial.
message e000(vz) with text-x01.
endif.
calculate the sumtotal
loop at gt_item into wa_item.
sumtotal = sumtotal + wa_item-wrbtr .
endloop.
Selecting supplier address *
select single * from tvko into wa_tvko where vkorg = compcode.
append wa_tvko to gt_tvko.
if wa_tvko-vkorg = '2014'.
stdtext = 'Z_2014_SOFTEX'.
elseif wa_tvko-vkorg = '2006'.
stdtext = 'Z_2006_SOFTEX'.
else.
stdtext = wa_tvko-txnam_adr.
endif.
select lifnr
name1
name2
ort01
ort02
pfach
stras
regio from lfa1 into table gt_addr
where lifnr eq vendor .
Selecting sez address *
SELECT SINGLE adrnr FROM t001 INTO l_adrnr WHERE bukrs EQ compcode.
SELECT name1
name2
city1
city2
post_code1
post_code2
street
house_num1
FROM adrc INTO TABLE gt_addr_info
WHERE addrnumber = l_adrnr.
Information for designation *
select * from zmm_vat_sign into table it_desig where company = compcode
Call Function module SSF_FUNCTION_MODULE_NAME *
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZMM_VAT_EX_CERT'
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 module fm_name *
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'
doc_num = sl_no
quarter = w_quarter
date = s_date-high
sumtotal = sumtotal
close_date = close_date
fiscal_year = fiscal_year
ca_quarter = q
text_name = stdtext
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
tables
itab = gt_item
it_address = gt_addr
it_infoaddress = gt_addr_info
it_designation = it_desig
it_tvko = gt_tvko
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. -
Error :-The requested resource does not exist while opening the adobe form
hello Experts,
We are in Portal implementation face with ECC6 EHP4 and Portal EHP1
We have developed adobe form using HCM forms and processes and done the required configuration in SPRO
When we are trying to open the form from ESS we are getting below error
404 not found
The requested resource does not exist.
Please look into this issue and let us know any thing we are missing
Sincerely
Pareshis ADS working correctly?
1. Use transaction SA38 to execute the program FP_TEST_00.
Detailed information about this test program and about how you
should then proceed is given in the Adobe Document Services
Configuration Guide in the Help Portal under:
http://help.sap.com/saphelp_nw2004s/helpdata/en/37/504b8cbc2848a4
94facfdc09a359b1/frameset.htm -> Adobe Document Services
Configuration Guide -> Configuring the Web Service -> Securing
Access to the Web Service ->Configuration Check -> Configuration
Check for PDF-Based Forms in ABAP
- If the FP_TEST_00 form is displayed in the print preview, the
ADS configuration is correct.
-> If you use scenarios with an interactive PDF, proceed with
point 5. Otherwise, proceed with the test under point 6.
- If the system displays an error message instead of a form, the
configuration of ADS is incorrect.
-> Carry out the additional tests from point 2 onwards.
2. Use transaction SA38 to execute the program FP_PDF_TEST_00.
This enables you to check the RFC connection to ADS (see the
reference to the documentation given above).
- If the system displays the version number of ADS, the
configuration of the RFC connection is correct.
read the note 944221
Please paste the whole error? Is any dump in ST22 -
View Paycheck Stub Error: (Form xyz does not exist)
Hi Portal Knowledgeable ones,
I am running EP 6.0 SP 13. My SAP target is ECC 5.0.
I have a problem in the ESS application. When I attempt to view the paycheck stub for any employee, the portal returns the error:
<b>com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Form ZCHK does not exist</b>
Form ZCHK is our custom paystub form.
Thanks,
Kevin
<i></i>Had to include form via IMG.
-
Hello all. I have an InfoPath form that opens from the test server fine. However, when I try to open it in Production I receive the following SOAP response.
"The SOAP response indicates that an error occurred on the server:
Server was unable to process request. ---> List does not exist.
The page you selected contains a list that does not exist. It may have been deleted by another user. ---> List does not exist.
The page you selected contains a list that does not exist. It may have been deleted by another user."
I am trying to fix an auto generated form field for the web part that runs the my Project Management list. In test the increment by 1 works fine. I.E. "LEAD-2015-5". In Prod the list is returning NaN ( Not a Number ) for each project
id. I.E. "LEAD-2015-NaN"
The list is in Standard View when I edit the web part/page.
Any help is much appreciated. As a developer I despise SharePoint, but I have to do what I have to do! :)Hello,
If you are trying to get max item id from list then it returns "NaN" if there is no item. If you have items in prod list then open your form in IP designer and check the data connection. Make sure that all data connection links are referring to
prod links.
Also make sure that user is having at least read permission to that list to access data so verify this also.
Let us know your result
Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Node id does not exist for the current application server id on forms
Hi,
We have a Two node RAC setup on which Oracle e-business suite R12.0.6 is setup
We have CP and DB on two RAC nodes and Forms and Web on two separate server(non-RAC)
while opening oracle forms we are getting" Node id does not exist for the current application server id "
on checking Concurrent manager logfile we founf no error, we matched Application Server id from DBC file of all the 4 nodes with application table
Fnd_nodes... which matches ( there is no mismatch of application server id) .
We have also tried commenting the application server id in dbc file and executed adgendbc.sh to regenarate dbc file but we are facing the same issue.
Also tried to clear setup with fnd_conc_clone.clean setup and again executing autoconfig on db and application tier but no result yet.
Can some one guide as to which file has this message "Node id does not exist for the current application server id "
and what could be the reason for this.
Help is appreciated.
Regards,
MilanI already tried the mentioned metalink note id but it did not work.What did you try exactly?
Can u help out as from where am i getting the message "Node id does not exist for the current application server id" It is already mentioned in the doc referenced above -- From the dbc file under $FND_SECURE directory.
i mean from which file does the above message comes.Please clean FND_NODES table as per (How to Clean Nonexistent Nodes or IP Addresses From FND_NODES [ID 260887.1]), run AutoConfig on the database tier then on the application tier and check then.
Thanks,
Hussein -
Dear Experts
My client is using SAP ECC6 EHP4 and We recently updated the HR Service Pack to SAPK-60464INSAPHRCIN in order to apply the SAP Note 1829618 - PY-IN: Union Budget Changes for Year 2013.
After upgrading Service Pack we are getting the below error while generating Form-16.
Layout set HR_INF16_2012_B in language EN does not exist
How to resolve this issue
ThanksThis a Blunder from SAP. And this issue we are getting in almost all the client.
For this we have to download respective Form from Golder client 000 and upload again in our working client.
Better please raise an OSS message with SAP to provide you the steps.
Thanks & Regards
Rupesh Jain
Maybe you are looking for
-
Fatal error when importing Photoshop PSD files in Captivate 5.5 MAC
Hello, I'm running Captivate 5.5 Trial on MAC OS X Snow Leopard. All of a sudden one of my PSD files started causing a fatal error when I try to import it into Captivate. I tried resaving both captivate and PSD file, saving them under different names
-
My ipod Touch 4G is on it's way
Is there anything I should know before I start using it?
-
I created an HTML file in Text Edit and another in Microsoft Word and saved the extensions as .htm and .html When I try to open the webpages in Safari by going to File > Open File, the HTML documents show only the source code in Safari instead of the
-
Where has the 'send a gift' section gone in iTunes?
Hi A while ago I sent a piece of music as a gift to a friend. It was done by clicking a link on the iTunes page when I selected a song and went on to pay. I tried to do this again today but the link doesn't seem to be there. There is one for vouchers
-
Incomplete iCal sync iPhone 4S OS6.0 & MacBook Pro OS10.6.8
Hello community wisdom, two weeks ago I switched from my old iPhone 3G (iOS 4.2.1) to a new iPhone 4S (iOS 6.0). Since then I have an annoying trouble with incomplete syncing of my iCal calendars (MacBook Pro OS10.6.8, iTunes 10.7). I do syncing via