Value in exbs field of j_1iexcdtl is takeing base price not the discounted
hi
In exbs field of j_1iexcdtl taking base price of a material but exice(bed) is calculated on discounted value of base price. can any body clear me whether value is ok or not. if i need to maintain assesable value at j1iid what value should be?
kaushik
Hi,
Tell me one thing, how can you calculate the ED after discount value. As i know its always on the base price of the material not value after discount.
As per standard behaviour, if you want to store the after discount value in EXBAS then you need to develop a routine to post the value into the field. For that use the alternative calculation type and store the values in KAWRT field
In the program MJ1IINF01
z_1iexcdtl-exbas = excitm-excbase.
excitm-excbase = konv-kawrt
DATA : BEGIN OF excitm OCCURS 30,
excbase LIKE komv-kawrt, "excise base"
Include: MJ1IINTOP
excise item details for the excise invoice
vbeln_b LIKE vbrp-vbeln, "pro forma no,
posnr_b LIKE vbrp-posnr, "pro forma item
vgbel LIKE vbrp-vgbel, "delivery
vgpos LIKE vbrp-vgpos, "delivery item
aubel like vbrp-aubel,
aupos like vbrp-aupos,
xaubel like vbrp-aubel,
xaupos like vbrp-aupos,
matnr LIKE vbrp-matnr, "material no.
arktx LIKE vbrp-arktx, "material desc.
fkimg LIKE vbrp-fkimg, "invoice quantity
meins LIKE vbrp-meins, "unit
werks LIKE vbrp-werks, "plant
lgort LIKE vbrp-lgort, "storage location
charg LIKE vbrp-charg, "batch
excbase LIKE komv-kawrt, "excise base kursk LIKE vbrp-kursk, "exchange rate
bed LIKE j_1iexchdr-exbed,
aed LIKE j_1iexchdr-exaed,
Rewards if it helps
Regards
Goutham
Similar Messages
-
Refreshing the value of a field in a table and displaying it on the screen.
how do i mimimize calls to the database in the following scenario?
I need to show the latest value of a field in a table in a database through a java program. in a concurrent access environment, there are chances of multiple users getting stale values. how do I overcome this problem through code?
please advise.There are many ways of doing this. However its worth noting that RDBMS database are not messaging, event driven systems and are not best suited to do what you want to do. You should only consider doing this if you have a low rate of changes.
You can
- Poll the database table and look for changes.
- Add a trigger to the table to record the keys which have changed. The have a query to find just the key which have changed.
- When a field changes, also send a broadcast/topic message.
- Add a trigger which sends a JMS message when a change occurs. (This is entirely DB/JMS specific, you need to find if this is possible)
Again, databases are not ideally suited to event driven, real time updates. There is no simple, clean solution. -
Need to get the values from "Signed" field from PDF form.
Hi,
This is Dinesh. I am PHP Developer. My issue is "I am not able to get the value of "signed" field from the PDF form when the form has been submitted.". I want to get the Digital Signature value of that field and i need to store it in the DB.
Please help me here Or Please forward this issue to any of the PHP developer who solved this issue and let me know.
Thanks & Regards
DineshHi Vikas,
you can use this badi MRM_WT_SPLIT_UPDATE, the method will be WHTAX_SPLIT_UPDATE
in this badi please see the importing and exporting parameters, you will get the values of withholding tax code as TE_RBWS in export parameters.
Please search in google or SCN you will get how to use it. -
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 -
Check whether value in a field is odd or even
Hi folks,
I have some value in a field 'count'. I want to check if the value in that field is even or not. I need to put a IF loop saying that if the value in 'count' is even then execute the loop. How can I do this.
I appreciate the efficient method to check this. Thanks
Waiting.............You can do something like this.
report zrich_0002 .
data: i type i value 48.
data: remainder type i.
remainder = i mod 2.
if remainder = 0.
write:/ 'This is an even number'.
else.
write:/ 'This is an odd number'.
endif.
Ooops, Abdul beat me to it.
Regards,
Rich Heilman
Message was edited by: Rich Heilman -
Acrobat Xpro - give a value to a field
Hello
We bought Xpro-Mac last April and still not very familiar with it.
Creating a table where individuals will enter the quantity they want to order for each pamphlet.
Pamphlet title
English
French
total
Title
Title
Postal fee (fix)
11.50$
Order total
total including
postal fees
We want the quantities to multiply by 0.20$ and in the last colum, total will be : english * 0.20$ + french *.020$. We are not able to find the way to do that. Also, the total of each line has to add up at the bottom after a fix postal fee.
One more question, how do I create a fix value in a field.
Could someone help me?
ChristineFor the row total fields, you can use the simplified field notation calculation option and set it to something like:
.2 * English + .02 * French
where "English" and "French" are the coreesponding field names in that row. The other option is to use JavaScript, but it may not be necessary in this case.
For the column total fields, you can use the built in calculation option of "Value is the sum", and select the fields involved from the list.
After you set up all of the calculated fields, check the field calculation order to make sure it's correct. -
System generated value for a field and incrementing (using module pool pro)
Hi,
I'm getting system generated value for a field and incrementing (i.e done by coding) when i'm saving the screen or transaction (which is created using module pool programming) while modifying, saving its working fine, but when i'm going out of the screen or exit n again i start the screen (with some ztransco) the value for the field again starting from 0 so i want to start from the same value for a field where we exit or got out from the screen n incremented respectively while saving the screen,
Thanks & Regards,
MS
Edited by: Rob Burbank on May 4, 2010 10:40 AMSearch the forum for number range objects.
Rob -
Using the text and not the value of a filed
Hi there,
I'm programming a pdf form using life cycle, I'm using the following script in a "SEND TO" button in order to email an XML file with the data extracted from the form:
var emailAddress = F.P1.Line.rawValue;
var veicle = F.P1.Vehicle.rawValue;
var shipper = F.P1.Shipper.rawValue;
var date = F.P1.Date.rawValue;
event.target.submitForm({cURL:"mailto:"+emailAddress+"?subject=Booking request from "+shipper+" date:"+date+" &body=Dear Sirs,Please find attached the completed PDF booking form for the following "+veicle+".",cSubmitAs:"XML",cCharset:"utf-8"});
The problem is that I would like to use in a variable the text and not the value of the F.P1.Line.raw field.
Thanks in advanceHi,
This is not the appropriate forum to post this type of question. Please post all designer related queries in LiveCYcle Designer Forum to receive better response.
From you query I understand you have a dropdown box with name as "Line". And you want to the "text" part of the selected item and not the "value" part. If it is so then do the following -
1. Write the below code in onCHange event of your dropdown box.
var ddValue = this.boundItem(xfa.event.newText);
var nodeList = this.resolveNode("#items").nodes;
var ddText = null;
for (var i = 0; i < nodeList.length; i++)
if (this.boundItem(nodeList.item(i).value) == ddValue)
ddText = nodeList.item(i).value;
break;
global.selectedtxt = ddText;
In the above code I am basically getting the "text" part of the item selected and then I am storing it in a global variable.
2.
Write the below code on click event of your button -
var emailAddress = global.selectedtxt;
Hope this helps.
Thanks,
Shivajiv. -
Custom Calculation Script to copy value of a field
Hi,
I'm trying to copy the value of a field into another field and display it in the pdf. This is for the 1099's. We are trying to print 2 copies(Copy B and Copy 2) in one page. The first field will come from the XML file. I need to copy the value of this field into the second field. Can anyone please help me with the calculation script for this. I tried the getField.value and it didn't work in the pdf. Thanks.
With Regards,
Satishpdf.Hi,
There are a couple of approaches.
One would be to put the script in the radio buttons that when clicked would do the calculate and set the value of the numeric field.
Another would be to have the script in the calculate event of the numeric field looking back at the value of the radio button. Taking this approach the script in the numeric field calculate event would look like this:
if (radioButton.rawValue == 1) // radio button bound to 1 is on/yes
this.rawValue = ; // your calculation goes here
else
this.rawValue = null;
This is testing the value of the radio button and then taking appropriate calculations.
Hope that helps,
Niall -
How to Insert more than one record at a time- with fixed set of values in one field
Can someone guide as to how to insert multiple records at a time using ASP VBScript in Dreamweaver CS4 or ADDT.
If someone can guide then the exact problem is given below.
I have a MS access database with one table. The table has three fields. The first field is an autonumber field for ID number.
The second field contains string values- One out of 7 predefined values. One set of records consists of 7 records containing all the seven types of predefined values in fields no 1.
The third field is a numeric field and can contain integers.
I want that the user can enter data for the table using an ASP form in such a way that he enters one set of records at a time in one single screen. This way he will not have to remember that he has /has not entered all the seven set of values for the field no 1.
I am not creating fields with the 7 types of field1value as their names as it will increase the number of fields drastically.
Please help for dreamweaver ASP VBScript.I have successfully inserted seven records in one form submit operation by looping through the command object execute method.
However, the data that is being inserted by the command object is repetition of the first record and the command object is not taking any data from the text boxes for the second record onwards. In this I had used the isert record behavious generated by DW CS4 and modified it to suit my requirement. However, the data inserted in the first row is getting repeated in all the seven rows.
Please help.
Also advise if there are any free dreamweaver server side validation extensions available. -
Hi,
I am trying to find out the latest delivery date(EINDT) for each purchasing document (EBELN) through graphical way.
The view contains other fields apart from the above mentioned two fields.
When only the two fields (EBELN, EINDT) are there, then in semantics, I can select 'Max' as aggregation to get the maximum value for each document.
If I do like this, then I need to join more than 3 views and also so many joins in calculation view. Taking so much time for data preview.
Hence , please help me in getting the solution while the view contains other fields also.
Thanks in advance.
Thanks,
JyothirmayiHi Sreehari/Vinoth,
Thank you for your replies.
if only two fields are then I can get the max/min values of one field corresponding to other field.
But more than two fields are there with different values, then let me know how to find out the max/min value of a particular filed corresponding to the 2nd field with other fields also should be in the output.
I hope you understood my issue.Please revert in case of questions.
Thanks & Regards,
Jyothirmayi -
Assigning a default value to a field
Hello Everyone,
Could you please tell me how to assign a default value to a field in a transparent table, so that while creating an entry even if we don't enter the value, a default value will be assigned.
Thanks,
Anbu.Like this
DATA: BEGIN OF itab OCCURS 0,
field1 TYPE c VALUE 'X'
field2 TYPE c,
END OF itab.
append itab.
append itab.
You will have by default X set in both rows for field1.
Regards
Marcin
PS: Ooops I just noticed you meant transparent table but I wrote about internal one. As long as you maintain that table using maintenance view you can use event 05 - When Creating a New Entry and set fixed value for a field there. So whenever you create new entry it will receive that value.
Edited by: Marcin Pciak on Jun 23, 2010 8:57 AM -
In the Editable screen of ALV, I have to set the cursor on the 3rd field 'VBELN' ( which is editable ).
Using the method set_current_cell_via_id of ALV grid the focus has been set on the particular field. The field Sales order 'VBELN' is already set as editable (EDIT = 'X').
But still I am unable to enter values unless and until I click anywhere on the screen.
Please help me with the solution.
Thanks in Advance.No...Whenever my screen is called, the focus is set on the 'VBELN' field but I can not enter the value.
See the code below:
Display the ALV report.
CALL METHOD grf_alv_popup->set_table_for_first_display
EXPORTING
is_layout = gs_layout
it_toolbar_excluding = gt_exclude
CHANGING
it_outtab = fp_output[]
it_fieldcatalog = gt_fieldcat_popup
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ls_row-row_id = 1.
ls_col-fieldname = 'VBELN'.
CALL METHOD grf_alv_popup->set_current_cell_via_id
EXPORTING
is_column_id = ls_col
is_row_no = ls_row.
With the method set_current_cell_via_id, the field VBELN displays as highlighted but to enter the value I need to click on the screen first. -
Default initial value for opportunity field
Hi all,
What is the fastest and most elegant way to achieve this requirement:
When user clicks create opportunity the field "Relevant for forecast" should be default unflagged. Currently it defaults it to be flagged. It should only happen at creation time. The user should be able to flag the field again before saving. So basically I need to make sure that the defaulting is only done once in the lifetime of an opportunity (i.e. at the very first creation).
Br,
AndersHi,
1) Enhance your component
2) Enhance view "BT111H_OPPT"
3) Generate GETTER/SETTER for "STRUCT.FORECAST_REL" in context node "BTOPPORTH"
4) Add the following code at the end of the method "GET_FORECAST_REL"
IF value IS INITIAL.
* value = 'X' -> to check the checkbox if initial
value = ''.
ENDIF.
This should work, but I have not tested it in this case.
Kind regards
Michael -
Extract a value of a fields from an internal table
hello everyone,
i need to extract a value of a fields from an internal table, the fields is in a postion "sy-tabix" that i know, so i need to pick this value without using a loop
thank you.Like this?
DATA: FIELD1 TYPE C,
FIELD2 TYPE C.
READ TABLE T_TAB INDEX 3.
FIELD1 = T_TAB-FIELD1.
FIELD2 = T_TAB-FIELD2.
Greetings,
Blag.
Maybe you are looking for
-
Why does my mid-2010 macbook pro keep restarting? Kernel panic?
Please help, I work solely on my mid-2010 macbook pro. Lately it has been restarting itself more frequently. I should take it in, but it's hard to be without it for any extended period of time. I was hoping someone could take a look at my crash repor
-
I have an older iPod Touch, I bought a new one and the Itunes on my computer is too old to recognize my new iPod Touch and Itunes cannot be updated. Is there a creditable software program I can use to get all my old music from my old iPod Touch to t
-
How do I find what mixes a song is in?
I thought that was an option when hitting the small arrow next to the track name but it doesn't show it. It only allows me to add the track to a mix.
-
Horizontal Bar Chart and Overlaying Line Chart
I am using SSRS 2008 and developing my reports in BIDS. I have a report with two data points. I want to chart the first as a bar (horizontal) chart and then the second as an overlaying line chart. I created both data series, originally, as a bar char
-
How to skip(do not wnat to get display) save dialogue box for file download
I am having servlet for downlading a file from server. When I call this servelt I am able to get the file from server but I get a save dialog box which I do not want. I want that this file should be stored at a specific location given by me in a serv