Creation of query using ME13 transaction
Hi All,
I have created a query the details of the out put taken from ME13 transction. In ME13 transctions three tabels are used EINA, EINE , KONP I have joined this tabels in infoset. For KONP and other two table4s system is showing no realtion so I have taken LFM1 for joing KONP with other two.
I am not getting anuy output. Can someone help me on this whether the table join is correct or any improvement in that is required
Regards,
Prashant
Please define additional fields in the query.
You can select a field1 from table1 after comparing field2 in table2 with field2 in table1 even though table1 and table2 cannot be joined
For e.g. "select single mahna from mhnk into DUNNINGPROCEDURE where kunnr eq mhnd-kunnr."
Please show this code code as example to your ABAP consultant, he should be able to help.
Similar Messages
-
Creation of project using CJ01 transaction
Hello Friends,
I have requirement where i have to Create a project and their WBS elements using Transaction CJ01.
I have found out that we can use the following BAPI's:
BAPI_PROJECT_MAINTAIN.
BAPI_PROJECTDEF_CREATE
BAPI_PROJECT_SAVEREPLICA.
But how can i handle SETTLEMENT RULE with the help of these BAPI,i.e to update the fields KONTY
(Settlement category), EMPGE(Settlement receiver),
WWAPI(API code)...
Please help me in this regard..
Thanks in Advance!
AshishHI
Check out this BAPI
[BAPI_INTERNALORDER_CREATE |http://abap.wikiprog.com/wiki/BAPI_INTERNALORDER_CREATE#Functionality]
Regards
Pavan -
Creation of Query using Infoset
Hi everyone i have a problem with assignment of user goups to infoset in writing a query for generating own report. first i created user group, next infoset and later while creating query when the user group is selected the infoset which i created and assigned to user group is not showing in dialog box. it's showing something else. i have checked all the assignments so far everything is good but couldn't figure out. can one help in this? tks in adv.
Hi Rajesh,
There will be two querry areas, check in which area you have created Infoset and user group. You will find the combination in relevant query area only.
Two area are
Standard Area (Client-specific)
Global Area (Cross-client)
Thanks
ANAND K -
Hi All,
As business users we don't have access to SE16 or SE16N and during month end we have to check the deleted POs for the particular month and report it back. Each time we have to go to support team who will extract this data for us and this takes 2-3 days unnecessarily.
Now I know we have to look in table EKPO, set date field between 01.08.2014 to 31.08.2014, and populate field LOEKZ = L to get the deleted POs for August month but I am unable to convert this into a SQ00 query. Can some of you experts help me with some kind of documentation or steps here to create the SQ00 query?
Best Regards,
AnupHi Anup ,
Method A
1) . create an infoset on EKPO table . Go to extras , in the code section go to record processing and there write the below mentioned code :
CHECK EKPO-LOEKZ = 'L' .
2). now create a query on this infoset .
Method B
1). create an infoset on EKPO table .
2). create a query on this infoset . Mark LOEKZ as selection screen field .
So now when you execute the query , on selection screen pass 'L' to LOEKZ field . -
Can we rollback the update query using Transaction?
Can we rollback the Update query by writing the update query with in the transaction, as i am implementing different update queries, sometimes I am mistakenly updating the table without where criteria, which is messing up the table. Is there anyway where
we can write the update query within a transaction and rollback that particular update query which I am writing. I do have a backup table, but that wont be useful because we are doing lot of updates in a span of minutes. I researches about Apex Sql logs too,
but we do not have access to download such tools. So, can anyone give me a good solution for this?Sure, if you use transaction like this
begin transaction
update 1
update 2
rollback transaction
both updates will be rollbacked.
If you want to always be sure about rows you're about to change, always first try with SELECT statement and put each individual UPDATE into separate transaction with rollback at the end, e.g.
begin transaction
select ... where some condition
update . where same condition
select ... where same condition to verify update
rollback transaction
If your last select showed correct info, change ROLLBACK into COMMIT and re-run that script again to perform the actual update.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Shopping Cart creation using BBPSC01 transaction
Hi experts,
We are using SRM 7 standalone scenario and trying to create SC using BBPSC01 transaction. We are able to create SC with no errors and able to see SC number after ordering SC. SC number which we got in screen BBPSC01 transaction, we tried to check in BBP_PD transaction but it is not showing there. Can somebody help me with this ?
Best Regards,
Kunal SanghaviHi Kunal,
Kindly set up a portal to create requests. SRM 7.0 is based on Webdynpro architecture.
You may refer to the following document to setup the portal.
http://wiki.sdn.sap.com/wiki/display/EP/SystemCreationin+portal
Let us know if you still face the issue.
Regards,
Nikhil -
Unable to use PIC01 transaction for Supersession chain creation
Dear All,
I am trying to create a supersession chain using PIC01 transaction. While entering the transaction, i am getting error as "Transaction Code PIC01 cannot be executed. You are trying to execute the transaction code &1, but it is in a deactivated package.
System Response
Execution is cancelled.
Procedure
Use transaction SFW5 to check whether all components required for the operation of your system are activated (switched on).
How should i resolve this. I checked in SFW5, but couldnt really know which package i should activate etc.
thanks in advance for your help.Hello shyamsundarl
If you are using the DIMP solution only for the Supersession
functionality and not for the MPN, you would only have to activate
DIMP_SDUD Business Functions.
Please read note 849981 and discuss the issue with your SAP consultant.
Consider that settings of buisiness function sets (TA SFW5) are
irreversible... so please do the switch first on a dev system only,
and test carefully!
Enda. -
How to get default values while using the transaction "BP"
Hi Group,
I have a query on how to get default values while using the transaction <b>BP</b>?
The thing is:
when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
how can I achieve this?
So please kindly let me know the procedure to achieve this.
Thanks & Regards,
Vishnu.Hi,
The events of BDT can be used to default some fields on creating a partner.
For this create a function module for ISDAT. attach that event in BUS7.
In the ISDAT funtion modulethe following code should be used.
For example to set the nationality:
I_BUSDEFAULT-NATIO = 'DE.
CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
EXPORTING
i_busdefault = I_BUSDEFAULT
Regards, Smita. -
ABAP code used in transaction SU01
Hi all,
Can anyone tell me that whether is there any method by which I can pass the user id and can know whether that user has the SAP_ALL profile or not.
The above is done by using the transaction SU01,but I need the ABAP code that is being used in this transaction.
Regards,
Varun.YOu can query the table:
UST04
select single * from UST04 where BNAME = sy-uname
and PROFILE = 'SAP_ALL'.
if sy-subrc = 0.
write:/ 'The User' sy-uname 'has SAP_ALL profile'.
endif.
Regards,
Ravi -
Hi all,
Could anyone please tell me the use of Transaction code IP30.
Actually we have scheduled some order but they did not get created when the date of creation came. Then we ran IP30 transaction code to see their deadline.
Then scheduled object got converted into the service order but the service orders dont have sold-to party (consumer nos.).
Please guide me how should we use IP30 Transaction and what should i do so that service order can have consumer no. when they get created.
Thanks and Regards
MahavirHi,
Please tell me is it necessary to run the IP Transaction code for each maintenance plan that we have scheduled?
Yes if it is needed that the plan should generate orders it needs to be scheduled either in backgroud job or needs manually executed.
Can a service order be generated automatically without running IP30 if we have scheduled a maintenance plan?
Yes you can get a service order (PM Order ) against this plant maintenance order with control key as pm03 you can get PR from PR You can get service order agin here MM intergration if the auto po concept used then auto po (service order) gets generattted.
But if u want to avoid lengthy process u can use IP10.
During each IP10 run if call falls within the date u will get maint call object that is pm order -
>pr------->po
pm order----->fo (frame work order)
pm order -
>service contract -
>value / qty
(These tab u will get in pm order operation header genarl data)
Hope this is in line with your requirement.
Thanks and Regards
Ramesh -
Hi All,
I have created a Query in SQVI transaction, How to assign a transaction code for it.
Thanks in advance
Rajuhi,
follow the link:
http://help.sap.com/saphelp_erp2005/helpdata/en/b7/26ddebb1f311d295f40000e82de14a/frameset.htm
you will get full information about SAP Query.
There is no SQV1 transaction.
SQ01 --> maintain query
SQ02 --> maintain info set
SQ03 --> maintain user groups
he SAP Query application is used to create reports not already contained in the default. It has been designed for users with little or no knowledge of the SAP programming language ABAP.
SAP Query offers users a broad range of ways to define reports and create different types of reports such as basic lists, statistics, and ranked lists.
Features
The SAP Query comprises five components: Queries, InfoSet Query, InfoSets, User Groups and Translation/Query.
hope this may help you,
regards,
srinivas -
JUMP (RSBBS) from a query on a transaction(local)
Hi,
Can You help me ?
I want to do a jump from a query on a transaction RSDMD (on local system).But particullary, I want to put in parameter the data (doc number) with wich I jumped.
So How I have to define the assignement detail in RSBBS for the transaction RSDMD?
Because, for the moment I have a popup where I must fill the name of my charactéristic and after the number of my doc number (for example), and it's with the doc number that I do my jump.
But, I don't want to fill characteristic and doc number, I want that it's automaticaly...
Thank you for your help...
Carine.Calling the RRI with a transaction or an ABAP/4 Report as the receiver is done with the RRI
from the SAP NetWeaver Application Server. This is possible in an ERP system, a CRM
system or within the BI system. The selections are prepared by the BI system that does not
recognize the transaction or the report. The assignment is transferred from the RRI of the
SAP NetWeaver Application Server using inverse transformation rules. There must also be a
complete chain from the DataSource of the source system to the InfoSource, through
transformations up to the InfoProvider. This does not mean that data absolutely has to be
loaded using this chain. If this chain does not exist, the RRI cannot transfer the selections to
the source system. Calling the RRI only works for fields with dictionary reference. For ABAP reports, this means that the parameter has to be PARAMETERS param LIKE <table_field>
For transactions, this means that the Dynpro has to have a dictionary reference. Not every
transaction can be called with the RRI of the SAP Application Server.
These are the steps to do this
If you want to jump from a Web application to a transaction or ABAP/4 report using the
RRI, an ITS for the target system has to be assigned beforehand.
● The value of the input field to be supplied must be known at the time of the jump (for
example by entering a single value on the selection screen of the sender or by the
cursor position at the time of the jump).
● Sender and receiver fields that correspond to one another generally must link to the
same data element or at least to the same domain, otherwise the values cannot be
assigned to one another.
● The assignment of sender and receiver fields must always be a 1:1 assignment. For
example, the transactions called from the start screen cannot have two input fields of
the same data type. Then it is not clear which of the fields is to be supplied, which
means neither of them is supplied.
● There has to be a complete chain from the DataSource of the source system to the
InfoSource, through update rules up to the target.
Proceed as follows after you have created the sender-receiver assignment as described
above.
1. As the type, choose Table Field. The columns Field Name, Data Element, Domain and
Set-/Get Parameter become input ready.
2. Specify the field name, data element, domain and parameter ID for the receiver
transaction. You need to know this information because input help is not available. You
can usually find the parameter ID in the ABAP dictionary entry for the data element.
If this does not always make jumping to the transaction possible, it may be necessary to
program a short ABAP start program. For more information on how to do this, see SAP Note
number 383077 -
Need user exit when deleting an invoice using MIR6 transaction
Hi all,
I m trying to delete an Invoice using MIR6 transaction. And I need a user exit to be triggered on deletion of an Invoice.
Can anybody help me and let me know if any user exit is available there?
Points will be rewarded.
thanks
AshishHi
Business Add-Ins
Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
As with customer exits (SMOD/CMOD [Page 40]), two different views are available:
In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
In contrast to customer exits, Business Add-Ins no longer assume a two-system infrastructure (SAP and customers), but instead allow for multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time.
In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example). All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard.
A single Business Add-In contains all of the interfaces necessary to implement a specific task. In Release 4.6A, program and menu enhancements can be made with Business Add-Ins. The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects
DEFINING THE BADI
1) execute Tcode SE18.
2) Specify a definition Name : ZBADI_SPFLI
3) Press create
4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
multiple use.
5) Choose the interface tab
6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
7) Dbl clk on interface name to start class builder . specify a method name (name,
level, desc).
Method level desc
Linese;ection instance methos some desc
8) place the cursor on the method name desc its parameters to define the interface.
Parameter type refe field desc
I_carrid import spfli-carrid some
I_connid import spefi-connid some
9) save , check and activate adapter class proposed by system is
ZCL_IM_IM_LINESEL is genereated.
IMPLEMENTATION OF BADI DEFINITION
1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
2) Specify aname for implementation ZIM_LINESEL
3) Specify short desc.
4) Choose interface tab. System proposes a name fo the implementation class.
ZCL_IM_IMLINESEL which is already generarted.
5) Specify short desc for method
6) Dbl clk on method to insert code..(check the code in AAA).
7) Save , check and activate the code.
Some useful URL
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
Now write a sample program to use this badi method..
Look for BBB sample program.
AAA
data : wa_flights type sflight,
it_flights type table of sflight.
format color col_heading.
write:/ 'Flight info of:', i_carrid, i_connid.
format color col_normal.
select * from sflight
into corresponding fields of table it_flights
where carrid = i_carrid
and connid = i_connid.
loop at it_flights into wa_flights.
write:/ wa_flights-fldate,
wa_flights-planetype,
wa_flights-price currency wa_flights-currency,
wa_flights-seatsmax,
wa_flights-seatsocc.
endloop.
BBB
*& Report ZBADI_TEST *
REPORT ZBADI_TEST .
tables: spfli.
data: wa_spfli type spfli,
it_spfli type table of spfli with key carrid connid.
*Initialise the object of the interface.
data: exit_ref type ref to ZCL_IM_IM_LINESEL,
exit_ref1 type ref to ZIF_EX_BADISPFLI1.
selection-screen begin of block b1.
select-options: s_carr for spfli-carrid.
selection-screen end of block b1.
start-of-selection.
select * from spfli into corresponding fields of table it_spfli
where carrid in s_carr.
end-of-selection.
loop at it_spfli into wa_spfli.
write:/ wa_spfli-carrid,
wa_spfli-connid,
wa_spfli-cityfrom,
wa_spfli-deptime,
wa_spfli-arrtime.
hide: wa_spfli-carrid, wa_spfli-connid.
endloop.
at line-selection.
check not wa_spfli-carrid is initial.
create object exit_ref.
exit_ref1 = exit_ref.
call method exit_ref1->lineselection
EXPORTING
i_carrid = wa_spfli-carrid
i_connid = wa_spfli-connid.
clear wa_spfli.
check the following user exits for MIR6
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
Hi,
I had created a query using SQ01. Now i want to create the POWL from this query and from the existing queries.
Is there any document to create it.
Anurodhhi,
Use the below link. It has the document for POWL creation from Infoset query:
[Powl from Infoset Qery|http://help.sap.com/bp_ekit604/BBLibrary/Documentation/k52_How_to_Guide_EN_DE.doc]
Regards,
MAdhu -
What table does BI query use?
hi all,
i'm new to BI. how i know the table the BI query uses? and one more question, can i review the abap code of the BI query?
thanks in advance for your effort.
PeerasitHi,
the query is created on a specific provider. Each provider consists of a bunch of tables --> fact tables, dimension tables. Additionally the sid and master data tables of the characteristics are used for reporting, but that depends pretty much on your query definition.
For the code, goto transaction rsrt, enter the name of the query and click on the button technical information. In the upcoming list you will find the name of the generated program.
regards
Siggi
Maybe you are looking for
-
IMovie for Mac: "iMovie cannot open files in the "iMovie for iOS Project" format."
Question, asked professionally When will iMovie for Mac be able to open iMovie for iOS projects? Question, asked snarkily Any reasonable expectation that we will ever be able to edit projects--created in iMovie on our fancy new expensive phones--in i
-
Why won't my ipad text to android phone
My ipad won't send text message to samsung galaxy 5
-
Flash player skipping audio when full screening
Hi, whenever I full screen or go out of fullscreen using flash player, youtube or twitch.tv, the audio stops for like 1 second, and then resumes. This is extremely irritating and has caused me to use Chrome for the last few years, even though I like
-
Creating sub menus, help needed.
Hi, I created a simple little app which is menu based, everything works fine but i want to add a new menu after selecting one of the main menu items. I can't seem to get this running and I'm totally confused. If someone could give me a little help wi
-
Hola a todos, estoy creando una web con la misma idea que me muestra este fla http://flash.astalaweb.net/Men%C3%BAs/1_Men%C3%BAs.asp (menu de pantallas deslizantes) que hay en esta web. Pero tengo un problema y es que mis menus tienen submenus dentro