How we enter text for materials in purchase order smartform
hi guru
how we enter text for materials in purchase order smartform
my requirement is create smartform for purchase order.
in this i have to create item-text, by using which tcode we can give item data
plz give more expalnation for this plzzzzzzzzz
Hi,
You can use read_text function module for readind text of material and store this value in internal table later pass this internal table to smartform will solve your problem.
otherwise there is direct option for text element property that is include text u can use that also
Regards
Gagan
Similar Messages
-
Pulling the Header text for all the purchase orders
Hello,
Please help in resolving the below:
Is there any code in SAp to pull theHeader text for all the purchase orders in the data base,
Any tcode to pull the specific text automatically to pull the text from the requsition ( Plant wise in sourcing).
ThanksSTXH Text header
STXL Text detail
Chk the below message thread
Table to read PO Header text and item text
BR,
Krishna -
How to trigger workflow for already created purchase order ?
HELLO EXPERTS
let me clear my scenario first . i have 1 purchase order whose workflow is not triggered . means it is showing me message no workflow that have already worked for this object.i have created 1 more purchase order taking reference of this purchase order means both are same same message for this po also. it was happening because event linkage for the business object bus2012 is not activated but now it is enabled and i have created third purchase order with reference to above po means this third po is also same as above 2 no change other than po number but for this workdflow is getting triggered . now i want to trigger workflow for orignal first po but for my first po it is showing me same message that no workflow that have already worked for this object. what i have to do to trigger workflow for this po. i have performed this steps in test system. i have workflow numberHello !
You can trigger the workflow from SWUE.Enter bus2012 and created for object type and event respectively.
Click object key button where enter the purchase order number which have been already created.
But, why do you want to trigger the workflow again for already created purchase order ?
Regards,
S.Suresh -
How to extract TEXT for archived Purchase Orders ?
Hi Friends,
Can any one tell me how to extract TEXT for archived Purchase Orders ?
I have used READ_TEXT but that is not fetching texts for archived PO's. Whenever I am trying to fetch data from STXH against archived PO, no value is coming and resulting SY_SUBRC <> 0.
Any demo code will be highly appreciated.
Thanks in advance..
SivajiHi,
You can see that table STXH is linked to archiving object MM_EKKO (you can see it in tcode DB15).
My suggest is that you must get the data. See the demo object BC_SBOOK in tcode AOBJ. You can see the report to reload data. The object is get the data in an internal table. So for report SBOOKR you can see this function module:
* get data records from the data container
* SBOOK
CALL FUNCTION 'ARCHIVE_GET_TABLE'
EXPORTING
archive_handle = lv_handle
record_structure = 'SBOOK'
all_records_of_object = 'X'
TABLES
table = lt_sbook_tmp
EXCEPTIONS
end_of_object = 0. "not entries of this type
* check lt_sbook_tmp entries against selections. Delete not
* requested entries
LOOP AT lt_sbook_tmp ASSIGNING <ls_sbook>
WHERE carrid IN s_carrid
AND connid IN s_connid
AND fldate IN s_fldate.
APPEND <ls_sbook> TO lt_sbook.
ENDLOOP.
REFRESH lt_sbook_tmp.
The idea is that you get the same data that you handle in READ_TEXT (because you don't have the data in database) and recovery the text.
I hope this helps you
REgards
Eduardo -
How to setup a release strategy for store generated purchase order
Hi there,
Does anybody know how to setup a release strategy for store/plant generated purchase order? I have a request from our client, but I never cross this before. Please help and let me know the step with every single detail.
Greatly thank for your help.
Kind Regards,
2teaPlease go thru the below Release Procedure and check whether you have maintained all the settings properly.
PO RELEASE STRATEGY
The release code is a two-character ID allowing a person to release (clear, or approve) a requisition or an external purchasing document. The release codes is basically controlled via a system of authorizations (authorization object M_EINK_FRG).
Use SE12, structure CEKKO to check all the fields available for controlling the Purchase Order.
e.g. If the total value for the Purchase Order exceeds 10,000, release strategy 01 is assigned to the Purchase Order. There is only one characteristic created in this example. For controlling the Purchase Order type, create characteristic for CEKKO-BSTYP and the value NB.
CT04 - Create Characteristic e.g. NETVALUE
Click Additional data Table name CEKKO Field name GNETW and press enter
(for currency dependent field, you are prompt to enter the currency which the system then converts the currency of the Purchasing document into this currency)
In the Basic data (X refers to tick),
X Mutliple values
X Interval values
In the Value data, in the Char. value column, type >10000 and press enter
Save your data
CL02 - Class
Class - Create REL_PUR
Class type - 032
Click Create
Description - Release Procedure for Purchase Order
In the Same Classification section, click Check with error
In the Char. (characteristic) tab, type NETVALUE to assign your characteristics to the class
OMGS - Define Release Procedure for Purchase Order Type
Release Group - New entries
Rel.group Rel. Object Class Description
02 REL_PUR Rel. Strategy for PO
Release codes - New entries
Grp Code
02 01
Release indicators
Release indicators Release Description
0 Blocked
1 X Release
Release Strategy
Release group 02
Rel.strategy 01
Release codes 01
Release status 01
Classification Choose your check values
OMGSCK - Check Release Strategies
(make sure there are no error messages)
Once the Purchase Order is not release, buyers will not be able to print the Purchase Order.
Goods Receipts will be shown with Message no. ME 390 - Purchasing document XXXXXXX not yet released.
In 4.6c, Purchase Order with Release Strategy have a tabs at the end of the Header. This allowed the buyers to check the release status of the Purchase Order.
The person with the release authorization have to use ME28 to release the Purchase Order.
Regards,
Ashok -
How to enter text in text input box using virtual keyboard in flex application
Re: how to enter text in text input box using virtual keyboard in flex application
hi,
im using flash builder 4,
i designed virtual keyboard, i have to update the text in text input box continously by using virtual keyboard.
i used button events.i did some mistake there.
can some one help me out of tat.
thanks in advance.
i have included my mxml program with this.
virtualkeyboard.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="initfunc()">
<fx:Script>
<![CDATA[
import mx.controls.Alert;
private function initfunc():void
b1.addEventListener(MouseEvent.CLICK,handleEvent);
b2.addEventListener(MouseEvent.CLICK,handleEvent);
b3.addEventListener(MouseEvent.CLICK,handleEvent);
b4.addEventListener(MouseEvent.CLICK,handleEvent);
b5.addEventListener(MouseEvent.CLICK,handleEvent);
b6.addEventListener(MouseEvent.CLICK,handleEvent);
b7.addEventListener(MouseEvent.CLICK,handleEvent);
b8.addEventListener(MouseEvent.CLICK,handleEvent);
b9.addEventListener(MouseEvent.CLICK,handleEvent);
b10.addEventListener(MouseEvent.CLICK,handleEvent);
b11.addEventListener(MouseEvent.CLICK,handleEvent);
b12.addEventListener(MouseEvent.CLICK,handleEvent);
b13.addEventListener(MouseEvent.CLICK,handleEvent);
b14.addEventListener(MouseEvent.CLICK,handleEvent);
b15.addEventListener(MouseEvent.CLICK,handleEvent);
b16.addEventListener(MouseEvent.CLICK,handleEvent);
b17.addEventListener(MouseEvent.CLICK,handleEvent);
b18.addEventListener(MouseEvent.CLICK,handleEvent);
b19.addEventListener(MouseEvent.CLICK,handleEvent);
b20.addEventListener(MouseEvent.CLICK,handleEvent);
b21.addEventListener(MouseEvent.CLICK,handleEvent);
b22.addEventListener(MouseEvent.CLICK,handleEvent);
b23.addEventListener(MouseEvent.CLICK,handleEvent);
b24.addEventListener(MouseEvent.CLICK,handleEvent);
b25.addEventListener(MouseEvent.CLICK,handleEvent);
b26.addEventListener(MouseEvent.CLICK,handleEvent);
b27.addEventListener(MouseEvent.CLICK,handleEvent);
b28.addEventListener(MouseEvent.CLICK,handleEvent);
b29.addEventListener(MouseEvent.CLICK,handleEvent);
b30.addEventListener(MouseEvent.CLICK,handleEvent);
b31.addEventListener(MouseEvent.CLICK,handleEvent);
b32.addEventListener(MouseEvent.CLICK,handleEvent);
b33.addEventListener(MouseEvent.CLICK,handleEvent);
b34.addEventListener(MouseEvent.CLICK,handleEvent);
b35.addEventListener(MouseEvent.CLICK,handleEvent);
b36.addEventListener(MouseEvent.CLICK,handleEvent);
b37.addEventListener(MouseEvent.CLICK,handleEvent);
b38.addEventListener(MouseEvent.CLICK,handleEvent);
b39.addEventListener(MouseEvent.CLICK,handleEvent);
b40.addEventListener(MouseEvent.CLICK,handleEvent);
b41.addEventListener(MouseEvent.CLICK,handleEvent);
b42.addEventListener(MouseEvent.CLICK,handleEvent);
b43.addEventListener(MouseEvent.CLICK,handleEvent);
b44.addEventListener(MouseEvent.CLICK,handleEvent);
b45.addEventListener(MouseEvent.CLICK,handleEvent);
b46.addEventListener(MouseEvent.CLICK,handleEvent);
b47.addEventListener(MouseEvent.CLICK,handleEvent);
b48.addEventListener(MouseEvent.CLICK,handleEvent);
b49.addEventListener(MouseEvent.CLICK,handleEvent);
b50.addEventListener(MouseEvent.CLICK,handleEvent);
b51.addEventListener(MouseEvent.CLICK,handleEvent);
b52.addEventListener(MouseEvent.CLICK,handleEvent);
b53.addEventListener(MouseEvent.CLICK,handleEvent);
public function handleEvent ( e : MouseEvent ) : void
var a:String= e.target.name ;
Alert.show(e.target.name);
var b:String=null;
switch(a)
case "Button20":
b=textbox.text;
//textbox.text="a";
textbox.text=b+"a";
break;
case "Button21":
//textbox.text="b";
textbox.text=b+"b";
break;
default:
//textbox.text="s";
textbox.text=b+"s";
]]>
</fx:Script>
<s:Panel x="43" y="82" width="527" height="213">
<mx:Button x="71" y="86" id="b1" label="1" width="30" height="24"/>
<s:Button x="180" y="86" id="b2" label="5" width="30" height="24"/>
<s:Button x="127" y="86" id="b3" label="3" width="30" height="24"/>
<s:Button x="99" y="86" id="b4" label="2" width="30" height="24"/>
<s:Button x="323" y="86" id="b5" label="0" width="30" height="24"/>
<s:Button x="294" y="86" id="b6" label="9" width="30" height="24"/>
<s:Button x="265" y="86" id="b7" label="8" width="30" height="24"/>
<s:Button x="237" y="86" id="b8" label="7" width="30" height="24"/>
<s:Button x="209" y="86" id="b9" label="6" width="30" height="24"/>
<s:Button x="42" y="86" id="b10" label="`" width="30" height="24"/>
<s:Button x="382" y="86" id="b11" label="=" width="30" height="24"/>
<s:Button x="353" y="86" id="b12" label="-" width="30" height="24"/>
<s:Button x="410" y="86" id="b13" label="back" width="76" height="24"/>
<s:Button x="157" y="86" id="b14" label="4" width="30" height="24"/>
<s:Button x="43" y="109" id="b15" label="tab" width="66" height="24"/>
<s:Button x="105" y="109" id="b16" label="q" width="31" height="24"/>
<s:Button x="247" y="109" id="b17" label="y" width="30" height="24"/>
<s:Button x="303" y="109" id="b18" label="i" width="31" height="24"/>
<s:Button x="361" y="110" id="b19" label="p" width="34" height="23"/>
<s:Button x="394" y="109" id="b20" label="[" width="31" height="24"/>
<s:Button x="191" y="109" id="b21" label="r" width="34" height="24"/>
<s:Button x="424" y="109" id="b22" label="]" width="31" height="24"/>
<s:Button x="222" y="109" id="b23" label="t" width="31" height="24"/>
<s:Button x="161" y="109" id="b24" label="e" width="31" height="24"/>
<s:Button x="133" y="109" id="b25" label="w" width="31" height="24"/>
<s:Button x="332" y="109" id="b26" label="o" width="31" height="24"/>
<s:Button x="275" y="109" id="b27" label="u" width="31" height="24"/>
<s:Button x="220" y="133" id="b28" label="g" width="31" height="24"/>
<s:Button x="424" y="132" id="b29" label="enter" width="62" height="24"/>
<s:Button x="43" y="132" id="b30" label="caps" width="66" height="24"/>
<s:Button x="275" y="133" id="b31" label="j" width="42" height="23"/>
<s:Button x="314" y="132" id="b32" label="k" width="31" height="24"/>
<s:Button x="133" y="133" id="b33" label="s" width="31" height="23"/>
<s:Button x="161" y="133" id="b34" label="d" width="31" height="23"/>
<s:Button x="250" y="133" id="b35" label="h" width="31" height="23"/>
<s:Button x="105" y="133" id="b36" label="a" width="31" height="23"/>
<s:Button x="191" y="133" id="b37" label="f" width="31" height="23"/>
<s:Button x="342" y="132" id="b38" label="l" width="31" height="24"/>
<s:Button x="152" y="154" id="b39" label="x" width="31" height="24"/>
<s:Button x="353" y="154" id="b40" label="." width="31" height="24"/>
<s:Button x="325" y="154" id="b41" label="," width="31" height="24"/>
<s:Button x="294" y="154" id="b42" label="m" width="31" height="24"/>
<s:Button x="259" y="154" id="b43" label="n" width="37" height="24"/>
<s:Button x="236" y="154" id="b44" label="b" width="31" height="24"/>
<s:Button x="211" y="154" id="b45" label="v" width="31" height="24"/>
<s:Button x="181" y="154" id="b46" label="c" width="31" height="24"/>
<s:Button x="122" y="154" id="b47" label="z" width="31" height="24"/>
<s:Button x="380" y="154" id="b48" label="/" width="31" height="24"/>
<s:Button x="368" y="132" id="b49" label=";" width="31" height="24"/>
<s:Button x="396" y="132" id="b50" label="'" width="31" height="24"/>
<s:Button x="43" y="154" id="b51" label="shift" width="82" height="24"/>
<s:Button x="407" y="154" id="b52" label="shift" width="79" height="24"/>
<s:Button x="455" y="109" id="b53" label="\" width="31" height="24"/>
</s:Panel>
<s:TextInput x="161" y="27" id="textbox" width="253"/>
</s:Application>
regards,
saran rhi,
how to code for these buttons "control,alt,delete,insert and spacebar".
can u help me how to program?
i have attached the mxml code with this,
virtualkeypad1.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
creationComplete="application1_creationCompleteHandler(event)" viewSourceURL="srcview/index.html">
<fx:Script>
<![CDATA[
import flash.utils.getQualifiedSuperclassName;
import mx.events.FlexEvent;
private var inpText:String = 'inp1';
private var shiftState:Boolean = false;
private var capsState:Boolean = false;
protected function keyboard_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+(event.currentTarget as Button).label;
if (shiftState == true) shift_clickHandler(null);
protected function caps_clickHandler(event:MouseEvent):void
capsState = !capsState;
if (capsState == true)
currentState = "SHIFTED" else currentState = "PRIMARY";
protected function tab_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+" ";
protected function shift_clickHandler(event:MouseEvent):void
shiftState = !shiftState;
if (shiftState == true)
currentState = "SHIFTED" else currentState = "PRIMARY";
protected function enter_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+"\n";
protected function backspace_clickHandler(event:MouseEvent):void
var tmpStr:String = this[inpText].text;
this[inpText].text = tmpStr.substr(0,tmpStr.length-1);
protected function application1_creationCompleteHandler(event:FlexEvent):void
inp1.setFocus();
protected function focus_enterHandler(event:MouseEvent):void
inpText = event.currentTarget.id;
]]>
</fx:Script>
<s:states>
<s:State name="PRIMARY"/>
<s:State name="SHIFTED"/>
</s:states>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:TextInput id="inp1" y="36" width="151" horizontalCenter="0" click="focus_enterHandler(event)" y.PRIMARY="239" horizontalCenter.PRIMARY="42" width.PRIMARY="199" height.PRIMARY="31"/>
<s:Group id="keyboard" width="661" height="184" horizontalCenter="0" y="300" focusEnabled="false">
<s:Button x="5" y="5" label="~" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="`"/>
<s:Button x="49" y="5" label="!" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="1"/>
<s:Button x="93" y="5" label="@" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="2"/>
<s:Button x="137" y="5" label="#" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="3"/>
<s:Button x="181" y="5" label="$" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="4"/>
<s:Button x="225" y="5" label="%" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="5"/>
<s:Button x="269" y="5" label="^" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="6"/>
<s:Button x="313" y="5" label="&" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="7"/>
<s:Button x="357" y="5" label="*" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="8"/>
<s:Button x="401" y="5" label="(" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="9"/>
<s:Button x="445" y="5" label=")" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="0"/>
<s:Button x="489" y="5" label="_" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="-"/>
<s:Button x="533" y="5" label="+" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="="/>
<s:Button x="577" y="5" label="Backspace" height="43" width="80" fontSize="11" fontWeight="bold" click="backspace_clickHandler(event)"/>
<s:Button x="5" y="48" label="Tab" height="43" width="67" fontSize="12" fontWeight="bold" click="tab_clickHandler(event)"/>
<s:Button x="72" y="48" label="Q" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="q"/>
<s:Button x="116" y="48" label="W" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="w"/>
<s:Button x="160" y="48" label="E" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="e"/>
<s:Button x="204" y="48" label="R" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="r"/>
<s:Button x="248" y="48" label="T" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="t"/>
<s:Button x="292" y="48" label="Y" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="y"/>
<s:Button x="336" y="48" label="U" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="u"/>
<s:Button x="380" y="48" label="I" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="i"/>
<s:Button x="424" y="48" label="O" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="o"/>
<s:Button x="468" y="48" label="P" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="p"/>
<s:Button x="512" y="48" label="{" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="["/>
<s:Button x="556" y="48" label="}" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="]"/>
<s:Button x="600" y="48" label="|" height="43" width="57" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="\"/>
<s:Button x="5" y="91" label="CapsLock" height="43" width="80" fontSize="12" fontWeight="bold" click="caps_clickHandler(event)"/>
<s:Button x="85" y="91" label="A" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="a"/>
<s:Button x="129" y="91" label="S" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="s"/>
<s:Button x="173" y="91" label="D" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="d"/>
<s:Button x="217" y="91" label="F" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="f"/>
<s:Button x="261" y="91" label="G" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="g"/>
<s:Button x="305" y="91" label="H" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="h"/>
<s:Button x="349" y="91" label="J" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="j"/>
<s:Button x="393" y="91" label="K" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="k"/>
<s:Button x="437" y="91" label="L" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="l"/>
<s:Button x="481" y="91" label=":" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=";"/>
<s:Button x="525" y="91" label=""" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="'"/>
<s:Button x="569" y="91" label="Enter" height="43" width="88" fontSize="24" fontWeight="bold" click="enter_clickHandler(event)"/>
<s:Button x="5" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
<s:Button x="111" y="134" label="Z" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="z"/>
<s:Button x="155" y="134" label="X" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="x"/>
<s:Button x="199" y="134" label="C" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="c"/>
<s:Button x="243" y="134" label="V" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="v"/>
<s:Button x="287" y="134" label="B" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="b"/>
<s:Button x="331" y="134" label="N" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="n"/>
<s:Button x="375" y="134" label="M" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="m"/>
<s:Button x="419" y="134" label="<" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=","/>
<s:Button x="463" y="134" label=">" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="."/>
<s:Button x="507" y="134" label="?" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="/"/>
<s:Button x="551" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
</s:Group>
</s:Application>
thanks in advance,
saran r -
How to enter text in a TLF textfield through a softKeyboard?
Hi,
How to enter text in a TLF textfield through a softKeyboard? (touchscreen keyboard)
I can set the cursor but there is no text showing up after typing!
Any ideas?It's for the web, so basically every device Flash Player runs on.
Could be a touch-enabled or physical keyboard.
Any ideas how to make TLF working across devices? -
How can i get different Condition Type for third-party Purchase Order?
Hi, experts,
for standard PO my Schema works well. now I want to get a different condition type for third-party purchase order. I try to extend field catalog (Pricing Purchasing). The Field PSTYP exists already. However, it is not provided in the field catalog.
How could i do?
Thanks
ReneHi Rene,
If you are seeing fields in the field catalog but are not seeing this field when creating the condition table then the field probably does not exist in the KOMG structure for allowed fields for condition structures. KOMG represents the total of KOMK and KOMP which are the pricing communication structures. If your field is not there then you need to append it to item data in INCLUDE KOMPAZ in KOMP since this is an item level field. If it were a header level field you would append it to include KOMKAZ in KOMK. The inclusion of new fields in KOMK or KOMP automatically means that they are also included in KOMG.
After doing this you will see the field when creating a table. There is further documentation on this process in the IMG under SPRO-> Materials Management-> Purchasing-> Conditions-> Define Price determination Process -> System Enhancements - View the documentation associated to this node in the IMG
Hope this helps,
Matt -
How to get Text for nodes in Tree Structure
Hi Friends,
How to get Text for nodes in Tree Structure
REPORT YFIIN_REP_TREE_STRUCTURE no standard page heading.
I N I T I A L I Z A T I O N
INITIALIZATION.
AUTHORITY-CHECK OBJECT 'ZPRCHK_NEW' :
ID 'YFIINICD' FIELD SY-TCODE.
IF SY-SUBRC NE 0.
MESSAGE I000(yFI02) with SY-TCODE .
LEAVE PROGRAM.
ENDIF.
class screen_init definition create private.
Public section
public section.
class-methods init_screen.
methods constructor.
Private section
private section.
data: container1 type ref to cl_gui_custom_container,
container2 type ref to cl_gui_custom_container,
tree type ref to cl_gui_simple_tree.
methods: fill_tree.
endclass.
Class for Handling Events
class screen_handler definition.
Public section
public section.
methods: constructor importing container
type ref to cl_gui_custom_container,
handle_node_double_click
for event node_double_click
of cl_gui_simple_tree
importing node_key .
Private section
private section.
endclass.
*& Classes implementation
class screen_init implementation.
*& Method INIT_SCREEN
method init_screen.
data screen type ref to screen_init.
create object screen.
endmethod.
*& Method CONSTRUCTOR
method constructor.
data: events type cntl_simple_events,
event like line of events,
event_handler type ref to screen_handler.
create object: container1 exporting container_name = 'CUSTOM_1',
tree exporting parent = container1
node_selection_mode =
cl_gui_simple_tree=>node_sel_mode_multiple.
create object: container2 exporting container_name = 'CUSTOM_2',
event_handler exporting container = container2.
event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
event-appl_event = ' '. "system event, does not trigger PAI
append event to events.
call method tree->set_registered_events
exporting events = events.
set handler event_handler->handle_node_double_click for tree.
call method: me->fill_tree.
endmethod.
*& Method FILL_TREE
method fill_tree.
data: node_table type table of abdemonode,
node type abdemonode.
types: begin of tree_node,
folder(50) type c,
tcode(60) type c,
tcode1(60) type c,
tcode2(60) type c,
text(60) type c,
text1(60) type c,
text2(60) type c,
end of tree_node.
data: wa_tree_node type tree_node,
t_tree_node type table of tree_node.
wa_tree_node-folder = text-001.
wa_tree_node-tcode = text-002.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-003.
wa_tree_node-text1 = 'GR/IR aging'.
wa_tree_node-tcode2 = text-004.
wa_tree_node-text2 = 'Bank Balance'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
wa_tree_node-folder = text-005.
wa_tree_node-tcode = text-006.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-007.
wa_tree_node-text1 = 'Creditors ageing'.
wa_tree_node-tcode2 = text-008.
wa_tree_node-text2 = 'Creditors ageing'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
wa_tree_node-folder = text-009.
wa_tree_node-tcode = text-010.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-011.
wa_tree_node-text1 = 'Creditors ageing'.
wa_tree_node-tcode2 = text-012.
wa_tree_node-text2 = 'Creditors ageing'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
node-hidden = ' '. " All nodes are visible,
node-disabled = ' '. " selectable,
node-isfolder = 'X'. " a folder,
node-expander = ' '. " have no '+' sign forexpansion.
loop at t_tree_node into wa_tree_node.
at new folder.
node-isfolder = 'X'. " a folder,
node-node_key = wa_tree_node-folder.
clear node-relatkey.
clear node-relatship.
node-text = wa_tree_node-folder.
node-n_image = ' '.
node-exp_image = ' '.
append node to node_table.
endat.
at new tcode .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode.
node-text = wa_tree_node-text .
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
endat.
append node to node_table.
at new tcode1 .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode1.
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = wa_tree_node-text1.
endat.
append node to node_table.
at new tcode2 .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode2.
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = wa_tree_node-text2.
endat.
append node to node_table.
endloop.
call method tree->add_nodes
exporting table_structure_name = 'ABDEMONODE'
node_table = node_table.
endmethod.
endclass.
*& Class implementation
class screen_handler implementation.
*& Method CONSTRUCTOR
method constructor.
create object: HTML_VIEWER exporting PARENT = CONTAINER,
LIST_VIEWER exporting I_PARENT = CONTAINER.
endmethod.
*& Method HANDLE_NODE_DOUBLE_CLICK
method handle_node_double_click.
case node_key(12).
when 'Creditors'.
submit YFIIN_REP_CREADITORS_AGING via selection-screen and return.
when 'Vendor'.
submit YFIIN_REP_VENDOR_OUTSTANDING via selection-screen and return.
when 'Customer'.
submit YFIIN_REP_CUSTOMER_OUTSTANDING via selection-screen and
return.
when 'GR/IR'.
submit YFIIN_REP_GRIR_AGING via selection-screen and return.
when 'Acc_Doc_List'.
submit YFIIN_REP_ACCOUNTINGDOCLIST via selection-screen and return.
when 'Bank Bal'.
submit YFIIN_REP_BANKBALANCE via selection-screen and return.
when 'Ven_Cus_Dtl'.
submit YFIIN_REP_VENDORCUST_DETAIL via selection-screen and return.
when 'G/L_Open_Bal'.
submit YFIIN_REP_OPENINGBALANCE via selection-screen and return.
when 'Usr_Authn'.
submit YFIIN_REP_USERAUTHRIZATION via selection-screen and return.
endcase.
endmethod.
endclass.
Program execution ************************************************
load-of-program.
call screen 9001.
at selection-screen.
Dialog Modules PBO
*& Module STATUS_9001 OUTPUT
text
module status_9001 output.
set pf-status 'SCREEN_9001'.
set titlebar 'TIT_9001'.
call method screen_init=>init_screen.
endmodule. " STATUS_9001 OUTPUT
Dialog Modules PAI
*& Module USER_COMMAND_9001 INPUT
text
module user_command_9001 input.
endmodule. " USER_COMMAND_9001 INPUT
*& Module exit_9001 INPUT
text
module exit_9001 input.
case sy-ucomm.
when 'EXIT'.
set screen 0.
endcase.
endmodule.
exit_9001 INPUTyou can read the table node_table with nody key value which imports when docubble click the the tree node (Double clifk event).
Regards,
Gopi .
Reward points if helpfull. -
How to Enter Text in Report Painter
Dear Sap Guru's
I am new to Report Painter i want to add some text under the lead column and then i want to choose Characteristics which i had done but i am not getting any option to simply insert some text under the Lead column in between the Rows.Example.
Lead Column Period1 Period2 Period3
Current Account
5149107 20,000 10,000 5,000
5149106 2000 3000 40000
PRofit Center Account
254136 4000 2000 1000
254137 3000 2000 5000
Please let me know how to Enter Text : Current Account and Profit Center Account in the Report.
Please send the reply as early as possible as i have to submit the report today.Thanks in advance.
Regards,
AbhishekSorry, but this is not related to SAP on Oracle.
I would try ABAP forum instead. -
One inspection lot for multiple materials of purchase order line items
Hi All,
My client requirement is one inspection lot for multiple materials of purchase order line items.
Please share your thoughts.
Thanks in advance for early reply.
Regards,
JishuI totally agree with Amol.
I don't think I would touch that development nor would I ever tell a client it could reliably be done through development.
Knowing what I know about the table structures, I don't think you could create any development for this that could use a significant amount of the existing tables and functionality. I think you'd have to create all your own Z tables and basically rebuild the functionality. Tying it back in with SAP data will be difficult.
You're even looking at all custom screens for your results recording and UD as well. And if you have follow-on functions like batch classification requirements, batch determination, COA publication, results copy functions, use of DMR and sampling procedures, physical samples, quality notifications, etc. etc.. you could be looking a whole lot of development.
Craig -
SRM Fixed Text Mapped to ERP Purchase Order for Extended Classic
We are switching from Classic to Extended Classic.
We currently have "Contract Riders" which are fixed text that the users can select and the header level on the ERP purchase order.
We need to add this functionality to the SRM purchase order. Unfortunatly the fix text on the SRM purchase order is only 30 in length. Can we map the fixed text codes from the SRM purchase order to the ERP purchase order so that the full text on the ERP side is selected?
Or is there a way to allow more than 30 characters for the fixed text in the SRM purchase order?
Regards,
-PaulAnswered.
-
How can I get the template( word rtf ) for PO – Printed Purchase Order ?
I want to convert the “PO - Printed Purchase Order” report from Oracle rdf format to BI Publisher. I am looking for the template but could not find in UNIX.
As per the Oracle blog, the template is available. Please see the URL : https://blogs.oracle.com/xmlpublisher/resource/121BIPReports.pdf
The template code is POXPRPOL_XML.rtf
when I look at the $PO_TOP/patch/115/publisher/templates/US directory, I cannot find POXPRPOL_XML.rtf
How can I get the template( word rtf ) for PO – Printed Purchase Order ?
Thank you,
Biju Varghese.How can I get the template( word rtf ) for PO – Printed Purchase Order ? XML Publisher Administrator -> Templates
find by code or name
open it and you can downloadtemplate by "download" button -
How to Check Log File for 'Import Standard Purchase Orders' program?
Hi,
When the run the standard program 'Import Standard Purchase Orders' after inserting data to PO interface tables. I am getting the log message as mentioned below.
Start of log messages from FND_FILE
To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
AUDSID = 40499066
End of log messages from FND_FILE
When I go and check for the message in mentioned table against the AUDSID,I couldn't find any error listed.
Even I verified the po_interface_errors table, It returns NO ROWS.
Help me on this issue.
Thanks.Did you checked the imported PO ? follow step 7-8 from MOS note and check
Vision Demo - How To Import Standard Purchase Orders Using the Purchase Document Open Interface PDOI [ID 1054004.1]
You can also check
How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
thanks -
Upload Basic Data Text for Materials
Hi,
I'm trying to upload Basic Data Text for Materials using FM SAVE_TEXT. Everything works fine except long text. It is not accepting more than 132 charactors. What logic should I use so that it will append the remaining text for the same material on the other line?
Please help !!!
Thanks.If your text is longer than 132 characters, you have to wrap the text into multiple lines (FMs you should be using are FORMAT_TEXTLINES & RKD_WORD_WRAP).
Search in SDN for details on these FMs.
BR,
Suhas
PS: You can also explore uploading the material long texts using BAPI_MATERIAL_SAVEDATA. Uploading Basic Data Longtext into Material Master
Maybe you are looking for
-
Aperture with iPhoto questions
Hi gang, The new integration of iPhoto and Aperture 1.5 sounds very appealing. I have a couple of questions regarding functionality. Let's assume that I have Aperture set to use my iPhoto library in referenced file mode. 1) Will Aperture keep the two
-
How to resize image from 40k to 200k?
I am trying to upload images around 40k to a website but it tells me images must not be less than 200k and to upload higher quality images instead. I have tried everything including save as and save for web, etc., to no avail. Your help will be much
-
Logic X Instrument Library: To Alias or Not
Hey, guys. I'm not a pro when it comes to DAW's, so please bear with me. I see that there are a few threads on moving Logic X's instrument libraries to an external drive. My understanding is that this will allow Logic to read and write simultaneous
-
Error trying to erase old hard drive.
Hi, I have just replaced my hard drive to a new 160GB one as 60 is not enough. When i changed the drive i just did a simple disc image for the new drive. I have put the old drive in an enclosure and is now an external hard drive but it still has OS X
-
JEditorpane performance limitations
Hi , shortly, we( infact 2 ) friends are devoloping multimedia cd with swing, using jeditorpane.. as viewer we are showing collection of books, we prepare colored formated , a lot of html links including,( for tooltips) pages. content is beatifull. b