How to read Exnum value during MIGO
Dear All,
I need to read the EXNUM field value (for excisable material) while doing MIGO. I am unable to find
the related structure that contains this value. IS_GOHEAD-exnum is always blank. Where and when
does this field get populated? Any pointers appreciated.
Thanks,
GShankar
Dear Hameed,
Thanks for your reply.
I was able to work around the problem, by exporting the 'exnum' in J_1IEXGM_CHECK_EXCISE_HEADER
and importing it in the BAdI for MIGO.
No, I am not an ABAPer
BTW, I have another question on intra-plant Stock Transfer Orders. The process we have is as follows-
1. Create STO using ME21N.
2. MIGO with 351 (Stock in Transit) in supplying plant.
3. Release excise using J1IJ using the mother excise number.
During this process, an internal depot excise invoice number is generated.
4. MIGO with 101 in the receiving plant.
But the excise values are not flowing, even if I manually enter the internally generated depot excise
invoice number in the Excise Header tab.
Is there a way to automate the excise value flow, for Stock-Transfer orders?
Thanks,
GShankar
Similar Messages
-
How to read all values of a queue
Hi All,
In Message mapping I am checking condition for field value based on incoming value.
In test cases i can see the second or third occurence is getting supressed and first value fails the condition and mapping node not created.
I would like to know how to read multiple values from queue and check condition for each value and if correct value present condition should pass.
I tried all possible context changes but no luck.
Any ideas how to read all values coming .
Thanks.<?xml version="1.0" encoding="UTF-8"?>
<msg version="" dbName="">
<rowOp isLast="" cmitLSN="" cmitTime="" authID="" correlationID="" planName="">
<updateRow subName="" srcOwner="" srcName="" intentSEQ="" rowNum="" hasLOBCols="">
<col name="END_RSN_CDE" isKey="852369" invalidData="" rawData="">
<smallint>
<beforeVal invalidData="" rawData=""/>
<afterVal invalidData="" rawData=""/>
</smallint>
<date>
<beforeVal invalidData="" rawData=""/>
<afterVal invalidData="" rawData=""/>
</date>
<char>
<beforeVal invalidData="" rawData=""/>
<afterVal invalidData="" rawData=""/>
</char>
</col>
<col name="SVC_USER_SDT" isKey="789654" invalidData="" rawData="">
<smallint>
<beforeVal invalidData="" rawData=""/>
<afterVal invalidData="" rawData=""/>
</smallint>
<date>
<beforeVal invalidData="" rawData=""/>
<afterVal invalidData="" rawData=""/>
</date>
<char>
<beforeVal invalidData="" rawData=""/>
<afterVal invalidData="" rawData=""/>
</char>
</col>
</updateRow>
</rowOp>
</msg> -
How to Read Variable Values in WAD 7.0 Using JavaScript
I found a how to: How to Read Variable Values in WAD 7.0 Using JavaScript on SDN.
I get a Javascript error:
bics.getElementsByTagName is not a function
vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
Thats my script:
function currency()
var varnm = "SFS_CP_CURR"; // Name of the variable to be read
root = document.childNodes[0]; // <HTML>
body = root.getElementsByTagName("BODY")[0]; // <BODY>
xml = body.getElementsByTagName("XML")[0]; // <XML>
bics = xml.childNodes[0]; // <BICS_VIEW>
vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
varl = vars.getElementsByTagName("VARIABLE"); // gives no. of variable in DP
for ( i = 0; i <= varl.length; i++ ) // Loop one by one
vari = vars.getElementsByTagName("VARIABLE")<i>;
varnam = vari.attributes[0].text; // get variable name
mem = vari.getElementsByTagName("MEMBER")[0];
varval = mem.attributes.getNamedItem("name").value; // read variable value
if (varnam == varnm) //check varname in loop needs to be read
if (varval == "ZMON") // check for value1 and fire command1
SFS_CP_M();
if (varval == "ZKON") // check for value2 and fire command2
SFS_CP_K();
break;
Where's the mistake?I'm afraid I haven't made my question understood clearly.
What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
Please advice.
Thanks in advance,
Shady -
How to read the value of Non-Linear Transforme​r ?
Hi there !
I know that we could make "modified" transformer for special purpose (with Vsec=5V for example). But, instead of make a new transformer, it might be more easier if we could know how to read the value of those transformer. For example, NLT_PQ_4_120 or NLT_PQ_4_10. To be narrowed, what is the meaning of 4_120 and 4_10 ?
Anyone ?
Ghost Recon Team LeaderTo understand the models you mentioned you need to understand XSPICE. I suggest you use the virtual transformer instead because it is easy to change the turn ratio, you can double clicking on the component and enter what ever ratio you want. This component is found by selecting the menu PlaceàComponent
Group: Basic
Family: Basic Virtual
Component: TS Virtual
Tien
Tien P.
National Instruments -
BOL: How to read the value of an attribut
Hiii experts,
I'm new in ABAP programming.
My intention is to read the value of a context attribut.
This attribut ist not in form of a struct attribut. To read an struct attribut, I know to get the value, for example:
value ?= me->typed_context->BP_ADDR->collection_wrapper->get_current( ).
CHECK value IS BOUND.
value->get_property_as_value(
EXPORTING
iv_attr_name = 'CITY'
IMPORTING
ev_result = value_city).
But my problem is, that I have an attribut, which you can not find in the BOL browser, because it is not in form of a struct.
Can anybody help me, how to read the value of this kind of attributs.
Thank you very much in advance fpr your help,
JohnHii Clemens,
first of all, my concern deals with WebUI.
I expect to read the value of an attribut. I know how to read the value of an attribut, which can be found with the same description in the bol browser, as you know you can read it with:
value ?= me->typed_context->BP_ADDR->collection_wrapper->get_current( ).
CHECK value IS BOUND.
value->get_property_as_value(
EXPORTING
iv_attr_name = 'CITY'
IMPORTING
ev_result = value_city).
Now, I have an attribut of an context node which has a different name as in bol browser. If I want to read the value with the code above I get an error message. Thatswhy I referenced a collection of the context node to read this attribut.
Can anybody say me how the value of the attribut, can I use the methode get_property ?
greetings,
J -
How to Overrride ATP values during sales order creation
Hi all,
How i override ATP values during sales order creation.
The scenario is that we need to migrate open orders from an existing legacy system to SAP.
While migrating these orders, we need to make sure that dates on the schdule lines are same as they are in the old system. Hence we need to override ATP.
Any suggestion welcome..
Regards,Hi Kantur Shekar madhuri,
Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
if not please activate and re run your scenario.
Regards
Arun -
I want the read the value of a field,'LCSTATUS' belonging to context node 'BTADMINH' in the GET_I method of the field, 'ZZFLD000008' belonging to context node,'ZBTACTIVITYH'.
In the context node class of context node 'ZBTACTIVITYH',I have created an instance attribute,GR_OWNER type ref to context class.
I get the following error in the line - lv_act_status = Lr_entity->if_bol_bo_property_access~GET_PROPERTY_AS_STRING( 'LCSTATUS' ).
'An exception (CX_CRM_CIC_PARAMETER_ERROR) occurred Message no. TPDA430'
I have used the below code.
method GET_I_ZZFLD000008.
DATA: current TYPE REF TO if_bol_bo_property_access,
lv_act_status TYPE string.
DATA:lr_entity TYPE REF TO cl_crm_bol_entity,
lr_current TYPE REF TO if_bol_bo_property_access,
lr_parent TYPE REF TO cl_crm_bol_entity.
rv_disabled = 'TRUE'.
if iterator is bound.
current = iterator->get_current( ).
else.
current = collection_wrapper->get_current( ).
endif.
CHECK gr_owner IS BOUND.
lr_entity ?= gr_owner->btadminh->collection_wrapper->get_current( ).
CHECK lr_entity IS BOUND.
lv_act_status = Lr_entity->if_bol_bo_property_access~GET_PROPERTY_AS_STRING( 'LCSTATUS' ). "error states that lcstatus can't be used here.
TRY.
IF current->is_property_readonly(
'ZZFLD000008' ) = abap_false. "#EC NOTEXT
rv_disabled = 'FALSE'.
ENDIF.
CATCH cx_sy_ref_is_initial cx_sy_move_cast_error
cx_crm_genil_model_error.
RETURN.
ENDTRY.
endmethod.Hi,
LCSTATUS is not an attribute of the BTADMINH structure. It is read using the relation to the status object
BTADMINH-> BTHeaderStatusSet-> BTStatusHCurrent-> ACT_STATUS.
Try reading the ACT_STATUS of object BTStatus as given below.
data: coll type ref to if_bol_entity_col.
data: entity type ref to cl_crm_bol_entity,
lv_act_status TYPE string.
entity ?= current. "BTADMINH entity.
coll = entity->get_related_entities(
iv_relation_name = 'BTHeaderStatusSet' ). "#EC NOTEXT
current = coll->get_current( ).
entity ?= current.
coll = entity->get_related_entities(
iv_relation_name = 'BTStatusHCurrent' ). "#EC NOTEXT
current = coll->get_current( ).
try.
lv_act_status = current->if_bol_bo_property_access~GET_PROPERTY_AS_STRING( 'ACT_STATUS' ).
catch cx_crm_cic_parameter_error.
endtry.
Regards JP -
How to read the value of Inputfield in WAD in JAVA script?
Hi Experts,
I have a requirement in WAD .
I have put an Input Field (text box), a button and a script control in the web template.
In my script control function , I want to read the value entered in the input field using java script. How do I achieve it?
Thanks in advance.
Regards
akshayHi,
To do this, first you may want to view the HTML source of the report. So, when you have the report launched with the input field, right click and select View Source. Usually it is under a <span> tag with id something like sapbi_snippet_YOURWEBITEMNAME. Most useful commands here are document.getElementById and document.getElementsByTagName.
You can also access the input web item value using standard sap command SET_SELECTION_STATE_BY_BINDING. Take a look at the documentation on this.
Hope the above helps.
Regards,
wira -
How to read the value of OLAPDataGrid cell/s from external object
Hi,
I have an OLAPDataGrid control in an Adobe flex application,
and I am using the cutom renderer to render the cells of the
OLAPDataGrid ,
any Idea how I can read the value of each cell at the
renderer , so I will be able to decide about the actions for each
cell at the renderer?"j_shawqi" <[email protected]> wrote in
message
news:gkqgdl$539$[email protected]..
> Hi,
> I have an OLAPDataGrid control in an Adobe flex
application,
> and I am using the cutom renderer to render the cells of
the OLAPDataGrid
> ,
> any Idea how I can read the value of each cell at the
renderer , so I will
> be
> able to decide about the actions for each cell at the
renderer?
I'm thinking that you'll need to look at the listData
property. I'm not
sure what you get in an OLAP Grid that orients you to your
cell position,
but I'd set a break point in the listData override of your
renderer and see
what you actually have, or look at the docs for the data type
of the
listData object that the default renderer expects to get.
HTH;
Amy -
How to read -Dname=value pair command line arguments
Hi
iam running one program called report.java as given below
compile:
javac report.java
run:
java report -Djava.path=home/arao/jaava1.5/bin
my problem is how to read name and value pair given in command line argument.
System.getProperty("java.path");//not working can anybody help how to read name and value
pair of -D optionIf you put that string after the name of the class you are running, then it's a command line parameter. Your main() method can look at args[0] to see it. However it would be better if you just put it before the name of the class, where it's supposed to go if you want it to be treated as a system property.
-
How to read enumerated values from an OPC server via Datasocket
Hi Labviewers,
I am using LV8.2 and I am trying to find if it is possible to read enumerations from an OPC server via Datasocket, not just the values.
I can successfully read a value for an OPC server via Datasocket and I get a value for example 3, is it possible to get the enumeration/string that corresponds to this value i.e. "Open".
Many thanks in advance
DimitrisHi Sarah,
With the input type as variant I get the following response:
1 <-This is the current numeric value of the parameter
4 Attribute(s):
'Quality' -> 192
'TimeHigh' -> 29861723
'TimeLow' -> -665408304
'Timestamp' -> 39.238E+3
With the Input set to Enum constant I get no values or strings coming back. With the Input set to Ring constant I just get the numeric value
Dimitris -
How to read XML Values using JAVA
Hi FRNDS,
I uploaded one XML File in imported Archieves, i have to read the value form XML uisng JAVA code,
using XSL able to read like xsl variable name='TimeZone' select =$linkDoc//...........*
But using java i have to read the value from XML,is it possible to read the value??
please give me some sample code.
regards,
Raja SekharBut using java i have to read the value from XML,is it possible to read the value??
Check the below JAVA code from help:
http://help.sap.com/saphelp_nwpi71/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/content.htm
you can ignore the XSLT part and configure only the JAVA code...check if this suits your needs.
Regards,
Abhishek. -
To read EXNUM field while MIGO
Dear All,
I need to read the EXNUM field value (for excisable material) while doing MIGO. I am unable to find
the related structure that contains this value. IS_GOHEAD-exnum is always blank. Where and when
does this field get populated? Any pointers appreciated.
Thanks,
GShankarI think you are asking at the time GRN you want to capture the excise invoice number, Date & ite value.
There is one tab coming while making GRN against OBD -Excise Invoice. If you have implemented CIN module.
You can customize the official excise document number ranges in Customizing for Logistics - General, by choosing Tax on Goods Movements -> India -> Tools -> Number Ranges. -
How to restrict the values during extraction?
Hi everyone,
I want to restrict the values while extracting data from R/3 Datasource... For example:
I have MATNR, which have around 10 materials out of which i want to extract the data for only 5 materials. My Selection screen is disabled, i mean we cant do anything in selection screen... Can anyone plz tell me how to go abt this issue?
Advance thanks,
chintu..Hi KJ,
Am saying that its not available in Selection screen in R/3 side.. am not talking abt the BW side.. Then also i want to extract the data.. How to do this? this is an interview question asked by HP today morning..
Regards,
Chintu. -
How to read RGB values into Set
Hi,
I have been told that to count the total number of unique colors in an image is by reading each pixel RGB values into a set.
I have checked this and it is true that the set can do this fine if considering only either one channel of the R,G or B (this does not allow me to know the exact number of color exist). However, I am confuse on how to have all three R, G and B values into a set so that the set can consider the whole 3 values of RG and B as a color which can then be differentiated separately.
I think pixelgrabber allow to getPixel RGB values but I am working with JIU getsample method. Perhaps I missed out other methods in JIU which have the same functionality as in pixelGrabber.
I am working on an image analysis so I need to figure out this out first.
I am hoping anyone can help me out with this and I thank you.as mentioned, pack the rgb values into an integer.
instead of a set, you will get better performance and
memory useage using a sorted, dynamically allocated
int array. With some minor work, you better this
structure by using more than one sorted array and a
cheap rgb mask hashing mechanism. I don't know what
JIU is, but look at the source of java.awt.Color for
details on how to pack/unpack rgb values.Hi,
Thank for your feedback. I have tried to pack the rgb values into an integer. At the moment I just making used of Set (will look into probably ArrayList after I get the rgb values correct). However, I am not sure whether my code is correct (which I doubt) or not. Not sure how the output looks like that. If you could have a look at it and confirm me, I would be very much thanking you.
the code snippet:
public void countColour() {
int r, g, b;
int[] rgb1DArray = new int[h * w];
int[] rgb = new int[4];
Set set = new HashSet();
int alpha = 255;
for (int i = 0, cnt = 0; i < w; i++) {
for (int j = 0; j < h; j++) {
r = intImg.getSample(0, i, j);
g = intImg.getSample(1, i, j);
b = intImg.getSample(2, i, j);
System.out.println(r+ "," g "," +b); // just checking rgb values
//rgb[0] = alpha;
rgb[1] = r;
rgb[2] = g;
rgb[3] = b;
System.out.println(rgb[0]+ "," rgb[1] "," rgb[2] "," +rgb[3]);
rgb1DArray[cnt] = ((rgb[1])<<16)|
((rgb[2]<<8))|(rgb[3]);
System.out.println("rgb["+cnt+"] :" +rgb1DArray[cnt]);
output:
Image file size is 230 x 236
204,221,203
0,204,221,203
rgb[0] :13426123
204,212,191
0,204,212,191
rgb[1] :13423807
180,166,140
0,180,166,140
rgb[2] :11839116
236,209,166
0,236,209,166
rgb[3] :15520166
Maybe you are looking for
-
Used the online converter to convert to word doc. how do i now edit the document.
how do i edit a document that i converted from pdf to word using the online converter
-
Latest openoffice won't open WordPerfect frm files
Not sure if this is an openoffice issue or arch/package issue. Previously with openoffice-base (3.2.1-3) I was able to open WordPerfect frm files. Yesterday I upgraded to 3.2.1-4 and I can no longer open the .frm files. Interestingly if I downgrad
-
Differences in .pdf and .rtf
I'm trying to create a report that the output needs to be in a .pdf or in a .rtf, the user decides. I'm having with the .rtf because the output looks perfect in a .pdf but doesn't look the same in the .rtf output. Is this normally the way BI Pub work
-
What would you most like to see in a future version?
I'm pretty sure the DSC development team looks at these posts so what would you most like to see in the future? For me, I'd like to be able to dynamically add tags without shutting down the engine. Regards, Robert
-
AE CC UI lag / slowness / hanging, seems to be due to card wipe
EDIT - THIS SEEMS TO BE RELATED TO CARD WIPE? I am using it heavily, and when I turn it off, the behavior below seems to subside. However, this was all working fine earlier today. Any insights as to why this would happen all of a sudden would be gre