Help needed in Form userexit_save_document_prepare include MV45AFZZ
Hi Experts,
I need to check the values entered in table control under sales tab in VA01.
If the item category for a material is 'TANN' it should save if not it should not save and display an error message and then it should alow the user to edit the table control values.
how do i achieve it in Form userexit_save_document_prepare include MV45AFZZ.
this is what I have done. kindly check the logic and help me further.
case sy-ucomm.
when 'SICH'. " On Save action
if vbak-vtweg eq 'HA'. " Check Distribution channel
flg_dh = 'X'. " Sets if DC is 'HA'.
endif.
if flg_dh eq 'X'.
if vbap-pstyv eq 'TANN'. " Check item category
flg_itmc = 'X'. " Set if item cat is 'TANN'.
else.
message 'SO could not be created Please enter brokerage material' type 'E'.
endif.
Hi,
Please use the following:
when 'SICH'. " On Save action
if vbak-vtweg eq 'HA'. " Check Distribution channel
flg_dh = 'X'. " Sets if DC is 'HA'.
endif.
if flg_dh eq 'X'.
if vbap-pstyv eq 'TANN'. " Check item category
flg_itmc = 'X'. " Set if item cat is 'TANN'.
else.
message 'SO could not be created Please enter brokerage material' type 'E' display like 'E'.
endif.
endif.
Similar Messages
-
Hi,
I need help with 2 things:
1. I want to create a form with name,subject and message box on for the user to fill out and then when they click submit it sends the form to my email address.
2. I want to create a form where the user can upload their CV and then click submit and it will send the CV to my email address aswell.
Can any1 help?
Cheers
DanThanks for that, i have followed the steps but cant test it out till i have finished the site and uploaded it, will let u know if it was
successfull!
cheers
Dan -
Immediate help needed for Forms on Citrix
All Gurus
Form works perfect on desktop but when I put in on citrix then it didn't work. problem is when we click on any push button that is not executing a code behind it. so push button in forms are not working. we installed forms 6i runtime software on citrix. is there anything do I need to do to make buttons work.
Thank you so much
NitinI compiled my form on desktop and its working fine then I moved .fmx file to citrix and there button is not working. other thing using forms default menu if I use execute query it works but when I click on button (when-button pressed trigger and code is go_block, execute_query) then it doesn't execute. so I added just message for testing and message also not populating. so what would be the issue?
where you are saying I have to compile form on citrix and how we can compile on citrix? pl. help.
do you have forms installed on citrix?
pl.help
Thanks
Nitin -
Help needed in forming dynamic insert statement
HI,
I am trying to construct a insert statement as given below.
Please help me as to how to form this and where am i going wrong?
i want the columns names to be auto populated when a table name is given.
output should be like:
==============
insert into tablename
col1,col2,col3..coln)
values
(col1, col2, col3..coln);
declare
v_sql varchar2(5000);
cnt number :=0;
col_count number;
name varchar2(5000);
TYPE string_assarrtype IS TABLE OF VARCHAR2 ( 25 ) INDEX BY VARCHAR2 ( 20 );
arr string_assarrtype;
BEGIN
select count(column_name) into col_count from user_tab_columns
where
table_name = 'PS_D_RE_BCSREGIONMAPPING';
v_sql:='insert into tablename (' ;
for i in 1..arr(col_count)
loop
v_sql:='v_sql' ||' '||arr(i);
DBMS_OUTPUT.PUT_lINE(v_sql);
END LOOP;
END;Below is the actual code which i am trying to write:
Since the below trigger logic is same for around 25/30 tables i wanted to construct a generic procedure which will take input parameter as tablename and auit_table and form the insert statement which will populate the column names which are different for different tables.
Please guide...
CREATE OR REPLACE PROCEDURE make_trigger( tablename in VARCHAR2,
auditable in VARCHAR2
AS
v_sql varchar(10000);
begin
v_sql := 'DROP TRIGGER TRD_D_AUDIT_D'||tablename;
dbms_output.put_line (v_sql );
v_sql:='CREATE OR REPLACE TRIGGER TRG_D_AUDIT_D_'||tablename||' '||
'BEFORE INSERT OR UPDATE OR DELETE ON 'tablename||' '||' REFERENCING OLD AS OLD NEW AS NEW
FOR EACH ROW';
dbms_output.put_line (v_sql );
v_sql:= 'DISABLE
DECLARE
v_Operator psoprdefn.oprid%type;
v_Sysdate Date;
v_Actn varchar2(1);
V_AUDIT_RECNAME PSRECDEFN.RECNAME%type;
BEGIN';
dbms_output.put_line (v_sql );
v_sql:= 'If (Inserting) Then
v_Actn :='||'''||'A'||'''||';'||
'Insert into '||auditable||'
('||
AUDIT_RECNAME,
AUDIT_ACTN,
AUDIT_OPRID,
AUDIT_STAMP,
D_USER_GROUP,
D_GROUP_DESC,
D_BCS_ID,
D_UBR_ID,
D_FILTER_ID,
D_NAME_ACCESS_TYPE,
D_GLOBAL_EMP_LIST
Values
V_AUDIT_RECNAME,
v_Actn,
v_Operator,
v_Sysdate,
:NEW.D_USER_GROUP,
:NEW.D_GROUP_DESC,
:NEW.D_BCS_ID,
:NEW.D_UBR_ID,
:NEW.D_FILTER_ID,
:NEW.D_NAME_ACCESS_TYPE,
:NEW.D_GLOBAL_EMP_LIST
end if;
end;Edited by: user11942774 on Oct 5, 2012 11:46 AM
Edited by: user11942774 on Oct 5, 2012 8:09 PM
Edited by: user11942774 on Oct 5, 2012 8:10 PM -
Help needed - XML forms not displaying in my repository
Hi all
I could really do with some help here. I have a custom XML form for news articles. It works fine in the standard documents repository, but I have my iView pointing to a folder in my own CM repository.
When a user tries to directly access the "show" form, instead of the form it displays the XML code. Any ideas why this is?
My CM repository is running the following services:
layout, properties, svc_acl, tbp
EP6SP14
Thanks! ChrisHello,
I have the same problem. When I'm trying to create an XML file using XML form in the repository /etc, I get the following error:
XML - Forms
Cannot create item e0977870-cf29-2d10-bb89-d00b5761268c.xml in collection /etc/public/; operation is not supported.
When I do the same in repository /documents, it works fine.
I think, I've made the neccesary settings for the repository (Form Based Publishing, ...).
Any clues will be highly appreciated.
Jiri -
HELP NEEDED IN FORMING A QUERY...URGENT.....
Hi,
I have a table where in that an employee has multiple rows,
in that i need to query a particular column values, and need to display
in one column separated any special charactar like ":". I need this query.
ex:
EmpID in_time
1900 9:00:00
1900 9:45:00
1900 10:50:00
Here i want to display this as
EmpID time
1900 9:00;9:45;10:50;
Please give me your valuable contributions...create table user644354(empid number(4),in_time varchar2(8));
insert into user644354 values(1900,'9:00:00');
insert into user644354 values(1900,'9:45:00');
insert into user644354 values(1900,'10:50:00');
commit;
select substr(max(SYS_CONNECT_BY_PATH(In_Time, ', ')),2) In_Time FROM
(SELECT in_time,ROWNUM NBR FROM (SELECT In_time FROM user644354 e where empid=1900))
CONNECT BY PRIOR NBR = NBR - 1 START WITH NBR = 1
Regards
Girish Sharma -
Help needed in forming relations
Hello,
I am new to oracle form builder,
1)Is there a way to query the database and display the desired result in tabular view?
2)I want to write the query joinin multiple data blocks is there a way to do this(without any constraints)?
If possible please show me some examples.:8}hi,
1:
yes it's possible:
- use the datablock-wizard to create a block based on a table e.g. EMPLOYEES, choose the desired columns you want to show
- when on the last page of the datablock wizard you're asked if you want to open the layout wizard, say yes
- in the layout wizard, choose the columns you want to show, enter prompts on the next page, and, when asked, choose tabular layout and the number of rows to display.
- after finishing the aylout wizard the Layout-ediotr opens and show the layout.
- run the form, query some data (using menu or ctrl-F11)
2:
Yes, you can join tables together without any constraint, but there should (of course) be a at least a logical relation between the tables.
hope this helps -
Unable to add code in USEREXIT_SAVE_DOCUMENT_PREPARE in include MV45AFZZ
Hi Experts,
I need to add some custom codes in USEREXIT_SAVE_DOCUMENT_PREPARE
-> I opened the include program MV45AFZZ in display mode
-> Edit -> Enhancement operations -> Show implicit enhancement operations.
On the status bar it displays an information "Creating of enhancement supported only for line length > 72"
inside form USEREXIT_SAVE_DOCUMENT_PREPARE I right clicked -> selected enhancement implementations -> create.
and now I get the same message On the status bar "Creating of enhancement supported only for line length > 72" .
how do I add a piece of code here.
I can't type in under USEREXIT_SAVE_DOCUMENT_PREPARE.
Give a solutions experts.
Regards,
Ranjith NHi ,
I believe we need not use the enhancement framework in MV45AFZZ
Go to SE38 -> MV45AFZZ -> change mode
Keep the mouse on the user exit USEREXIT_SAVE_DOCUMENT_PREPARE
On the tool bar click on "Insert" icon ->icon description: Insert Line Area
ControlShiftF8....
An editable area will be displayed with a
*{ INSERT &$&$&$&$ 1
*---> Write code here
*} INSERT
Save and activate the code
Hope it helps
Regards
Byju -
Help needed with this form in DW
Hi, i have created this form in dreamweaver but ive got this problem.
In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
But the problem is when ill get the messages. Only the text from the large text field is there.
What did i do wrong??
http://www.hureninparamaribo.nl/contact.html
Thank you
Anybody??Thank you for your response. So what do i have to do to fix this?
Date: Sun, 20 Jan 2013 07:57:56 -0700
From: [email protected]
To: [email protected]
Subject: Help needed with this form in DW
Re: Help needed with this form in DW
created by Ken Binney in Dreamweaver General - View the full discussion
You have several duplicate "name" attributes in these rows which also appears in the first row
Telefoon:
Huurperiode:
Aantal personen:
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5008247#5008247
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Dreamweaver General by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Help needed in XML Form Builder
Hi All,
I require your help in XML form .
when we create a XML form in Builder we can define some caption values such as $sap_user , $ locDate which displays the
user id and date in the respective field when the form is opened.
I need to dispaly the phone number,department etc from the LDAP /UME to my from .
How can i get it .
Please help.
Regards,
NiteshWhich environment are you trying this in ? In Enterprise server, bursting is defined by a SQL query which can be run against the table that you want. So you can even populate the printer name from your query. So the URI, ipp://myprintserver:631/printers/printername" is the syntax. In your case you have to create this string in your SQL query by concatenating the parts "ipp://" + printername + ":631/". If there is a name to the printer in the printserver, then that too can be concatenated.
In case this is in EBS , the same has to be done in the control file. -
Dynamic Form Help Needed !!
Hi Guys,
I need a form that has the following how do i code it in
dreamweaver ?
name :
email address :
phone number :
status: item are New, Contacted, Appointment Scheduled, Sold
( This would be a dropdown and depending on what the user chooses
the options below show up )
commission amount (only shows if the status is changed to
"Sold")
Thumbnail Calendar (only shows if Appointment Scheduled is
the status)Depends on what sort of server side processing you're going
to be using for
your dynamic form...
Do you have that info??
"NYCKIDDbx" <[email protected]> wrote in
message
news:fmip1k$rhv$[email protected]..
> Hi Guys,
>
> I need a form that has the following :
>
> name :
> email address :
> phone number :
> status: item are New, Contacted, Appointment Scheduled,
Sold ( This would
> be a
> dropdown and depending on what the user chooses the
options below show
> up )
> commission amount (only shows if the status is changed
to "Sold")
> Thumbnail Calendar (only shows if Appointment Scheduled
is the
> status)
> -
Hi all, im a newbie and in need of help on contact form if anybody could help
hi everybody, im new to the site and relatively new to dreamweaver.
i have used a template for my website and edited all the relative information to tailor it to my business.
As i am not familiar with the contact forms i am struggling to find out how to make the form send the information to my email address as i have not got a clue if the contact form is coded correctly,
i would much appreciate any assistence given by any of you, as i am desperately in need of your expertice
i have copied what is in the code for the form, i was wondering if anybody could tell me if this code can be used or not
thank you very much,
StevenHTML forms don't do anything. You need a form-to-email processing script -- preferably one which conceals your e-mail address from harvesters and has built-in spam prevention.
Contact your web host and ask them if they have a script you can use. Hosts often provide scripts on their servers which you can activate through your Admin Panel or by directly referencing the script in your form's action attribute.
<form action="path-to-form-on-server/form-to-email-script.php">
If your host doesn't provide scripts, ask them which server-side languages you can use (php, asp, asp.net, perl, coldfusion, etc...) so you can find a suitable script to use.
Related Links:
Formm@ailer PHP script from DB Masters
http://dbmasters.net/index.php?id=4
FormToEmail.com (free & pro PHP scripts)
http://formtoemail.com/formtoemail_pro_version.php
Tectite
http://www.tectite.com/formmailpage.php
Forms to Go from Bebosoft (script generating software)
http://www.bebosoft.com/products/formstogo/overview/
Wufoo.com (on-line form service)
http://wufoo.com/
Nancy O. -
Help needed in "V45A0003" User Exit
Hello All,
I have one problem doing Userexit "V45A0003" for VA01.
I want to disable one field in VA01 Screen no. "4900" when order type is "RE". I try mentioned Exit for the same and i am able to disable that field for all order type but i am unable to get order type value and unable to disable field, so i want your valuable help to get the order type value given at very first screen (101) of VA01.
So, Please i request all of you to help me in this.
Thanks & Regards,Hi,
If you want to get the Sales order no in your exit you can make use of below code.
data:wa_vbak type vbak.
field-symbol <FS> type any.
ASSIGN (' (SAPMV45A)VBAK') to <FS>.
If sy-subrc eq 0 and <FS> is assigned.
wa_vbak = <fs>.
endif.
Now in wa_vbak-AUART you will get the sales order type given initial screen of sales order.
You can also use below form in User exit include MV45AFZZ for your requirement.
FORM userexit_field_modification.
ENDFORM.
Here you will all sales order data and no need to use above field symbol assignment to read vbak data.
Regards,
Pawan -
Hi All,
we want to put one pushbutton in Standard toolbar to call the payment process custom screen(in Va01 screen). In this screen if user selects payment method like Pay by cash or by check then CASH DRAWER will open & CASH reconciliation database updated too. In this screen we need to display sales order number too in header level. How can get sales order number can i write in PBO? Also how can call custom screen from Pushbutton on satndard toolbar?
Urgent will appreciate ur help................
ThanksHi,
We used include MV45AFZZ, form USEREXIT_SAVE_DOCUMENT to handle cash payments. In our case, when saving the salesorder a popup is triggered. The data that is then entered by the user in the popup is saved into a (Z-)table.
Hope this will help you.
Regards,
Hendrik-Jan -
ABAP calculating in Include MV45AFZZ
Hej.
I am experiencing strange things with this bit of code. This code is taking place in FORM userexit_save_document_prepare in include MV45AFZZ.
And the result of the calculation is wrong, when I take the code and try it out in a new program, then i get a different results.
Here is the example.
xkomv-KWERT = 3.5
xkomv-KUMNE = 1000.
xkomv-KUMZA = 1000.
The result in the l_pris_pr_kg is : 1.8272945598830532E+01 But should be : 1.8272945598830531E-01
DATA: BEGIN OF xpreis OCCURS 20,
posnr TYPE kposn,
preis TYPE bapre,
DATA: END OF xpreis.
DATA: l_pris_pr_kg TYPE f.
LOOP AT xkomv WHERE kschl = 'ZMKP'. "
xpreis-posnr = xkomv-kposn.
l_pris_pr_kg = ( xkomv-KWERT * xkomv-KUMNE ) / xkomv-KUMZA.
xpreis-preis = l_pris_pr_kg.
APPEND xpreis.
ENDLOOP.
I have also tryed to put this into a STRING where in the Include MV45AFZZ I get the result
String = 18,
but in my test program i get the result
String = 0.18272945598831 (Which is correct).
So it seems that in this include I cannot get this to work correctly.
Is there anyone that has experienced something similiar, all help would be appreciated.
Thanks GisliHi Ankur,
The problem lokks similar But, MV45AFZZ is a Standard include,
No Fixed point Arthematic Available,,,
Hi Gisli,
Try to divide i_pris_pr_kg by 100... Hope this could solve your problem...
Thanks & regards,
Dileep .C
Maybe you are looking for
-
Run out of licenses, can do 20 reports in 20 minutes before receiving error
<p>I have a problem with running out of Licenses when using our ASP.NET Web Application.</p><p>Our Web Application exports and opens a Crystal Report to PDF when the user clicks on the report link. Unfortunately we have only a certain number of lice
-
XML Publisher pdf output need each page wise start and end number
Hi , I have xml publisher out put in PDF. Now i need on each page header and detail part. In header for each page it should repeat and should be print the min and maximam number of the columns. I mean in the header start and end number of the column
-
Extra Large iphoto book on iPad air?
Why can I not see an option for an extra large photo book (11x13)? I see online that these are available yet my brand new ipad air does not have this option. Anybody know what the problem is?
-
My Ipod touch 4th gen will Sync but it will not add songs what do I do?
-
Relate to DehydrationStore in Oracle Soa suite 11g
Can you explain what are the steps required to configure dehydration store ? In DB which contain the dehydration store informtion?