How to get Packagin material type Text
Hi everyone,
I can see my packaging materials type in TVTY table and their description in vText field. but when i try to see this field Vtext in my abap program or in smart forms, its not present there.
thanks in advance.
Hi,
select single TRATY VTEXT into (W_TRATY, W_VTEXT)
from TVTYT
WHERE SPRAS = 'E'
AND TRATY = <you_variable>.
and then pass your values to smartform
Hope it helps you,
regards,
Abhijit G. Borkar
Similar Messages
-
Hi,
I am traversing over all layers using layerIndex.
I can get current later name in following way.
char* layerName = new char[100];
int32 len = 100;
PIUGetInfoByIndex(layerIndex,classLayer, keyName, layerName , &len) ;
I tried using the keys keyType and keyGroup in the same way but I am not able to directly get type of the layer. Why?
Also, I found similar discussion, which is check the layer is SectionStart, SectionEnd or SectionContent.
Get Layer Groups from C++ plugin
If the layer is a "SectionContent", how to I further check its type (artlayer, textlater, adjustmentlayer, ect) ?apologize !
I post the question in relevant forum. But I would like to ask extra explanation here.
var ref = new ActionReference(); // create action reference
ref.putProperty(stringIDToTypeID ("property"), stringIDToTypeID("layerKind")); // add "layerKind" property to the reference
ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") ); // what putEnumerated actually do ?
var layerDesc = executeActionGet(ref); // get the corresponding layer descriptor
alert (layerDesc.getInteger(stringIDToTypeID("layerKind"))); / get its layerKind
1. what putEnumerated actually do ?
2. I am traversing each layer so that I have the layer object in JavaScript.
How current layer object is refereed to above code segment ? -
How to get current layer type (text, art, group layer, etc.)
Hi,
I am traversing over all layers using layerIndex.
I can get current later name in following way.
char* layerName = new char[100];
int32 len = 100;
PIUGetInfoByIndex(layerIndex,classLayer, keyName, layerName , &len) ;
I need to get layer type using the someway. There exists a key called keyType.
But I am not able access layer type that way. Why?
If there is a better way, I wold like to know that too.Photoshop Scripting
-
How do i get the material type after submitting a create material request?
Hi All,
I have to select an agent depending on the material type of the material being created? I'm not using the rule based workflow for material creation in MDG 7.0, I'm using WS46000057. How do I get the material type being used in the workflow so that I can create a rule and select an agent accordingly from a custom table.
Any kind of help would be sincerely appreciated.
Regards,
Tushar..Why not use the rule-based workflow template?
Where do you want the material type? This is a standard workflow template and I'm not sure you can enhance it.
In any case, in order to read CR details, you need to use the MDG API classes. These are described in this document: Master Data Governance Application Programming Interface Guide. Keep in mind that different API classes were developed for different releases so make sure to pick the class right for your release. -
How to get the material list displayed in CU50 transaction into ABAP report
How to get the 'KMAT" type material list displayed in CU50 transaction into ABAP report?
I am getting the entire BOM when i am using the FM CS_BOM_EXPL_MAT_V2 in to the table in the report.
But I want only the material list displayed in CU50.Hi,
Could you please tell us how you found a solution to your problem?
Thanks & regards
Hassan -
Using function 'read_text' to get the Material PO Text in Purchase Order
Hello,
i am using this function READ_TEXT to get the Material PO Text of a PO.
concatenate ekko-ebeln ekpo-EBELP into txt.
CALL FUNCTION 'READ_TEXT' " FM Read_text
EXPORTING
ID = 'F03'
LANGUAGE = 'E'
NAME = txt
OBJECT = 'EKPO'
TABLES
LINES = itab
EXCEPTIONS
ID = 1.
Now if i enter the Mat PO Text, the function works fine. But if i dont enter the Mat PO Text, the prog gives a dialog box error at compilation that ,
<b>Text 450000001800010 ID F03 language EN not found</b>, where '450000001800010' is the value of 'txt'(passed to the function).
how to check for invalid text name returning from the function ????
Thanks for yur time.hi
use the select query from STXH to c if the text exists and pass the same value as what u r doing to read_text and if the sy-subrc = 0...then only use the FM ...hope it helps..
reward points if it help...
regards
Gunjan -
[CS3][JS] How to get the file type of current document
Hi,
How to get the file type of current opening document (e.g., tif, jpeg, png) using JavaScript with Photoshop CS3.
I am using file object the open the files one by one in the folder (the files sometimes don't have the extensions).
If the current document is in tiff format then I need to convert to 8-bit, if its an Jpg image then needs to ignore the file.
Regards,
KarthikDo you really need to know the file type? What about just checking the bit depth?
var doc = activeDocument;
if (doc.bitsPerChannel != BitsPerChannelType.EIGHT) {//Not 8 bit
doc.bitsPerChannel = BitsPerChannelType.EIGHT;
//do your save etc
}else{
//Ignore -
How to avoid changing material type in MIGO & J1IEX ?
Dear all,
How to avoid changing material type in MIGO & J1IEX ?hii
i think u asking about the , if the material is excisable , then it will ask for material type , not all material type , onle like asset , raw material, consumable, non cenvatable , finished oods and tools.
There i hope its standard SAP system setting , because some time the if do consumable procurement with excisable material .
While doing Gr or J1IEX system will consider that material is capital item, that we cancahge to raw material and we can utilize the cenvate credit in the same year .
so it cannot be hide or making gray mode is difficult in practical.
So revert any clarification
Thanks -
How to get the Database type from weblogic Db connection
I want to use database version control in my application . that means different database type use different Sql Statement. Such as in weblogic7.0 if I create SqlServer JDBC pool then I will use some special Sqlserver sql Statement . such as some join statement. If I create Oralce JDBC pool then I have to use different Sql statement . because these two database support different Sql statement.
What my question is how to get the database type from the connection.For a normal jdbc driver you can use
Connection.getMetaData()
To get the meta data, in particular the getDatabase...() methods.
That might or might not work.
However, at the very least in the server you have access to the weblogic properties so you can parse the pool property to figure it out. -
How to configure this material type We will treat it as consumable goods?
Dear Experts,
How to create new material type which we will treat as consumable goods?
Also, for all purchase, we want to have the GR Non-valuated checked so that the actual cost will not have effect after goods receipt but will be effective when the invoice has been entered. No inventory will be used. We will treat it as other consumable goods.
For GR Non-valuated, it means the actual cost will not happen in goods receipt only.
we will create po and gr and invoice and payment. can you tell me what we have to pay attention to ?
Best Regards,
Merryyou can use material type UNBW, because its having non valuted ticket and quantity updation also not there, and you can do PO, GR, Invoice and payment as a normal process, but the only difference is when you do GR the value of that GR is immediately charge out to an account or cost center including quantity. but you will do the MIRO to clear GR/IR account.
regards,
qsm sap -
Ugent: How to restrict a Material Type for a Specific Process Order Type
Hi All
Can any one please tell me how to restrict material type for specific process order type
We have Process Order type ZPBS for finished materials but while creating process order
if i give the material of semi finished material type the system let me create the process order
it should not as we have a separate process order type for semi finished materials that is ZPBS.
And vice versa
Please help me how to restrict these material types for specific Process Order Types.
Points ll be awarded accordingly
Bilal AtharHy Ghulam Mohammad,
Good Morning,
Pls go through below link
[http://www.sap-img.com/abap/what-is-user-exits.htm]
[http://www.sap-basis-abap.com/sapab013.htm]
Now regarding How to place your checks in User Exit, then pls explain your requirements to your Abaper , so that he or she can write it into programeble language.
Regards,
Dhaval -
How to get data of tabulated text file into internal table
hi all,
i want to get data from tabulated text file(notepad) into internal table. i searched in SCN and got lot of post regarding how to convert excel file into internal table but i didnt get posts regarding text file.
thanks
SAchintry:
DATA: BEGIN OF tabulator,
x(1) TYPE x VALUE '09',
END OF tabulator.
READ DATASET file INTO wa.
split wa at tabulator into table itab.
A. -
How to get select-options type fields in module programming
i need to get ranges type of fields ( like we use select-options in reports) in module prgrming..im only gettin single entry field (like we use in paramenters)...how to get it like this
field1 ___ to ___ ->
field2 ___ to ___ ->
Thanx,
Naveen VishalHi,
report zrich_0006 .
tables: mara.
Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
p_rad2 radiobutton group grp1,
p_rad3 radiobutton group grp1.
select-options: s_matnr for mara-matnr,
s_matkl for mara-matkl,
s_mtart for mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.
start-of-selection.
call screen 100.
*& Module STATUS_0100 OUTPUT
module status_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
endmodule.
*& Module USER_COMMAND_0100 INPUT
module user_command_0100 input.
endmodule.
Create Screen 100 with a subscreen area called "subscreen_1010"
Screen Flow Logic follows
*process before output.
module status_0100.
call subscreen subscreen_1010 including sy-repid '1010'.
*process after input.
call subscreen subscreen_1010 .
module user_command_0100. -
HOW TO HIDE UNWANTED MATERIAL TYPES IN MMO1
Dear all!
In the production client, while creating material by MM01, except some material types to be shown and others to be hidden.
If all material type are shown then the users getting confused which one to chosen. So, how to remove or hide the unwanted material types?
Thanks in advance.
Regards,
Siva.User special transactions:
MMR1 - Raw Material
MMB1 - Semifinished Product
MMF1 - Finished Product
MMI1 - Operating Supplies
MMH1 - Trading Goods
MMU1 - Non-Valuated Material
MMN1 - Non-Stock Material
MMV1 - Packaging
MML1 - Empties
MMS1 - Service(s)
MMK1 - Configurable Material
MMP1 - Maintenance Assembly
MMW1 - Competitor Product
MMG1 - Returnable Packaging -
How to get a materialized view get to refresh itself after the job is "broken"
we created a materialized view sometime ago with the following statement:
create materialized view SXV_PUB_EMPLOYEE_CERT_ALL_M
refresh complete on demand
start with to_date('30-08-2009 04:00:00', 'dd-mm-yyyy hh24:mi:ss') next trunc(sysdate) + (28/24)
as
select sxv_emp_cert_all.*
from sxv_employee_certification_all sxv_emp_cert_all;
this week we found out it had not been refresh for about a month
In dba_jobs the column broken was 'Y', next_date time something like 01-01-4000 and failures 16
when I ran it manually by executing
BEGIN DBMS_MVIEW.REFRESH('SXV_PUB_EMPLOYEE_CERT_ALL_M', 'C'); END;
I found that one of the columns was too small (probably a columns of one of the underlying tables had been extended since the creation of the materialized view)
After fixing this I ussied yesterday (on 29-8-2013) the statement :
alter materialized view SXV_PUB_EMPLOYEE_CERT_ALL_M
refresh complete on demand
start with to_date('30-08-2009 04:00:00', 'dd-mm-yyyy hh24:mi:ss') next trunc(sysdate) + (28/24)
after this the table dba_jobs showed me 30-08-2013 04:00:00 as next date
I was expecting it to run this night at 04:00, but it didn't
the last_date column value was still from about a month ago, the column broken still shows 'Y'
and the next date 30-08-2013 04:00:00 (while it should been set to 31-08-2013 01:00:00
Rrunning
BEGIN DBMS_MVIEW.REFRESH('SXV_PUB_EMPLOYEE_CERT_ALL_M', 'C'); END;
gave no errors this time
and in User_Mview_Analysis the last_refresh_date column showed the date/time I had executed it
Any idea how to get the job "unbroken" again so that the view refreshes itself every night?
the database is Oracle Database 10g Release 10.2.0.4.0
regards,
Remcothanx for all your helpful and correct answers . but eventually I found it myself
exec dbms_job.broken(<jobnumber>, false);
Maybe you are looking for
-
What is the minimum server layer OEM version supports SNMP trap reception ?
Hi: - I have been trying to enable SNMP trap reception on an OEM plug-in. - I turned on debug channel for recvlets.snmp and saw: 2009-10-16 16:07:42,808 Thread-3028552624 ERROR recvlets.snmp: Duplicate threshold : test900, oracle_guide, interfaces, s
-
How to remove OpenHub headings BI7
Hi, I'm using OpenHub for data extraction from infocube but there's always heading on my extraction file. It's looks like this : Directory: /data/out/test Name: OHUB_TEST.CSV The first data are only on line 4 and this heading seems to be repea
-
How to find unreconciled invoices for a BP for a date before?
Hi, Expert, Now is Jan 26th, 2009, but how could we get all unreconciled A/R invoices for a customerr at the date of Dec 31, 2008? Because we received some incoming payment in January, when we go to 'Business Partiners' -> 'Internal Reconciliation',
-
Cancelled but you keep charging my credit card
I cancelled in premium in March through your website but have just realised you have carried on charging my credit card, Why don't you have proper support/contact details instead of using these public forums? I expect someone from Spotify to contact
-
Hi All, I have an issue with PO form. It is Sapscript. After transporting the form to quality system for second time, I noticed in the output that Only for one window the output was not as per the code. I checked in SE71, new code was there but when