How can i add effects to my input?????
How can i add things like compression/gate to my input audio so it records as if i had an external compressor/gate or do i jus have 2 cough up the money to get the external gear?
you dont have 2 cough up the money...
click on a audio channel ... look up and down the strip .... you will see the word "Inserts" .. click on that and play with the menus... you will find heaven and paradise of Plug Ins
Similar Messages
-
how can i add effects to voice over ..
i can't find voice effects in the latest version 10.0.1aysar8 wrote:
how can i add effects to voice over ..
http://www.bulletsandbones.com/GB/GBFAQ.html#trackeffectequivsgbv10
This FAQ entry offers a Minute GarageBand video tutorial
(Let the page FULLY load. The link to your answer is at the top of your screen) -
How can I add effects to voice while recording
Hey
Ok logic pros and users heres and important question .... I have my vocalist comming over and he likes a bit of effect on his voice that gives him the sound like it would be recorded I recorded him last time on a tascam mk-2 with effects like reverb and some guitar effects which really enhanced his voice. He s using a compression mic so i do have to watch passing gas while hes recording because it will pick it up lol
What can I do on the audo track while setting up his voice to enhance his singing to the point that it will sound extremely good and not bland .. What I am trying to say he sounds like jeff tate and I want a tate voice like the album while hes recording i gives him an uplift and higher range
Thankswell, it should go without saying... there's no magic bullet here. Either someone can sing or they can't. The first step to them sounding good is their own ability.
Beyond that, a good quality microphone into a decent mic pre-amp is important.
Ok, so, after stating the obvious... (which I'm amazed at how many people STILL think software will make them a good musician....)
For monitoring, you could start with any channel strip setting in the vocal category. Most will be over the top, in terms of what you need, but it'll get you started. You'll have to watch latency though. Depending on your audio interface, and how well the drivers were written, will determine if there's noticeable delay in the singers headphones. But a little reverb or delay inserted right on the channel strip will let him hear the FX as he sings.
If you want to actually print these FX to tape, you will need to record through an input object. -
Hello, all,
how can I enter data in an input schedule on a member in the EPM Add-On that is not a base member?
E.g. I want to implement a top-down-planning scenario and I have the following hierarchy:
Europe
Germany
France
UK
Spain
Italy
How can I enter a value on Europe in an input schedule in order to allocate this value afterwards?
Thanks in advance and best regards
GerdGerd,
It should be something like below -
EuropeInput
Europe
Germany
France
UK
Spain
Italy
EuropeInput shall be kept out of hierarchy and should be a base level member. Users will enter the numbers in this member. In your script logic, you will make use of this member to allocate the data in Bas(Europe) i.e. Germany, France, etc.
Effectively, after allocation the same data will be rolled up to Europe.
Many top-down planning would use such work-around as BPC doesn't allow writing to parent node.
Regards,
Ashish -
Hello all,
I have Garage Band on my Ipad Mini and I notice that it does not have a "delay effect" that can be added to my music. There are other effects, but no delay, which is the most important one for me. How can I add this effect? Thank you.There are not many effects available in GarageBand on the iPad. You can add reverb and echo to the Master Track, but that's it.
See the User Guide: http://help.apple.com/garageband/ipad/1.4/index.html#chs175dc411 -
On a form, using the value "image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of pre-configured file types (.jpe, .jpg, .jpeg, .gif, .png, .bmp, .ico, .svg, .svgz, .tif, .tiff, .ai, .drw, .pct, .psp, .xcf, .psd, .raw)?
Say I wanted to add .gif, .jfif or .ico. I find this array limited, how can I add types to image?
<input type="file" name="file" accept="image/*" id="file" />
mimeTypes.rdf does not seem to allow this.''mimeTypes.rdf'' has nothing to do with web development. It's a file that stores your file handling preferences (e.g. if you want ZIP files automatically saved or opened).
You can't change the file types of the pre-defined content specifiers (audio/*, video/*, image/*), but you can specify additional MIME types. To add PDF to your above example,
<pre><nowiki><input type="file" name="file" accept="image/*,application/pdf" id="file" /></nowiki></pre>
For details, see
* [https://developer.mozilla.org/En/HTML/Element/Input developer.mozilla.org/En/HTML/Element/Input] -
How can I add transition or effect sound?
Hi,
I know how to make a sound effect on a slide, but it is for the whole slide.
How can I add a transition or effect sould only during the transition period when I click my mouse?
Powerpoint can do it easily, can you send the answer to my email please?
Like (0just think about the voice setting when you go to the record you should find mono and stereo. I have only mic volume -cd volume and line volume i should have mono mixer and stereo mixer also.
So can i add them to the list ?? For example when you use paltalk program you can play music from your computer in the room so all in this room can hear it eaven if you adjust your volume to mute,this is using mixer mono or stereo.
I hope i explane it for you. Thanx -
How can I add a jquery effect (parallax bacground effect) in a fluid grid layout? I
How can I add a jquery effect (parallax bacground effect) in a fluid grid layout? I download it from the web (the effect), I use it in a blank html page and all works correctly. Using it in a fluid grid and no images appears and no effect.. why? In the Fluid grid layout I add the .html information inside the container.. and I add the css information in first place.
I download it from: http://www.jqueryrain.com/2012/02/jquery-scrolldeck-parallax-plugin/I've never tried to combine them. But to be honest, I don't think jQuery Parallax is going to work in FGLayouts b/c Parallax backgrounds are not built on a mobile first approach. For best results, Parallax requires a min-width of 960px which isn't mobile friendly.
Nancy O. -
How can I add multiple contacts to a text message on a droid bionic
How can I add multiple contacts to a text message on a droid bionic?
DH
I was thinking that if he wanted to create multiple keyframes he might be creating a repeated effect rather than manipulating values that are shot specific - like creating an oscillation or some repeated step effect. If he was creating keyframes specific to his content he'd probably not look for a way to do it "quickly" since each keyframe would require manipulation of specific values.
So my thought was to generate the series of keyframes on a dummy clip created for this specific purpose, copy the clip, paste attributes (maybe turn off "Scale Attribute Times") and add bunches of keyframes at once.
Still, you're right, it's tough to divine the intent of someone very new to FCP. His question could be based on a misunderstanding about the use of keyframes.
P -
How can i add two values under the same property?
Hi all,
How can i add two values under the same property name in a
prop list? For example:
[question1: "item1","item2", question2: "item3","item4"]
To be more precise, i am creating a property list and I want
whenever a two values have the same property name to be added int
he list under the same property. For example:
gMyList.AddProp (#""&question&"" & x,
member("input").text)
question is a variable that is updated fromt he user's input.
Now, whenever somethign like this happens:
question = "question1"
member("input").text = "five"
question = "question1"
member("input").text = "six"
I want to output list to be:
[question1: "five","six"] and so on
Any ideas?Maybe you could make each property a list (so you have a
property list full
of lists), and add multiple values to the list held in a
particular
property?
Cheers
Richard Smith -
How can I add file attachment to my form and get the attachment by email?
I'm using this code and it works fine, but I don't get the attachment file in the email. How can I add this to my code?
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
<script src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js" type="text/javascript"></script>
<script type="text/javascript">// <![CDATA[
$(document).ready(function() {
$("#form1").validate({
rules: {
first: "required",// simple rule, converted to {required:true}
email: {// compound rule
required: true,
email: true
last: {
last: true
comment: {
required: true
messages: {
comment: "Please enter a comment."
// ]]></script>
<script type="text/javascript">// <![CDATA[
function validate ()
if (document.form1.first.value == "")
alert("Please enter your First Name");
document.form1.first.focus();
document.form1.first.style.border="1px solid red";
return false;
else if (document.form1.last.value == "")
alert("Please enter your Last Name");
document.form1.last.focus();
document.form1.last.style.border="1px solid red";
return false;
else if (document.form1.emailaddress.value == "")
alert("Please enter your Email Address");
document.form1.emailaddress.focus();
document.form1.emailaddress.style.border="1px solid red";
return false;
function has_focus() {
if(document.form1.first.value == "")
document.form1.first.focus();
document.form1.style.first.border="1px solid green";
function set_focus(x)
document.getElementById(x).style.border="1px solid #80CA75";
function clear_focus(x)
document.getElementById(x).style.border="1px solid #DBDFE6";
// ]]></script>
</head>
<body>
<p><span style="color: #666666; text-align: center; font-size: 13px;">Please complete this form if you have any technical issue.</span></p>
<form id="form1" action="http://www.southsun.com/php/tech_issue.php" enctype="multipart/form-data" method="post">
<table style="width: 850px; font-size: 15px; padding-left: 20px; text-align: center;" border="0">
<tbody>
<tr>
<td style="text-align: left; padding-bottom: 20px;" colspan="2">
<h2><span style="color: #666666;">Please complete this form if you have any technical issue.</span></h2>
</td>
</tr>
<tr style="padding-top: 40px;">
<td style="text-align: left;"><span style="color: #abaf6f;"><strong>First Name</strong>:*</span><input id="first1" name="first" type="text" /> <br /><br /> <span style="color: #abaf6f;"><strong>Last Name</strong>:*</span><input id="last1" name="last" type="text" /><br /><br /> <span style="color: #abaf6f; padding-right: 33px;"><strong>Email</strong>:</span><span style="color: #abaf6f;">*</span><input id="email1" name="email" type="text" /><br /><br /> <span style="color: #abaf6f;"><strong>Shipping Method:</strong><br /></span> <input name="shippingmethod" type="radio" value="prioritymail" /> Priority Mail <input name="shippingmethod" type="radio" value="store" /> In Store Pick up <br /> <input name="shippingmethod" type="radio" value="ground" /> Ground <input name="shippingmethod" type="radio" value="3day" /> 3 Day Select<br /><br /> <span style="color: #abaf6f;"><strong>Payment Method:</strong><br /></span> <input name="paymentmethod" type="radio" value="paypal" /> Paypal Method <input name="paymentmethod" type="radio" value="creditcard" /> Credit Card<br /> <strong><br /> <span style="color: #abaf6f;">If getting an error message, please explain the error:</span></strong><span style="color: #abaf6f;"> <br /></span> <textarea id="errormessage" cols="20" rows="2" name="errormessage"></textarea><br /><br /></td>
<td style="border-left: 1px solid grey; padding-left: 40px; text-align: left;"><span style="color: #abaf6f;"><strong>If using Paypal, Were you redirected successfully?</strong><br /></span> <input name="paypalredirect" type="radio" value="yes" /> Yes <input name="paypalredirect" type="radio" value="no" /> No<br /><br /> <span style="color: #abaf6f;"><strong>If using Credit Card, Did you get an error?</strong><br /></span> <input name="carderror" type="radio" value="yes" /> Yes <input name="carderror" type="radio" value="no" /> No<br /><br /> <span style="color: #abaf6f;"><strong>What happened after clicking place order? </strong><br /></span> <textarea id="placeorder1" cols="20" rows="2" name="placeorder"></textarea><br /><br /> <span style="color: #abaf6f;"><strong>Comments</strong>: <br /></span> <textarea id="comments1" cols="20" rows="2" name="strcomments"></textarea><br /><br /> <span style="color: #abaf6f;"><strong>Attach PrintScreen</strong>: <br /></span> <input name="strresume" type="file" />
<div style="height: 50px;"> </div>
</td>
</tr>
<tr>
<td style="padding-top: 20px;" colspan="2">( * ) indicates required fields</td>
</tr>
<tr>
<td style="text-align: center; padding-top: 20px;" colspan="2"><input class="button" name="submit" type="submit" value="Submit" /> <input class="button" name="reset" type="reset" value="Reset" /></td>
</tr>
</tbody>
</table>
</form>
</body></html>
PHP
<?php
echo $savestring;
//--------------------------paramaters--------------------------
// Subject of email sent to you.
$subject = 'prueba con uploads';
// Your email address. This is where the form information will be sent.
$emailadd = '[email protected]';
// Where to redirect after form is processed.
$url = 'http://www.pch-graphicdesign.com';
// Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
$req = '0';
$target_path = "http://www.pch-graphicdesign.com/php/uploads/";
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
$text = "Results from form:\n\n";
$space = ' ';
$line = '
foreach ($_POST as $key => $value)
if ($req == '1')
if ($value == '')
{echo "$key is empty";die;}
$j = strlen($key);
if ($j >= 20)
{echo "Name of form element $key cannot be longer than 20 characters";die;}
$j = 20 - $j;
for ($i = 1; $i <= $j; $i++)
{$space .= ' ';}
$value = str_replace('\n', "$line", $value);
$conc = "{$key}:$space{$value}$line";
$text .= $conc;
$space = ' ';
mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
?>Sending a file as an attachment to an email involves setting the correct MIME type and headers. There's a brief tutorial here: http://webcheatsheet.com/php/send_email_text_html_attachment.php.
Also, you need to use the same name as in your form. In the script you have shown here, the name of the file field is strresume, but your processing script uses this: $_FILES['uploadedfile']['name']. It should be this: $_FILES['strresume']['name'] -
How can I add a custom attribute to a catalog area? (CRM Isa Sales)
Gents,
How can I add a custom attribute to a catalog area? (CRM Isa Sales)
Actually I would like to use the Catalog Area Type (maintained in trx COMM_PCAT_ADM on Catalog Area Header level). This field doesn't seem to be available in J2EE webshop. (The field documentation says it is for documentation purposes only so I don't expect it to be transferred).
As this field is not readily available, I would like to add is as an attribute to the Catalog Area. BADI's PCAT_IMS_FEED_ATT and PCAT_IMS_FEED_VAL seem to indicate that it should be possible to add additional fields not only on product level, but also on Area level:
Example implementation code:
method IF_EX_PCAT_IMS_FEED_ATT~READ_NEW_FIELDS.
* Example, how to add new attributes to a indexcategory
* Possible levels are 'C'ategory and 'P'roduct.
* Field 'VALUE' carries the attributetype ('S'tring, 'I'ntegar or
* 'F'loat)
* Structure 'IS_OBJECTS' carries actuall identifiers
data: ls_fields type comt_pcat_ims_feed_ux.
case iv_level.
when 'C'. "Category Level
* no new field
when 'P'. "Product Level
ls_fields-field = 'CUSTOMER_EXIT_FIELD'.
ls_Fields-value = 'S'.
append ls_fields to ct_fields.
* exproduct fields
ls_fields-field = 'REMAN_ABL'.
APPEND ls_fields TO ct_fields.
ls_fields-field = 'EXCH_BUS'.
APPEND ls_fields TO ct_fields.
endcase.
endmethod.
However, when I create an implementation and add some code in the when 'C' part, the attributes do not seem to get transferred. (I've checked in the debug mode of the developer studio).
- My example code:
METHOD if_ex_pcat_ims_feed_att~read_new_fields.
* Possible levels are 'C'ategory and 'P'roduct.
* Field 'VALUE' contains the attributetype
* ('S'tring, 'I'ntegar or * 'F'loat)
DATA:
ls_fields LIKE LINE OF ct_fields.
CASE iv_level.
WHEN 'C'. "Category Level
ls_fields-value = 'S'.
ls_fields-field = 'ZTEST'.
APPEND ls_fields TO ct_fields.
WHEN 'P'. "Product Level
ENDCASE.
ENDMETHOD.
and:
METHOD if_ex_pcat_ims_feed_val~read_new_fields.
CASE iv_level.
WHEN 'C'.
ls_fields-field = 'ZTEST'.
ls_Fields-value = 'Value 1'.
append ls_fields to ct_fields.
WHEN 'P'.
ENDCASE.
ENDMETHOD.
In the ABAP debugger, I can see that my code is touched during initial and delta replications, however, after replication, the fields do not show up in the Java debugger.
Any ideas?
regards,
Wilco MengeHi,
How can I customize the /bin/wcmcommand or how can I make use of [2] to create a custom WCMCommand?
I think the "formUrl" is to post those input value to the jcr repository?
var createDialog = {
"jcr:primaryType": "cq:Dialog",
"id": CQ.Util.createId("cq-createdialog"),
"title":CQ.I18n.getMessage("Create Page"),
"formUrl": CQ.shared.HTTP.externalize("/bin/wcmcommand"),
"params": {
"cmd":"createPage",
"_charset_":"utf-8"
I have added a field called "starred"
Moreover, when I using the firebug to trace the post command, I can see that the starred value is posted also.
:status
browser
_charset_
utf-8
cmd
createPage
label
b
parentPath
/content/keyword_elaboration
starred
c
template
/libs/collab/commons/templates/form
title
a
Source
cmd=createPage&_charset_=utf-8&%3Astatus=browser&parentPath=%2Fcontent%2Fkeyword_elaboration&title=a&label=b&starred=c&template=%2Flibs%2Fcollab%2Fcommons%2Ftemplates%2Fform
However, when I go to the crxde to view the node's attribute, the properity starred is not created
Are there anything I did wrong or missing?
Thanks.
Message was edited by: aslkit -
How can i add new jcomponent to a frame?
hi.
how can we add new component to a frame? look at this code. Why when i click on button, nothing added to frame? event handled correctly and frame size changes but no button adds to frame.
private void convertButtonMouseClicked(java.awt.event.MouseEvent evt) {
// TODO add your handling code here:
JButton newButton = new JButton("new");
getContentPane().add(newButton , BorderLayout.CENTER);
newButton.setVisible(true);
setSize(500, 500);
}Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
Well typically you wouldn't add a button to the Center of a BorderLayout. If you really want to do this you should be using a [Card Layout|http://java.sun.com/docs/books/tutorial/uiswing/TOC.html].
In general the code for adding/removing components should be:
panel.add(...)
panel.revalidate();
panel.repaint(); -
How can I add the listener to the CellRenderer
My class named NoteColumnRenderer extends DefaultTableCellRenderer
and thhe getTableCellRendererComponent() returns JButton .
My question is how can I add MouseMotionListener to the JButton
or how can I add MouseMotionListener to the NoteColumnRenderer ?
The code below,and there is no effect
public class NoteColumnRenderer extends DefaultTableCellRenderer {
public NoteColumnRenderer(boolean multiSelection) {
super();
System.out.println("b="+this.getListeners(MouseMotionListener.class).length);
this.addMouseMotionListener(new MouseMotionListener(){
public void mouseDragged(MouseEvent e) {
System.out.println("mouse+++++++");
public void mouseMoved(MouseEvent e) {
System.out.println("mouse-------");
m_button.addMouseMotionListener(new MouseMotionListener(){
public void mouseDragged(MouseEvent e) {
// TODO Auto-generated method stub
System.out.println("mouse=====");
public void mouseMoved(MouseEvent e) {
// TODO Auto-generated method stub
System.out.println("mouse=======");
System.out.println("a="+this.getListeners(MouseMotionListener.class).length);
m_multiSelection = multiSelection;
if (m_multiSelection) {
m_check = new JCheckBox();
m_check.setMargin(new Insets(0, 0, 0, 0));
m_check.setHorizontalAlignment(JLabel.CENTER);
} else
m_button.setMargin(new Insets(0, 0, 0, 0));
m_button.setSize(new Dimension(5, 5));
m_combobox = new JComboBox();
} // IDColumnRenderer
/** Mult-Selection flag */
private boolean m_multiSelection;
/** The Single-Selection renderer */
private JButton m_button=new JButton();
/* The Multi-Selection renderer */
private JCheckBox m_check;
private JComboBox m_combobox;
protected void setValue(Object value) {
if (m_multiSelection) {
boolean sel = false;
if (value == null)
else if (value instanceof Boolean)
sel = ((Boolean) value).booleanValue();
else
sel = value.toString().equals("Y");
m_check.setSelected(sel);
else
if (value == null)
else
if(value.toString().length()>10)
m_button.setText(value.toString().substring(0,10)+"...");
else
m_button.setText(value.toString());
m_button.setBackground(Color.WHITE);
public Component getTableCellRendererComponent(JTable table, Object value,
boolean isSelected, boolean hasFocus, int row, int column) {
setValue(value);
if (m_multiSelection)
return m_check;
else
return m_button;
}Listener can be added to a cell editor, not cell renderer.
Set relevent cess(s) to setEditable == true when you use your custom cell editor. -
How can we add attachment in the PO using BAPI
How can we add attachment in the PO? I am using the BAPI_PO_CREATE1 function module to create the PO. I am getting a file from legacy system, this I need to add as an attachment into the particular PO through programming.
Note: After creation of PO the attachment should be available in ME23n transaction.REPORT ZBAPI_PO_CRATE.
data : PO_HEADER like BAPIEKKOC.
data : PO_HEADER_ADD_DATA like BAPIEKKOA.
data : PO_ITEMS like BAPIEKPOC occurs 0 with header
line.
data : PO_ITEM_SCHEDULES like BAPIEKET occurs 0 with
header line.
data : RETURN like BAPIRETURN occurs 0 with header
line.
DATA : BEGIN OF TAB OCCURS 0,
PO_NUMBER like BAPIEKKOC-PO_NUMBER,
DOC_DATE(10),
DOC_TYPE like BAPIEKKOC-DOC_TYPE,
CO_CODE like BAPIEKKOC-CO_CODE,
PURCH_ORG like BAPIEKKOC-PURCH_ORG,
PUR_GROUP like BAPIEKKOC-PUR_GROUP,
VENDOR like BAPIEKKOC-VENDOR,
PMNTTRMS like BAPIEKKOA-PMNTTRMS,
INCOTERMS1 like BAPIEKKOA-INCOTERMS1,
INCOTERMS2 like BAPIEKKOA-INCOTERMS2,
PO_ITEM like BAPIEKPOC-PO_ITEM,
MATERIAL like BAPIEKPOC-MATERIAL,
PUR_MAT like BAPIEKPOC-PUR_MAT,
ITEM_CAT like BAPIEKPOC-ITEM_CAT,
PLANT like BAPIEKPOC-PLANT,
NET_PRICE like BAPIEKPOC-NET_PRICE,
TAX_CODE like BAPIEKPOC-TAX_CODE,
DELIV_DATE(10),
QUANTITY like BAPIEKET-QUANTITY,
end of tab.
data: itab1 like alsmex_tabline occurs 0 with header
line.
DATA: gd_currentrow type i.
data : PURCHASEORDER like ekko-ebeln.
Data: tot_rec type i, "Total Records
gd_update type i, "Main Table Increement
Counter
gd_lines type i, "Success Table increement
Counter
w_textout like t100-text. "VARIABLE TO GET ERROR
LOG
data : begin of it_success occurs 0,
PURCHASEORDER LIKE ekko-ebeln, "PROJECT
end of it_success.
data : begin of it_error occurs 0,
pono like ekko-ebeln,
err_msg(73) TYPE c, "TO RETREIVE ERROR
MESSAGES
end of it_error.
data : pono like ekko-ebeln.
selection-screen begin of block b1 with frame.
skip 3.
parameter:p_infile like rlgrap-filename obligatory.
skip 3.
selection-screen end of block b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_infile.
PERFORM value_help.
start-of-selection.
call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = p_infile
i_begin_col = '1'
i_begin_row = '2' "Do not require
headings
i_end_col = '22'
i_end_row = '10000'
TABLES
intern = itab1
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
others = 3.
if sy-subrc <> 0.
message e010(zz) with text-001. "Problem uploading
Excel Spreadsheet
endif.
*perform open_group.
sort itab1 by row col.
* Get first row retrieved
read table itab1 index 1.
* Set first row retrieved to current row
gd_currentrow = itab1-row.
loop at itab1.
* Reset values for next row
if itab1-row ne gd_currentrow.
append tab .
clear tab.
gd_currentrow = itab1-row.
endif.
case itab1-col.
when '0001'. "PGNAM
TAB-PO_NUMBER = itab1-value.
when '0002'. "RONAM
TAB-DOC_DATE = itab1-value.
when '0003'. "JVLEVEL
TAB-DOC_TYPE = itab1-value.
when '0004'. "FTTYPE
TAB-CO_CODE = itab1-value.
when '0005'. "LANG
TAB-PURCH_ORG = itab1-value.
when '0006'. "LTEXT
TAB-PUR_GROUP = itab1-value.
when '0007'. "LTEXT
TAB-VENDOR = itab1-value.
when '0008'. "LTEXT
TAB-PMNTTRMS = itab1-value.
when '0009'. "LTEXT
TAB-INCOTERMS1 = itab1-value.
when '0010'. "FTTYPE
TAB-INCOTERMS2 = itab1-value.
when '0011'. "FTTYPE
TAB-PO_ITEM = itab1-value.
when '0012'. "FTTYPE
TAB-MATERIAL = itab1-value.
when '0013'. "FTTYPE
TAB-PUR_MAT = itab1-value.
when '0014'. "FTTYPE
TAB-ITEM_CAT = itab1-value.
when '0015'. "FTTYPE
shift itab1-value left deleting leading space.
TAB-PLANT = itab1-value.
when '0016'. "FTTYPE
TAB-NET_PRICE = itab1-value.
when '0017'. "FTTYPE
TAB-TAX_CODE = itab1-value.
when '0018'. "FTTYPE
TAB-DELIV_DATE = itab1-value.
when '0019'. "FTTYPE
TAB-QUANTITY = itab1-value.
endcase.
endloop.
append tab.
clear tab.
sort tab by PO_NUMBER.
DELETE TAB WHERE PO_NUMBER = SPACE.
loop at tab.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = tab-material
IMPORTING
OUTPUT = tab-material.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = tab-PUR_MAT
IMPORTING
OUTPUT = tab-PUR_MAT.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = tab-vendor
IMPORTING
OUTPUT = tab-vendor.
concatenate tab-doc_DATE+4(4) tab-doc_DATE+2(2)
tab-doc_DATE+0(2)
into tab-doc_DATE.
concatenate tab-DELIV_DATE+4(4)
tab-DELIV_DATE+2(2)
tab-DELIV_DATE+0(2) into tab-DELIV_DATE.
pono = tab-PO_NUMBER.
if tab-po_number = pono.
PO_HEADER-DOC_DATE = tab-DOC_DATE.
PO_HEADER-DOC_TYPE = tab-DOC_TYPE.
PO_HEADER-CO_CODE = tab-CO_CODE.
PO_HEADER-PURCH_ORG = tab-PURCH_ORG.
PO_HEADER-PUR_GROUP = tab-PUR_GROUP.
PO_HEADER-VENDOR = tab-VENDOR.
PO_HEADER-PO_NUMBER = tab-PO_NUMBER.
PO_HEADER_ADD_DATA-PMNTTRMS = tab-PMNTTRMS.
PO_HEADER_ADD_DATA-INCOTERMS1 = tab-INCOTERMS1.
PO_HEADER_ADD_DATA-INCOTERMS2 = tab-INCOTERMS2.
PO_ITEMS-PO_ITEM = tab-PO_ITEM.
PO_ITEMS-MATERIAL = tab-MATERIAL.
PO_ITEMS-PUR_MAT = tab-PUR_MAT.
PO_ITEMS-ITEM_CAT = tab-ITEM_CAT.
PO_ITEMS-PLANT = tab-PLANT.
PO_ITEMS-NET_PRICE = tab-NET_PRICE.
PO_ITEMS-TAX_CODE = tab-TAX_CODE.
append po_items.
PO_ITEM_SCHEDULES-PO_ITEM = tab-PO_ITEM.
PO_ITEM_SCHEDULES-DELIV_DATE = tab-DELIV_DATE.
PO_ITEM_SCHEDULES-QUANTITY = tab-QUANTITY.
append PO_ITEM_SCHEDULES.
endif.
at end of PO_NUMBER.
CALL FUNCTION 'BAPI_PO_CREATE'
EXPORTING
PO_HEADER = PO_HEADER
PO_HEADER_ADD_DATA =
PO_HEADER_ADD_DATA
* HEADER_ADD_DATA_RELEVANT =
* PO_ADDRESS =
* SKIP_ITEMS_WITH_ERROR = 'X'
* ITEM_ADD_DATA_RELEVANT =
* HEADER_TECH_FIELDS =
IMPORTING
PURCHASEORDER =
PURCHASEORDER
TABLES
PO_ITEMS = PO_ITEMS
* PO_ITEM_ADD_DATA =
PO_ITEM_SCHEDULES =
PO_ITEM_SCHEDULES
* PO_ITEM_ACCOUNT_ASSIGNMENT =
* PO_ITEM_TEXT =
RETURN = RETURN
* PO_LIMITS =
* PO_CONTRACT_LIMITS =
* PO_SERVICES =
* PO_SRV_ACCASS_VALUES =
* PO_SERVICES_TEXT =
* PO_BUSINESS_PARTNER =
* EXTENSIONIN =
* POADDRDELIVERY =
if PURCHASEORDER <> space.
commit work.
ADD 1 TO gd_update.
it_success-PURCHASEORDER = PURCHASEORDER.
append it_success.
clear:PO_HEADER,PO_HEADER_ADD_DATA,PURCHASEORDER.
refresh : PO_ITEMS,PO_ITEM_SCHEDULES,RETURN.
ELSE.
loop at return.
it_error-pono = tab-PO_NUMBER.
it_error-err_msg = return-MESSAGE .
Append it_error.
ENDLOOP.
clear:PO_HEADER,PO_HEADER_ADD_DATA,PURCHASEORDER.
refresh : PO_ITEMS,PO_ITEM_SCHEDULES,RETURN.
endif.
endat.
endloop.
DESCRIBE TABLE it_success LINES gd_lines.
IF gd_lines GT 0.
* Display result report column headings
PERFORM display_column_headings.
* Display result report
PERFORM DISPLAY_SUCESS.
ENDIF.
* IF SUCESS FAILS Display Error Report
DESCRIBE TABLE it_error LINES gd_lines.
IF gd_lines GT 0.
PERFORM errorheadings.
PERFORM errorreport.
ENDIF.
*& Form display_column_headings
* text
FORM display_column_headings.
WRITE:2 ' Success Report '(014) COLOR COL_POSITIVE.
SKIP.
WRITE:2 'The following records inserted
successfully:'(013).
WRITE:/ sy-uline(15).
FORMAT COLOR COL_HEADING.
WRITE:/ sy-vline,
(10) 'Purchase order'(004), sy-vline.
WRITE:/ sy-uline(15).
ENDFORM. "display_column_headings
*Subroutine to display SUCESS REPORT
FORM DISPLAY_SUCESS.
FORMAT COLOR COL_NORMAL.
LOOP AT it_success.
WRITE:/ sy-vline,
(10) it_success-PURCHASEORDER, sy-vline.
CLEAR it_success.
ENDLOOP.
WRITE:/ sy-uline(15).
REFRESH: it_success.
FORMAT COLOR COL_BACKGROUND.
ENDFORM. "
DISPLAY_REPORT
*& Form errorreport
* text
FORM errorreport.
LOOP AT it_error.
WRITE:/ sy-vline,
(10) it_error-pono, sy-vline,
(40) it_error-err_msg, sy-vline.
ENDLOOP.
WRITE:/ sy-uline(104).
REFRESH: it_error.
endform. "errorreport
*& Form ERRORHEADINGS
* text
FORM ERRORHEADINGS.
SKIP.
WRITE:2 ' Error Report '(007) COLOR COL_NEGATIVE.
SKIP.
WRITE:2 'The following records failed during
update:'(008).
WRITE:/ sy-uline(104).
FORMAT COLOR COL_HEADING.
WRITE:/ sy-vline,
(10) 'ERROR.'(009), sy-vline.
WRITE:/ sy-uline(104).
FORMAT COLOR COL_NORMAL.
ENDFORM. "ERRORHEADINGS
**& Form value_help
** text
** --> p1 text
** <-- p2 text
FORM value_help .
CALL FUNCTION 'DSVAS_DOC_WS_FILENAME_GET_50'
EXPORTING
DEF_FILENAME = ' '
DEF_PATH = ' '
MASK = ',*.*,*.*.'
MODE = 'O'
TITLE = ' '
IMPORTING
FILENAME = p_infile
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 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.
endform. "value_help
Maybe you are looking for
-
I have 2 iCloud accounts. how do i delete my old one?
i have 2 iCloud accounts as i have a new email address. how do i delete my old one that i can't remember the password to?
-
How do I save emails as files in Mail?
how do I save emails as files in Mail?
-
Need to automate DVD Production
I have customers who buy customized DVDs. The customer selects about 30 short training videos from a library of about 1000. The order arrives as a text listing of the videos that need to end up on DVD. I need to automate the process of putting those
-
I put this question on iTunes discussion but got no response so I will again try here. Recently imported my modest music collection from my old G3 CRT to a new Mac Mini by linking the two machines and then dragging the music library and songs over. i
-
when recieving a incoming call the full size contact pic assigned to the contact displays how can i cahnge it to thubnail size while displaying the wallpaper at the same time?please help!!!