U00CCnterpret fields komp-evrwr and komp-fareg in Java for komp-fareg
Hi
I have the following formula in R/3 and i need to convert it to Java in routine PricingUserExits but i dont know how to interpret the fields evrwr, fareg in Java
FORM KOBED_605.
sy-subrc = 4.
if komp-kposn ne 0.
check: komp-evrwr = 'X'.
check: komp-fareg na '45'.
endif.
sy-subrc = 0.
endform.
Regards
Stefanos Tambaris
Please login to the server where IPC is installed. In the IPC folder u find libs folder or search for docs in IPC folder. There it is dealt how ABAP routines are mapped to user exits in java coding
Thanks
Surya
Similar Messages
-
How to get the value of the field 'KOMP-NETWR' in Pur.
Hello everyone,
how do i get the value of the field 'KOMP-NETWR' in the purchase order.
thanks
ArnaudHi,
Try this code similarly for komp
REFRESH i_komv.
CLEAR i_komv.
CALL FUNCTION 'PRICING_REFRESH_TX'.
CALL FUNCTION 'REFRESH_TAX_TABLES'
EXPORTING
LIVERY =
LOOP AT i_ekpo INTO wa_ekpo.
wa_taxcom-bukrs = wa_ekko-bukrs.
wa_taxcom-budat = wa_ekko-bedat.
wa_taxcom-bldat = wa_ekko-bedat.
wa_taxcom-waers = wa_ekko-waers.
wa_taxcom-hwaer = wa_ekko-waers.
wa_taxcom-kposn = wa_ekpo-ebelp.
wa_taxcom-mwskz = wa_ekpo-mwskz.
wa_taxcom-wrbtr = wa_ekpo-netwr.
wa_taxcom-xmwst = 'X'.
wa_taxcom-lifnr = wa_ekko-lifnr.
wa_taxcom-ekorg = wa_ekko-ekorg.
wa_taxcom-matnr = wa_ekpo-matnr.
wa_taxcom-werks = wa_ekpo-werks.
wa_taxcom-matkl = wa_ekpo-matkl.
wa_taxcom-meins = wa_ekpo-meins.
wa_taxcom-mglme = wa_ekpo-menge.
wa_taxcom-mtart = wa_ekpo-mtart.
wa_taxcom-land1 = wa_ekko-lands.
wa_taxcom-ebeln = wa_ekpo-ebeln.
wa_taxcom-ebelp = wa_ekpo-ebelp.
CALL FUNCTION 'CALCULATE_TAX_ITEM'
EXPORTING
i_taxcom = wa_taxcom
IMPORTING
e_taxcom = wa_taxcom
TABLES
t_xkomv = i_komv
EXCEPTIONS
mwskz_not_defined = 1
mwskz_not_found = 2
mwskz_not_valid = 3
steuerbetrag_falsch = 4
country_not_found = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
clear wa_taxcom.
ENDLOOP.
LOOP AT i_komv INTO wa_komv.
CASE wa_komv-kschl.
*EXCISE DUTY
WHEN 'JMOP'.
v_jmop = v_jmop + wa_komv-kwert.
endcase.
endloop.
Hope this might be of some use.
Regards,
sirisha -
Field KOMP-ZZPRCTR1 is not known for condition accesses"
Hello friends,
In a sales order if I put the material I got the error below.
"Field KOMP-ZZPRCTR1 is not known for condition accesses"
I am not able to incert that perticular material into sales order.
Kindly suggest how to go ahead.
Regards,
KunalHi,
You need to add the new field ZZPRCTR1 in the KOMP structure using SYSTEM MODIFICATIONS
Please check the system modifications for this
http://www.sap-img.com/sap-sd/add-a-field-to-new-condition-table-in-pricing.htm
regards,
santosh -
Fields in infocube and DSO?
Hi Experts,
I need some information regarding maximum number of fields in infocube and DSO?
According to my knowledge, in Infocube - characteristics --248
Keyfigures--233
In DSO - key fields - 16
Data fields -749
I thought dat DSO has 3 tables. maximum number of columns in a table is 255. So 255 * 3( 3tables in DSO) is 755.
755(total fields)-16(key fields)= 749(data fields).
Is it correct?can anyone clarify my doubt pls?
Thanks in Advance
Jani Sk.Hi,
In cube , table consists of 255 columns, in which 6 are internally used by SAP,16 for dimensions and the remaining 233 are for Key figures. Each dimension key connected to 248 master data tables at max through dimension and SID tables.So, We can analyse the data at 16*248 dimensions.
ODS/DSO is a two dimensional flat structure.It consists of total 1024 columns, out of which 16 are used for Key fields and remaining 1000 are for data fields.
Thanks,
Sandeep -
Hi friend,
i have issue regarding mandatory self life field (SELD/BBD and Date of manufactor)in migo for Batch Tab for particular Material start with '1' Series and material type.
i want to make mandatory above field during GR from migo..any one let me know exit or badi for that to full fill this goal..
Regard's,
shaikh Khalid.Hi Shaikh
First of all Thread is not closed seconldy as a good practice if you have resolved your issue kindly document it here so that it may help someone in future
Nabheet -
Hi Everyone,
I just deleted PS CS6 and installed PS CC 2014. I'm trying to use the Liquify Filter and it does not work. When I click on the Liquify Filter, my photo does not appear properly. The photo appears as two flourescent color fields - bright turquoise and lime green! Can anyone help me with this? Also, does anyone know if I can re-install Photoshop CS6?
Thanks!
LaraineHi Everyone....I figured it out. Strangely, although I had NEVER used Liquify in PS CC 2014....I just realized that in Liquify Advanced Mode that the "SHOW MASK" option was on by default! I unchecked SHOW MASK. Everything is OK. Whew! Tks!
-
Can I use the fields Product allocation and Basic material for bifurcation of material
Dear Users,
We have a requirement for bifurcation of material so we need two field in material master for fulfilling the requirement. First requirement is material category like insurance or revenue etc., second requirement is department wise like electrical, maintenance etc, so i have choosen the fields 'Product allocation' in basic data 1 screen in material master for fulfilling department requirement and then in basic data 2 i have choosen 'Basic Material' field for fulfilling material category requirement. My doubt is whether this change will effect the reports and i need to know the effects of such changes.
Thanks,
ManojAs you are trying to use the standard fields, so you can read the F1 help for these fields.
Also check in which table and program, the fields are used.
Read the F1 help and find the table and program by using this document How to find Table name for a Field which is shown structure name on press F1.
After reading this, If these fields are suitable for your requirement, then you can continue.
Regards
Dev -
Database fields at runtime and freetext search
Hi,
We have started to look into Kodo 3.0 and have used the reversemappingtool
for generating java classes for our current database layout. We are
considering if we should use Kodo/JDO to refactor some of old code.
In our old system we have some features which we would like to move
to the new implementation, but we are not sure if this is possible.
1) At runtime we would like to a database field which we can maintain,
use a default value when inserting and update with new value. Can
it be done, do you have any example code ?
2) In addition to 1, it would be nice if we at runtime could make a custom
table and maintain it.
3) Support for freetext search on Oracle and Sybase, how can it
be done, do you have any example ?
Best regards,
Karsten MathiasenHi Kaushik,
You can make use of APPCC class of your FPM application enhance your appcc class and write your logic to the post exit method. There you will have IO_OVP instance and this interface have all the method which can hide tabs from your application on runtime.
But for the field hide you need to dynamically prepare your screen in your feeder class.
For using APPCC you can refer http://help.sap.com/saphelp_nw74/helpdata/en/3e/741ac912a143368cded7cc418a4bc8/content.htm?frameset=/en/f5/823cdb32254707aec436de005e0ada/frameset.htm.
Thanks
Praveen Gupta -
Assign master data fields of assets and equipment
i want to include vehicle licence number in field assignments between FI-Asset accounting and Plant Management.
How do i implement the enhancement to that effect.
path spro .... AssetAccounting->Master Data -> Automatic Creation of Equipment Master Records->Develop Enhancement ..
Step by Step please...
But any suggestion is welcome
Urgent.
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 12:40 PMhi,
below documentation from enhancement AIST0002
1. Create structure CI_ANLU in the ABAP Dictionary, and define the
fields that you want to have in the asset master record in addition
to the standard fields. The master record data of these fields will
later be stored in the separate table ANLU.
2. Create include ZXAISU03 in function group XAIS. Enter program code
there in order to transfer the asset master data to global
variables. The asset master data referred to here is the data that
is transferred using function module EXIT_SAPLAIST_002, and which
you need later for checking the field contents of the fields that
you have defined. At the least, you should transfer the values
transferred in parameter I_ANLU to a global structure.
3. In function group XAIS, define one or more subscreens that you want
to integrate into the maintenance interface of the asset master
record. On these subscreens, you can either
reward points if helpful
best regards,darek -
Default value in LOV field in Create and Update page in OAF
Hi All,
I am unable to default LOV field in Create and Update page in OAF.
I tried in below way :
OAMessageLovInputBean lovBean1 = (OAMessageLovInputBean)webBean.findChildRecursive("AAA");
But I am getting developer mode exception, so please guide me how i can set the default value for create and update page instead of using code in process request method in controller.
ThanksHi,
1) In case of create, you can default the value either in EOImpl or in AM while initializing the row:
//in EOImpl
public void create(AttributeList attributeList)
super.create(attributeList);
setXXAttribute(<value>);
//in AM, VO new row initialization :-
VOImpl VO = getVO1();
VO.setMaxFetchSize(0);
VORowImpl row = (VORowImpl)VO.createRow();
row.setXXAttribute(<value>);
VO.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
2) In case of update, execute the VO (also set the where clause if required) in PR method of update page.
--Sushant -
New flex field in "Gender and Marital Status"
Hi Experts,
Please Let me Know whether we would be able to add New Flex Field in "Gender and Marital Status" in Manage Person Page,.
Thanks&Regards
Prasanna KesavanIt sounds like you are trying to add a new value of "Significant Other" to the Marital Status drop down. If that is what you are trying to do, the list is controlled through the MAR_STATUS lookup. That Lookup is extensible so you can add new values if you like.
To update the Lookup, navigate to Setup and Maintenance and query the Manage Common Lookups task.
Then query the Lookup Type = MAR_STATUS
From there you will be able to see all of the values available for different countries.
If the options are greyed out, then you will not be able to alter them because they are delivered with the product.
However, you have the option to add new values of your own here.
If you only want to see the value for particular countries, you can add a value in the "Tag" column with the Country Code where the value should be visible (i.e. if the code is only applicable in the US then you would add "+US" in the tags, if the code is applicable everywhere except the US then you could add the tag "-US").
Hope that is helpful,
Karla -
Adding new field in PO and PR screen
Dear Friends,
Kindly sugest the solution to add new custom field to PR and PO screen at item level in SOURCE OF SUPPLY TAB.
regards
VishalHi,
Check the exit MEREQ001 for PR & MM06E005 for PO.
Hope the above helps.
Regards,
Vivek -
Custom field in 'Notes and Attachment" tab of shopping cart
Hi All,
I am working in SRM 7.0 classic scenario and i have requirement in which i need to add custom field in 'Notes and Attachment" tab of the shopping cart portal.
I have added those fields in structure --- INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITEM_CSF_SC.
Also implemented the BBP_DOC_CHANGE_BADI in while i am populating the custom field value.
I have created custom field as INPUT FIELD in webdynpro component /SAPSRM/WDC_DODC_NA and view : V_DODC_MAIN_VIEW.
Now I can see the custom field value in table BBP_PDISC, but i am not getting the value in Shopping cart "Notes and Attachments" tab.( I am able to see the field but not the value of it).
The value is getting populated in ITEM DATA tab instead.
Please suggest if i am missing anything in the process and how to achieve this.
Thank you in advance.
Thanks,
SatheeshHi,
You have done everything.. well.. except that you did not set the attribute of the input field to this value.
When you have value u just need to bind it using set_attribute method of the element.
Use ctr+f7 to generate the wizard .. select in set mode.. click on context and select the attribute that you have created in the context.
Hope this helps.
Regards,
Vinay -
Name of the table where can get the two fields Valid-From and Valid-to for
Hi gurus
I want name of the table where I can get the two fields Valid-From and Valid-To and their relation ship with the header table in BOM
Regards
KaisarYou can only get the Valid from date from the table STKO.
To get the valid to date, you have to take one day less than the valid-from date of the next record for the same BOM.
Alternatively use the Function module:
CSAP_MAT_BOM_READ
It will give both valid from and valid to dates in the tables parameter: T_STKO
Regards,
Ravi
Edited by: Ravi Kanth Talagana on Jul 2, 2008 4:37 PM -
Need to Add field EKET-EINDT and EKET-SLFDT to ME2M Report output in ALV
Hi All,
I need to add fields EKET-EINDT and EKET-SLFDT to the output of program ME2M Transaction.
I have appended the structure MEREP_OUTTAB_PURCHDOC with these fields. and it is coming in the ALV output field catalog.
I need these fields output only for ALV display only.
Please let me know which enhancement i need to write code to enhance the output with these filed values added to the ALV internal table
Thanks in Advance
ArunHi All,
I am able to get the field EINDT and SLFDT into the structure using Append structure and is also getting displayed in the output in ALV.
But i need to know how to add code for filling these fields and passing into ALV. I need to know the Enhancement spot.
Please let me know how to achieve this scenario
Thanks
Arun
Maybe you are looking for
-
I am not very familiar with the ipad2. I wished to transfer some photos from my pc (not an apple pc but that is the only one I have) to my ipad2 as I thought it would be easier to cull them, edit, crop etc to create albums for our recent trip (the ph
-
Word to pdf losing page numbers
When saving a word doc with different page layouts as a pdf, not only do I get multiple pdfs, which I can deal with, but the landscape pages lose their page numbers in the pdf. Anyone have a clue? Mac 2011 Word, OS X 10.6.8
-
It's on ALE, IDocs, is this a tough one? urgent though
Dear Experts, I need to send the Cost center groups data and Profit Center groups data from one system to other, I had sent this for one time using the tcodes, from now on I need to send only the changed data, so configured the ALE for this. I activa
-
I am very disappointed to see that we cannot Mark and delete multiple SMS as in other Series 40 phones. Very disappointed to buy this phone. It lacks basic functionality which is available in other Series 40 phones. If i am mistaken then please someo
-
IPhoto book templates...
Are there other book templates that can be used in iPhoto? Looking for more variety than what is offered in iPhoto! Thanks.