ABAP table for "Condition table"
Dears,
Could you please tell the ABAP table for Condition table.
My requirement is : I need to check a field e.g. KUNNR, in which all the condition tables KUNNR is been used.
Thanks
pinky
Hi,
Use t.code se16n, and then provide the sales order number for vbak,
or vbap take value of field KNUMV (The internal number under which
the system saves conditions that apply to a sales order header),
KNUMH (The internal number under which the system saves conditions
that apply to a sales orde itemr), and go to KONV (for vbak) and KONP
(for vbap) enter this KNUMV or KNUMH number and execute , you will get
all item pricing conditions for that sales order.
For pricing record :- table KONH - Condition (Header)
table KONP - Condition (Item)
with field KNUMH - Condition record number.
hope this will help.
regards
Vivek.
Similar Messages
-
ABAP Table for DynamicConfiguration details of XML message in SXMB_MONI
Dear All
I have a requirement where I have to read the value from DCJMSCorreleationID property of message which is recorded in SXMB_MONI based on the SAP PI message ID.
I have 2 interfaces as below
Interface one (INT1) : JMS-PI-ECC --->Inbound interface to ECC when message is received on PI it will have DCJMSCorreleationID populated with some ID as shown below
Go to SXMB_MONI -->Inbound Message ---> SOAP Header --->DynamicConfiguration
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<SAP:DynamicConfiguration SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Record namespace="http://sap.com/xi/XI/System/JMS" name="DCJMSCorreleationID">
a26c4276-9d5e-11e3-ba87-000004238292
</SAP:Record>
<SAP:Record namespace="http://sap.com/xi/XI/Message/30/general" name="senderAgreementGUID">dd3fb7c6b983314293e14ba59df1ad45</SAP:Record></SAP:DynamicConfiguration>
Interface Two (INT2):-ECC-PI-JMS----> Outbound from ECC where I am passing a SAP PI Message ID for INT1 in one of the field
Can I read this DCJMSCorreleationID for INT1 when INT2 is executed and have message ID for INT1 ?
Where are these SOAP hearder porperties like DCJMSCorreleationID are stored on ABAP table?Thanks Jörg for your reply
I have a back up plan for ZTable approach but the only concern there is RFC calls for read and write
we have implemented a FM which gives the original payload using a std SAP functional modules FM SXMB_GET_XI_MESSAGE_INT and ECATT_CONV_XSTRING_TO_STRING
But I am looking for the SOAP Header information for DCJMSCorreleationID
So if there is anything which will help to read this DCJMSCorreleationID property easily form existing message SOAP header is really helpful -
Abap tables for adapter engine errors
Hello,
Which ABAP tables in PI will have the data relating to adapter engine errors (like the communication channel errors). Is there any way I can get the adapter engine errors from abap tables?
Any help is very much appreciated.
Thanks
MLSHello,
What I am trying to do is write a report in ABAP, which will read the table for errors (for messages which are not processed successfully in Integration engine or adapter engine) and email those errors to users. If there is communication channel error in RWB, the message in sxmb_moni is still shown as success and is not being updated in table SXMSPERROR.
We cannot use PI Alerts here since the email list is dynamic for the same PI interface.
Any ideas on how to accomplish this?
Thanks
MLS -
budget abap tables for the cost element and commitment items,thanks.
Hi,
For budget information you have to look in RPSCO for rows with WRTTP = 41 and for actuals per cost element you look in COSS/COSP/COSSP/COSPP for rows with WRTTP = 4. Budget is stored at the object level and not at cost element level.
Regards,
Kenneth -
ABAP Table for Integration Directory Objects
Hi
Is there any ABAP table, which stores the runtime objects, communication channel, It's status, Service etc.
Where you can find out status of each channel and the channel type used within the ABAP stack in Data Dictionary table.
Replies apprecriated.
SwetankHi Paresh,
To view the status of adapters you can use RWB.
You dont need to write an ABAP report for this purpose.
RWB->Component Monitoring->Click on Displaye with status "all".
Then..click o Integration Server->Adapter Engine
click on 'Adapter monitoring' in the the 'Status' tab page of the window at the bottom of the screen.
This will launch a widow with status details of all the monitors.
Hope this info helps you.
praveen -
Table containing validity periods for condition types in me12 transaction
Hi .,
i need the name of the table which contains the Validity Start and Validity End dates for Condition type 'PB00' IN ME12 transaction .. kindly help me..
Regards.,
S.Sivakumarhi,
we hav data in A018.
130 M PB00 10011 30000102 XXXX 0 31.12.9999 03.09.2004 0000007715
130 M PB00 10061 20000822 XXXX 0 31.12.9999 08.10.2006 0000011194
130 M PB00 10061 30000436 XXXX 0 31.12.9999 21.01.2005 0000009793
130 M PB00 10061 30000437 XXXX 0 31.12.9999 21.01.2005 0000009792
130 M PB00 10065 80000414 XXXX 0 31.12.9999 30.07.2004 0000007487
130 M PB00 10269 10004972 XXXX 0 31.12.9999 20.01.2007 0000011237
130 M PB00 10482 30000129 XXXX 0 31.12.9999 16.07.2004 0000006911
130 M PB00 18091 30001906 XXXX 0 31.12.9999 06.05.2006 0000011061
130 M PB00 18091 30001912 XXXX 0 31.12.9999 06.05.2006 0000011059
130 M PB00 18091 30001913 XXXX 0 31.12.9999 06.05.2006 0000011060 -
There are tables for condition type ZCB0 but they cannot be maintained
Hi,
I'm encountering a problem with Conditions in SAP CRM 7.0 - TPM scenario.
Here you can find the error:
"A condition type was selected that cannot be maintained in this system or for which there are no maintanable tables in this system."
Procedure:
"If maintenance for condition records of a specific condition type/ table is required in this system, this must be set up in Customizing Notes for data transfer from the R/3 System"
Can anybdy better clarify what do I have to do?
Thanks in advance,
AndreaHi,
I proceeded with the download of the following objects
u2022 DNL_CUST_CND_BO
u2022 DNL_CUST_CNDALL
u2022 DNL_CUST_CND_CD
u2022 DNL_CUST_CND_FG
u2022 DNL_CUST_CND_PR
u2022 DNL_CUST_FGD
u2022 DNL_CUST_PRC
u2022 DNL_CUST_CAD
u2022 DNL_CUST_BON
and I've run the report /SAPCND/RV12N001 for the generation of condition tecnique (Application: CRM; Usage: CD,PR,BO; Table number : *) but the condition tables are not assignable to the Condition Generation Types and I'm not able to create Trade Promotions with Trade Spends.
What should I do in order to solve the problem?
Thanks in advance and Best Regards,
Andrea Ricci -
Dynamic configuration- Is file name stored in any abap table in PI
Hi.
Is there any ABAP table in XI containing the dynamic configuration's xml of a message.
For any file scenario Can I get the file name from any of the abap table in PI
Regards,
DeepakInteresting ABAP tables in XI
Interesting ABAP tables in XI Part I
Regards,
Phani -
Dynamic configuration in ABAP tables
Hi,
is there any ABAP table in XI containing the dynamic configuration's xml of a message (or an equivalent information in any format)?
Thanks,
Danielehi
Dynamic configurations will be a part of the xi message header
chk these tables
1.SXMSPMAST: (Integration Engine: Message Queue (Master)) The table is the master table for the monitoring information. You can get the timestamp, interface status, message id, and many more information.
2.SXMSPEMAS: (Integration Engine: Enhanced Message Queue (Master)) The table provides the namespaces, the business systems and message interfaces involved in the interface.
3.SXMSMSTATT: (Exchange Infrastructure: Message Status Description) This table provides a message status description.
4.SXMSMSTAT: (Exchange Infrastructure: Message Status) This table is helpful if you want to show the process status icon for the corresponding message state.
refer this for code sample
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/909760cb-0ec8-2a10-4a96-ee8417acfbc9
rgds
arun -
How to handle BLOB field in receiver JDBC adapter into ABAP table
Dear Experts,
I am working in a synchronous scenario with Sender ABAP Proxy to Oracle Database as receiver via SAP PO 7.4.I will be calling a stored procedure view with fields ID, NAME,Age,*** and BLOB (Image binary).
1. The response from Oracle Database field BLOB is to be stored in ABAP table.Would I have to write any JAVA program to read the BLOB or the receiver JDBC adapter will handle it and store in a table by using ABAP proxy once it reaches ECC.
2. If yes, would the JAVA program have to deal with other 4 fields.
3. Can I use a UDF mapping to this BLOB field.
Regards
Rebecca...Dear Praveen,
Thanks for your response...
Please correct me if I am wrong.
1. For 1-1 response mapping for BLOB field, I will use just use the below UDF code.
public static byte[] hexStringToByteArray(String s) {
int len = s.length();
byte[] data = new byte[len / 2];
for (int i = 0; i < len; i += 2) {
data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4)
+ Character.digit(s.charAt(i+1), 16));
return data;
2. ===Using the byte data, create binary attachment in mapping for abap proxy response===
Could you please share how to create the binary attachment.. I am not clear
Regards... -
HR ABAP: table/infotype relationships
Hi.
I'm experienced in doing ABAP programming for all the rest of the modules, but with ABAP HR, I am new and doing one for the first time. I need your help regarding how to find tables/infotypes and relationships to each other.
Specific work example/scenario:
From selection criteria of requisition information, I am supposed to have an output report with application and candidacy information.
1.) How can I relate Infotype 5125 with info type 5132 and 5102?
I am more comfortable with select statements hence I prefer explanation using the transparent tables HRP5125, HRP5132, etc.
2.) How can I make use of the table HRP1001 to establish relationships between different tables/infotypes of HR?
Also, kindly send any links and documents that can give an at-a-glance summary of what I can use when doing ABAP for HR for the first time.
Thanks for your help and expertise and may God bless us all!
CelesteMore exactly look at tables
- [HRP1000 |https://www.sdn.sap.com/irj/sdn/advancedsearch?query=hrp1000+&cat=sdn_all]: org. units, positions, etc.
- [HRP1001|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=hrp1001&adv=false&sortby=cm_rnd_rankvalue] : links between org. units, positions, etc.
Look at this thread Tables for ORG model and FM [RH_STRUC_GET|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=rh_struc_get&cat=sdn_all]
Regards -
Access ABAP Table using Java (NWDS/JCO)
All,
I am trying to setup a jco connection from java program through NWDS to ECC abap table.
However I am getting the following error in NWDS:
Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [C:\Program Files\Java\jdk1.6.0_45\bin\sapjcorfc.dll: Access is denied]. java.library.path [C:\Program Files\Java\jdk1.6.0_45\bin;.]
and a parity error on my system:
"Parity blocked an attempt by javaw.exe to run sapjcorfc.dll because the file is not approved. If you require access to this file, please contact your system administrator. Scroll down for diagnostic data."
Here is the Java code...per the SAP website:
package com.sap.pi.updateAbapSxmbAdminParams;
import com.sap.mw.jco.*;
public class ReadPiAbapTables {
private static JCO.Client theConnection;
private static IRepository theRepository;
public static void main(String[] args) {
createConnection();
retrieveRepository();
try {
JCO.Function function = getFunction("RFC_READ_TABLE");
JCO.ParameterList listParams = function.getImportParameterList();
listParams.setValue("BSAUTHORS", "QUERY_TABLE");
theConnection.execute(function);
JCO.Table tableList = function.getTableParameterList().getTable("SXMSCONFVLV");
if (tableList.getNumRows() > 0) {
do {
for (JCO.FieldIterator fI = tableList.fields();
fI.hasMoreElements();)
JCO.Field tabField = fI.nextField();
System.out.println(tabField.getName()
+ ":t" +
tabField.getString());
System.out.println("n");
while (tableList.nextRow() == true);
catch (Exception ex) {
ex.printStackTrace();
private static void createConnection() {
try {
theConnection = JCO.createClient("aaa", "aaa", "aaa", "aa", "aa", "aa");
theConnection.connect();
catch (Exception ex) {
System.out.println("Failed to connect to SAP system");
private static void retrieveRepository() {
try {
theRepository = new JCO.Repository("saprep", theConnection);
catch (Exception ex)
System.out.println("failed to retrieve repository");
public static JCO.Function getFunction(String name) {
try {
return theRepository.getFunctionTemplate(name.toUpperCase()).getFunction();
catch (Exception ex) {
ex.printStackTrace();
return null;Hi Vicky,
You need authorization to the S_TABU_DIS object, talk with the ABAP basis team about this to find the more restrictive role.
It's not a good idea to use the RFC_READ_TABLE, for the wide permissions needed. You could think to develop a Z RFC for this. You can check pros/cons in this document: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a83ec690-0201-0010-14ac-bd1d75e24a7d?overridelayout=t…
Regards. -
Access ABAP table in Webdynpro Java application
Hi All
Is it possible to access ABAP table in Webdynpro Java application
Please provide your input
Thanks
Karthi D.Hi you will connect to the remote SAP system, the
backend, using an Adaptive RFC MOdel. To access database tables, you can make use of existing functions in terms of RFC function modules. For each function module you need, the system generates a corresponding Java proxy class. All the generated proxy classes and interface are bundled together in the RFC model and treated as part
of your Web Dynpro project
In WebDynpro java you RFC by using Model :
Adaptive RFC Model
1. automatically adapts to changes in function module signature
2 provides support for data types and extensibility
3.support for different structure definitions in different backend
systems (release dependent structures, custom adaptation)
Basic principles and guidelines
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
See this blog
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
http://help.sap.com/saphelp_nw04s/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm
Thanks,
Tulasi -
ABAP Table - Invoice number & accounting doc date
Hi ,
In which ABAP Table i can get invoice number and Accounting document date ?
SriniHi Srini,
I guess what you're really asking is "How can I find the tables that contain certain fields". So, if that is really your question you should check out a blog like this;
/people/martin.english/blog/2010/01/13/finding-what-tables-and-fields-lie-behind-an-sap-transaction
Otherwise, every time you need to find a table for a field you don't know you'll have to ask the forum.
Regards,
Nick -
How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table
Hello,
How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table ?
Thankshi,
Check out this link for sorting in Table.
Sorting option in WebDynPro ABAP UI Table
steps to follow :
->Have the data in internal table (itab).
->Now use sort command for the particular column which ever you want to sort.
e.g sort itab descending by <Column>.
->Now you can bind the internal table with the Context Node which is binded to Table.
I hope it helps.
Thanx.
Maybe you are looking for
-
AWR - Database Performance Slow
If my Whole Database Performance is slow, running AWR report include current time statistics when the DB Performance is slow ?
-
WAD result row in the name of the WAD report
Hi, My requirement is we need to show summary of the result rows in front of WAD report output. Is it possible by any means please let me know. amit
-
Hello, problem with a movie that I bought
a few minutes ago, I've just bought The Hobbit in normal definition it cost 14 $.The point is that the HD version worths the same price than the normal , and i wanna know how can i get the HD for free, or how to switch? T
-
Rear audio with audio usb card, hercules muse
Hello, i have bought an audio usb card (hercules muse pocket lt), but i have a problem to use rear audio output. Using vlc player it works fine with all outputs (if it plays a dvd with sound 5.1), but with other softwares (itunes, dvd player..) it do
-
hi gurus, what is the difference between bapi and idoc?