Condition for creating EO
is this possible to create EO without primary key ?(primary key not available in table and i do not to used row id )
thanks
prateek
AFAIK, either primary key or the row id is mandatory for the EO creation..
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcentities.htm#sm0133
4.2.3.2 What Happens When a Table Has No Primary Key
If a table has no primary key constraint, then JDeveloper cannot infer the primary key for the entity object. Since every entity object must have at least one attribute marked as a primary key, the wizard will create an attribute named RowID and use the database ROWID value as the primary key for the entity. If appropriate, you can edit the entity object later to mark a different attribute as a primary key and remove the RowID attribute. When you use the Create Entity Object wizard and you have not set any other attribute as primary key, you will be prompted to use RowID as the primary key.
Similar Messages
-
How to create a new Condition for tax as VAT ( 4 % ) in SAP ? .
Dear All ,
Pl guide that " How to create a new Condition for tax as VAT ( 4 % ) in SAP ? . What are all necessary requirements to do so , I need to have all steps so that i should feel very confident . For example what data is to be ticked in Control tab during cond. creation , in the same way how to put this cond. in Pricing procedure ? pl write all necessary thing which are required during this process .
Thanx & deep regrads to all in adv.
sap11In tax we can configure taxprocedure two types i.e., taxinn and tainj. If you adopt taxinn procedure if it is other than VAT condition first you have to create the condition type and then you have to go to FTXP and assign the tax required VAT percentage to the repective % to ded or non ded VAT condion type. In second step you have to assign this tax code to respective company code.
If you adopt taxinj procedure you have to a create tax code with FTXP T-code by assigning the values to the respective and save conditions.
Regards,
Bhuvan -
FM for creating Condition Records
Is there FM for creating Condition Records for output type like transaction VV11 (Create Output - Condition Records: Sales)
Hi there,
FM for condition records? Why do you want to think of a FM for creating conditon records?
Condition records is a master data that has to be manually created as per the business requirement.
But what we can do is that if the data ia existing in an external legacy system, we can migrate that into SAP through a BAPI / BDC or LSMW depending on the volume of data.
But in other cases condition records are manually created in SAP system.
If at all you have a function module to create condition records, how would you ensure that it feeds correct data into the condition records? What key combination would the system take & what data would you want the FM to upload?
How will you monitor what data is uploaded,.
Regards,
Sivanand -
How to create greater_or_equal condition for file_io storage
Dear experts,
Please tell me the how to create greater_or_equal condition for query in file_io as RationalOperatorType.GREATER_OR_EQUAL is not supported for file_IO storage.
thanks n regards,
Kapoorchand.Hi,
not sure if I got you correctly, but in
com.sap.ip.me.api.persist.query.RelationalOperatorType
There is no condition available that you are looking for. Why do you not work with
public interface Condition
Represents a condition for a query. This can either be a single condition, as FIELD = VALUE and / or a composite condition, as ( ( FIELD1 = VALUE1 OR FIELD2 = VALUE2 ) AND FIELDE 3 <> VALUE3 ).
Hope this helps!
Regards,
Oliver -
Is there any chance of creating conditions for parameters in discoverer...
Hello all,
can u help me..
i will tell the situation
i have some countries with some codes like 40 to 80. and i have a group name for these countires like 'EMT'.
like that i have total three groups of different names ....
I like to create a parameter in discoveree for theses three group cpuntries.
if i select "EMT" as a parameter i have to get all countries of code 40 to 80.
is there any possible way to create condition for a parameter like if select this parameter those values only should display..
iam selecting country name,code in my query..
Plz help me..
Thanks in advance..Perhaps I am misisng something, but would you not have a table that links the code values to the group name the code value is assigned to? Good database design would say that such a table should exist. I would just bring in that table into the business area and create the join that allows the link to that table. Then you have the group name available to pick as an item to create a parameter on. If there is no such table, then yes, you are stuck with having to do something as mentioned in the other reply.
John Dickey -
Reg: Join Conditions for Tables to create a View for Generic Extraction
Hi Experts,
Am trying to extract the data from Solman, for this purpose am creating a Generic Extractor based on three tables. So, can anyone please help me out by providing the join conditions to create a view based upon the following three tables,
1. CRM_ORDERM_H
2. DNOD_NOTIF
3. DNOD_NOTIF_S
Anyways i require the following fields in the extractor finally:
CRM CHANGED AT
GUID
SAP COMPONENT
RELEASE
REPORTED BY
These are the some of the major fields that i require in the final extractior. Please help me out ASAP with the table join conditions..
Will Assign Points for the helpfull answer...
Thanks,
Gattu.Hi,
I don't know the table CRM_ORDERM_H however you can link DNOD_NOTIF and DNOD_NOTIF_S
DNOD_NOTIF_S-CLIENT = DNOD_NOTIF-CLIENT
DNOD_NOTIF_S-GUIDS = DNOD_NOTIF-GUIDS
For the third table could you please paste here its definition like the hereunder?
Transp. table DNOD_NOTIF Active
Short Text Notification Header
Field KeyInitData element Data TyLengthDecimaShort Text
CLIENT X X MANDT CLNT 3 0Client
GUIDH X X DNOT_GUIDH RAW 16 0GUID Notification
.INCLUDE DNOS_NOTIF_INT STRU 0 0Notifications (Header, Internal Fields)
OBJNR DNOT_OBJNR CHAR 22 0Status Management Object Number
STATUS DNOT_STATUS CHAR 1 0Notification Status
DELETED DNOT_DELE_N CHAR 1 0Deletion Indicator Notification
PROCESSOR DNOT_PROC CHAR 12 0Current Processor
TYPE_PROC DNOT_TYPE_PRC CHAR 2 0Type of Processor
REPORTER DNOT_REPORTER CHAR 12 0Reported By
TYPE_REPO DNOT_TYPE_REP CHAR 2 0Type of Notification Creator
CREA_TSTMP DNOT_CREA_TSTMP DEC 15 0Entry Time Stamp
CHNG_TSTMP DNOT_CHNG_TSTMP DEC 15 0Time of Last Change
START_TSTMP DNOT_START_TSTMPDEC 15 0Initial Response Time - Time Stamp
END_TSTMP DNOT_END_TSTMP DEC 15 0Requested End of Processing - Time Stamp
CLO_TSTMP DNOT_CLO_TSTMP DEC 15 0Completion Time Stamp
.INCLUDE DNOS_NOTIF_EXT STRU 0 0Notifications (Header, External Fields)
NUMB DNOT_NUM CHAR 12 0Notification Number (External)
REFNUM DNOT_REFNUM CHAR 20 0External Reference Number
TYPE_NOTIF DNOT_TYPE_N CHAR 6 0Message category
CATEGORY DNOT_CATEGORY CHAR 12 0Topic, Area
SUBJECT DNOT_SUBJECT CHAR 60 0Re:
PRIORITY DNOT_PRIORITY CHAR 1 0Notification priority
LANGUAGE DNOT_LANG_N LANG 1 0Notification Language
hope this helps...
Olivier. -
FM FOR CREATING NEW CONDITION RECORDS FROM INPUT FILE
Hello vikas,
I need to develop a interface program FOR CREATING NEW CONDITION RECORDS FROM INPUT FILE.
Is there ay function module to update or create the condtion records,
if u have any example interface program to update conditions records please send me.
regards
ram.This must be your compiler output.
Basically, it is telling you two things that are wrong - in syntax.
1. On line number 11 of the file RationalCollection1.java, the compiler expects a type identifier - that would be the object or return type such as int, String, boolean, etc.
The reason it is doing this is probably due to your not ending a previous statement - like the "expected ';'" error statement. Check your code, make sure that methods (brackets) are closed correctly and there are no open statements (i.e. missing the semi-colen at the end).
2. On line number 33 of the file RationalCollection1.java, the compiler expected the closing bracket. Thus, you didn't put the bracket where the compiler wants it.
It appears that you have skipped some lines of code. Those lines are the problem, post them - post lines 30-36 and 9-15 so we can see what is happening around those error lines. -
Create Conditions for CRMD_ORDER (Rebate)
Hi,
Can you please tell me if we have any STD FM/BAPI for creating conditions for CRMD_ORDER (Rebates)?
Thanks
AshuHi Ashu,
SAP CRM Web UI will not call CRMD_ORDER. The Web UI will also access the same old One Order API's that are used to create the One Order Objects. So, whether it's a SAP GUI or Web UI, the Model is same and consistent across other layers.
So, if you put a debug point in the One Order API layer, you can very well notice that the debug point is it across from the upper layers.
If you can debug the data, then you might probably get some more data which you might have missed while making the call.
Hope this helps.
Thanks,
Samantak. -
Creating new conditions for a material
Hi,
I need to create new price conditions massively for materials. The conditions I'm talking about are manually editable via transaction COMMPR01 -> choose a material -> "Conditions" tab -> Conditions for BBP Purchasing; there it shows the condition records with their validity interval.
I need to add new conditions for many materials via ABAP by adding a new record with a new price and a new validity interval for each material. I was wondering if there is a FM that does the job.
Can you help me?
Thanks in advance!!No one knows of a function module/bapi that updates the product conditions in srm?
it should do massively what you can do with transaction COMMPR01 -> choose a material -> "Conditions" tab -> Conditions for -> BBP Purchasing (dropdown) -> edit condition records -> save -
How to create new starting conditions for a workflow of shopping cart
Hi all,
How to create new starting conditions for a workflow of shopping cart
SATYAExcecute SWB_COND
Creating New:
Click on Create button. If you cannot see that it could be a authorization issue
then Business Object: BUS2121
Double Click the event linkage for one step workflow
Define the expressions, Check Consistency and click on Traansfer
Start Condition is created. If it is not Active click on the Red Button to make it Active
Editing Already existing:
Click on Edit Button If you cannot see that it could be a authorization issue
then select Business Object: BUS2121
Click on the condition part (White area) of the start condtion needing editing
Change the expressions, Check Consistency) and click on Traansfer.If it is not Active click on the Red Button to make it Active -
Hello all,
I want to create or update multidimensional freight conditions for different scale id for different conditions.
I cound not find any Bapi or FM for this. I uesd BDC for this but i can not rely on it.
If any one have other solution than IDOC then suggest me.
Any BAPI or FM available then suggest me.Hi Gowri Rao,
Can you please tell me, what values do you pass in table 'IT_PRICING_CONDITIONS'?
Regards,
Pratik -
Relevance Condition for released P.O. Don´t create the EH in EM
Hello Experts,
I have the following issue, I create a Relevance condition For an Application Object Type, in this case acording to ZPCM10_ITEM. The condition works like this:
&UEKPO-Purchasing Doc& > 1999999 and
&UEKPO-Purchasing Doc& < 3000000
) and
&UEKPO-Plant& = BPXX
The condition works well, only create the PO into the range of numbers and with the plant. My problem is when i include into the condition the "Release indicator: Purchasing Document" according this:
&UEKPO-Purchasing Doc& > 1999999 and
&UEKPO-Purchasing Doc& < 3000000
) and
&UEKPO-Plant& = BPXX and
&/SAPTRX/MM_PO_HDR-Re& = 1
I include the condition of the indicator = 1 (Released). In theory in EM we can only see the Purchase orders in Released Status, but when i execute ME28 Transaction, nothing happen and the P.O. don´t work in Event Management.
Do i forget other step to reach the objective?
I appreciate a lot your help and support.
Thanks a lot and best regards.
Julián.Hello Berthold,
Thanks a lot by the function module, i really don´t knew it, was very helpful to identify my problem. As you explain, yes the condition result was F (false), so the EH was not created.
We must to modify the condition, because our scenario is procurement visibility process and it works at P.O. Item level, so we cannot get this validation in the condition, we decide to create an expected event and registered this with the help of the User Exit EXIT_SAPMM06E_007.
We decide this, because when we create the P.O. but don´t release this, ok, the EH was not created, but later when we release the P.O., the expected event extractor, don´t trigger, so the expected events extractor was not generated and this option was not useful for us, because we have an empty EH.
So we use the Exit EXIT_SAPMM06E_007, to check the Event Release P.O. and send it to the Event Manager via calling the functions 'TRFC_SET_QUEUE_NAME' and '/SAPTRX/BAPI_EH_ADDEVENTMSG_02'.
Thanks by your help Berthold and i appreciated a lot your opinion about this solution.
Best regards,
Julián. -
FM or BAPI for creating/deleting condition records for an output type
Hi all,
what is the FM or BAPI for creating and deleting the condition records for a Z(custom) output type.You can use trasaction SXDA_TOOLS.....
object type BUS3003
program type BINP
program/method RM06IBI0
but the fields must be sequentially written in the txt, with every space inclusive.... -
Sample Bapi code for creating orders
HI all,
ive been working on creating an order using idoc_input_orders and couldnt do it because of 2 fields. now changed my decission and thinking of writing a bapi to do the same. has anybody got the sample code for mapping and filling in the bapis before calling bapi for creating an order. Could somebody help me with a sample code and i could use it as a reference before starting coding.
thanks,
KiranSee if this helps.
one order with total sum of effort
clear: l_order_header,
l_salesdocument,
l_order_partners,
l_order_items,
l_order_schdl.
refresh: it_order_items,
it_order_partners,
it_order_schdl,
it_return.
???????? get from material ...
Order header
l_order_header-doc_type = 'ZQBV'.
l_order_header-distr_chan = '10'.
l_order_header-division = '00'.
if g_qals-werk eq '1100'.
l_order_header-sales_org = '1000'.
else.
if g_qals-werk eq '3100'.
l_order_header-sales_org = '3000'.
else.
message i001(00) with text-005.
endif.
endif.
l_order_header-purch_no_c = g_qals-prueflos. " <= lot
Partner data
l_order_partners-partn_role = 'AG'.
l_order_partners-partn_numb = g_qals-kunnr.
append l_order_partners to it_order_partners.
Order items => only one
l_order_items-itm_number = 10.
l_order_items-material = g_qals-matnr.
l_order_items-target_qty = 1.
append l_order_items to it_order_items.
Schedules for quantity
l_order_schdl-itm_number = 10.
l_order_schdl-req_qty = 1. " <= only 1 !
append l_order_schdl to it_order_schdl.
Conditions for value
l_order_conditions-itm_number = 10.
l_order_conditions-cond_type = 'PR00'.
l_order_conditions-cond_value = g_effort_sum.
l_order_conditions-currency = g_effort_unit.
append l_order_conditions to it_order_conditions.
BAPI to create sales order
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
SALESDOCUMENTIN =
ORDER_HEADER_IN = l_order_header
ORDER_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
SALESDOCUMENT = l_salesdocument
TABLES
RETURN = it_return
ORDER_ITEMS_IN = it_order_items
ORDER_ITEMS_INX =
ORDER_PARTNERS = it_order_partners
ORDER_SCHEDULES_IN = it_order_schdl
ORDER_SCHEDULES_INX =
ORDER_CONDITIONS_IN = it_order_conditions
ORDER_CONDITIONS_INX =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
ORDER_TEXT =
ORDER_KEYS =
EXTENSIONIN =
PARTNERADDRESSES =
if not l_salesdocument is initial.
order successfully created
message i001(00) with text-001 l_salesdocument.
endif.
endif. -
Error :Maintain pricing conditions for the material for the excise invoice
Hi
i have maintained excise data for material, after that i have created scheduled agreement with lp and with 0 value private and dummy tax code and delivery schedule is released. Now when i do the goods receipt i am getting error " Maintain pricing conditions for the material for the excise invoice date
Message no. 8I629" can some body can help me.
with regards
Narendra kumarHi,
goto tcode fv11 u have to maintained the condition.
first enter the condition type like jmop -
then enter, next screen u have the select the below comination.
select the plant/vendor/material base u have to maintain the conditions.
Thank's
MVS
Maybe you are looking for
-
W2 report hs been run!!! Filing status needs to be changed
Hi Team, The W2 report has been run for a set of employees and the filing date has been set.Unable to run for the rest of the employees. Please suggest how can we delete the records of w2 forms for the employees run as the issue is that the filing da
-
Rolling up data into a single report, CRMOD just cannot do it?
So far as I've learnt, CRMOD is unable to do reports such as this and I'm hoping someone will correct me as I find it to be quite a crippling deficiency in terms of flexibility in delivery reports that clients want. Take this example of an ERD: http:
-
My MacBookPro4,1 (Spring 2008) went in for repairs to have a mother board replaced. During the repair, I pulled the hard drive with system 10.7.4 installed and booted from it using the newest MacBookPro. After the repair, I re-installed the hard driv
-
The document type of accounting document of an invoice is different
Dear Friends, The document type of accounting document of an invoice is different for another invoice of the same type. The company codes differ. For example the credit memo B1 has RV as the document type for a particular company code and sales org,
-
does anyone know how to turn off myself built-in camera in a chat window without turning off others'? Thanks.