Get doc date according to material no
Hello all,
I am working on a query which gets the po orders, document date and material numbers associated to it. My need is to get the latest document date by the material number. My date is a characteristic and not a key figure therefore i cannot use the MAX feature that can be used for a KF. I dont want to use a back end solution so can someone please help me in the front end solution and show me how i can get this.
I read 2 threads regarding a similar issue where they were asked to create a Replacement path variable on date variable but couldnt really understand it. Can someone please give me a step by step on that solution if it works.
Thank you,
Raj
Hi You can go with replacement path by creating a variable on the 0material using the processing type Replacement path
in the replacement path select the 0calday
follow the step by step guide in the link
http://teklink.co.uk/sap/sap-bi-bw-how-to-use-replacement-path-variables-to-perform-date-calculations-in-the-bex-analyzer/
For more info
http://help.sap.com/saphelp_erp2004/helpdata/en/2c/78a03c1178ad2ce10000000a114084/content.htm
Santosh
Edited by: Santhosh Nagaraj on Nov 13, 2009 11:14 PM
Similar Messages
-
Function module to get md04 data
I need function module to get below data of the material as per the mrp area.
Thanks,
KiranHello Kiran and Kumar
As I have explained in the following thread, BAPI_MATERIAL_STOCK_REQ_LIST should be used instead of MD_STOCK_REQUIREMENTS_LIST_API.
Material shortage report after mrp run.
BR
Caetano -
Is there any function to get baseline date
Dear all,
Is there any function to get baseline date according to the payment terms?
Thank you in advance.have a lokk here:
determine due date
A. -
Get purchase order doc date using BAPI function module
Hi,
I have a .net windows application that uses BAPI_PO_GETDETAIL function module to get particular details of a PO in SAP. But i am not able to get the "Doc Date" for a particular PO. I am able to get all the details of items from the table "PO_ITEMS ". I used only 1 input parameter "PURCHASEORDER".
Please help me to get this thing done
.netframework : 4.0
Language: C#
Visual Studio: vs 2010
Regards,
Manosh JacobAbsolutely hynek petrak..
Manosh Jacob You can go with the above technique. -
Getting delivery date for material number i PO...
Hi,
I am Smartform associated with PO in ME22N:
Now I need to get the delivery date associated with Differnet Grid items in a material.
So if I go to some material and then if I click on Delivery schedule:
I see columns for delivery date, sat. del da, Grid value, etc...
But I want to know the table or function module we need to use to get Delivery date associated with
prticular Grid item of a material in PO.
Please help me out.
Thanks.
Regards,
Ramesh.Hi ,
Check out for BAPI_PO_GETDETAIL.
In this BAPI,
fill parameters : PURCHASEORDER with PO number
ITEMS with 'X'
SCHEDULES with 'X'
Then in tables PO_ITEMS you will get Item details and
in table <b>PO_ITEM_SCHEDULES</b> you will get required details like delivery date
Hope this helps.
Regards,
Akshay Bhagwat -
Any function module to get Stock and value of material on a given date?
Hi Friends
Is there any function module available to get Stock/and value of material on a given date?
Thanks
HarishSorry I didn't elaborate the requirement.
I am asked to develop a custom report for inventory management. For range of materials it is required to display stock and value on particular date and GRs GIs for the range.
I need function module to use in Zreport.
Thanks
Harish -
Get the date mask according to country
Hi experts.
I want to display some dates according to the sold-to partner country.
Do you know if there is any function module or table allowing us to retrieve the mask (DDMMYYYY or MMDDYYYY) according to a country code ?
Thanks for the help.
Regards,
HelderIt's contained in table T005X field DATFM. Possible values are defined in the domain.
-
How to get values/data stored in the database into a list-item.
how to get values/data stored in the database into a list-item.
i tried to make a list item without any values assigned to it...but i got the below error.
FRM-30191: No list items defined for required poplist.
or
FRM-32082: Invalid value for given item type.
List EMPNO
Item: EMPNO
Block: EMP
Form: MODULE5
FRM-30085: Unable to adjust form for output.
then according to some docs, i tried the the following for the trigger
when-new-form-instance
declare
rg_name varchar2(40) := 'emp_rec';
status number;
groupid recordgroup;
it_id item;
begin
it_id := Find_Item('empno');
groupid := create_group_from_query(rg_name, 'select empno from emp');
status := populate_group(groupid);
populate_list(it_id, groupid);
end;
but yet didnt work... :(
so how the heck do i get values fetched from the database table into the list item?for list items you need to values in the record group, one is the shown value and one is the returned value.
Check out the online help for the populate_list built-in.
You'll need something like select ename,ename from emp as the record group query. -
Report on Vendor selection according to material group
Hi gurus,
I have a requirement from client where the client want a report of the vendors according to material group.
There is a standard report for this in SAP T.C.---- ME6B. But this report is not working . it is throwing message that no vendor exists for the selection criteria. Material group has been maintained in Material Master record. Vendor master records exists. Please tell me is there any customising that may be required to generate this standard report.
Thanks N regards,
SiddharthaHi ,
Thanks for your mail.T C MC$< wont work for me as the client want vendor no.So I will have to work with ME6B.
The data in the MATKL (Material Group field )in table EINA is not getting populated , could you please tell me the reason or any customisation required for that as all other field in Table EINA is getting populted.
Thanks N regaards,
Siddhartha -
Why do we get the data from a view to a report.
hi
why do we get the data from a view to a report. is it possible to get the data from a view in all the cases?hi Jyotssna,
Suppose you are planning to get the data from multiple tables then you got to specify seveal condtions and make use of joins which results in poor performance in fetching the data . In order to improve the performance we make use of views where the conditions of different tables are defined and the data is fetched accordingly.
Regards,
Santosh -
Not able to get the data from synchronous Webservice To BPEL process
Hi All,
My requirement is : Third party has some webservice.They are pushing data to that Webservice(Wsdl).
Third part WSDL example : http://ipaddress:port/name/Service.svc?wsdl ( This is just example format of their WSDL)
After that I need to get that data into my BPEL process and update my system.
When I built My Snchronous BPEL process I imported third party WSDL(http://ipaddress:port/name/Service.svc?wsdl) through 'import WSDL' in dialog.After that I automatically got the (request and response schema elements) parameters from that WSDL.I gave input and output of the BPEL process from those elements.
I pasted that third party URL iin SOAPUI and I got their operations and schemas.Based on that I had choosen the elements for 'input' and 'output' of the BPEL processes.I am also getting the schema structures in 'Assign' or 'Transform' activity.
I built the whole process.
I have the Process.
Now Client is pushing data to their WSDL(http://ipaddress:port/name/Service.svc?wsdl) as it is their data pushing interface.But that data is not coming to my BPEL process and instance is not being created in EM console.
As I have imported their WSDL into my BPEL process,I need to get the data.But I am not getting the data.
Is there any problem in MY BPEL process?
(or)
DO I need to use 'Webservice' Adapter in 'Exposed Services' Swimlane in Composite Editor to have the third party URL, so that they Can push the data to that WSDL in turn that data comes into my BPEL process?
Can anybody help me this case?
once again my requirement is :
Client pushes the data through their WSDL url -----> I need to get that data into MY BPEL process --> I have my own WSDl to take that details into my system.I will explain the requirement in small paragraph:
There are two applications.One is our application(X) and another one is third party application(Y).
I need to update in my application(X) based on data coming from application(Y).
I am using SOA as a middle tier to have communication between Y and X.
(Ex: if they send some info like event type 'event1' from Y ,I need to update that 'event1' data in my X application)
The work at third party application is :
According their info,They will push data from their end to their WSDL( http://ipaddress:port/name/Service.svc?wsdl ).
They are telling they can only send the data to their WSDL( http://ipaddress:port/name/Service.svc?wsdl ).
They will not consume our BPEL process(I think they might be wrong at this point of time).They have one WSDL to send or push the data from their end.
The work at from our side(SOA & X application)
From that point ,our BPEL process has to receive that data and update that data into my application(X).
I hope You understand my requirement.
Can you guide me through how to achieve this task as they are telling they have to use their WSDL to push the data?
(or)
Do I need to take 'Webservice' adapter into Exposed Services Swimlane in Jdeveloper to have their webservice(third party WSDL),If it is So Can you tell me the details how to take 'input' and 'output' for BPEL process?
(or)
Can YOu suggest me to talk to them to consume my BPEL process directly?
Thanks
Edited by: 899283 on Aug 17, 2012 4:55 AM -
Function Module to know the Acc doc no for a Material document.
Dear Friends,
What is the Function Module to know the Acc doc no for a Material document? Please help. Thanks in advance.
Regards,
RAMANHi Raman,
I am not sure about your requirement,
But i remember when i required the same like you i went to vrpma table to get the account document,
I just did like a blind fold,
as my company does all the billing accounts in the same month, my search criteria was blind.
Also try with MKPF-XBLNR with the VBRK-XBLNR and get VBRK-VBELN
from there goto BSEG.
Thansk & regards,
Dileep .C -
Help neede to get Cost Itemization for a material
Dear All,
I am developing one report for Cost Component Details. First of all I Fetch Cost Estimate No for the Material from KEKO table then I search KEPH table for its Cost Components here i get 2 entries for a material one is for UPPER LEVEL and One for LOWER LEVEL. And after that i use "BAPI_COSTESTIMATE_ITEMIZATION" to get itemization but my problem is that i am not able to find data for LOWER LEVEL Components. I want both UPPER & LOWER LEVEL itemization for the particular material so i can match overall cost.
So, can anybody help me in this matter.
Thanks in Advance,
With Regards,
Mudassar Praniya.Solved.
-
Table for the PO Date and Stock Transfer Order Date of a material no
Hello Everyone!
I am having a requirement where I want both the Purchase Order Date and Stock Transfer Order Date of a perticular material no.
On the basis of difference of these two dates I want to find out the period for which the material was present in supplying plant.
I am not getting the table through which I can get these two dates for a material.
Please help me out.
Its urgent.hi,
see these tables:
EKKO Purchase Order Header Table
EKPO Purchase Order Item Table
EKBE PO History table.
reward if its useful -
Get xml data from a web service into Forms?
Hello folks! I am reading active directory info from a web service into forms via imported java classes. I can read from functions that return strings just fine, but I have to get the output from getGroupUsers which returns an XmlDataDocument. How do I read this in and parse it in Forms?
I will be grateful if y'all could point me to an example.
Thank you,
Gary
P.S. Here is a snippet of how I get the full name by passing an ID:
DECLARE
jo ora_java.jobject;
rv varchar2(100);
BEGIN
jo := ADSoapClient.new;
rv := ADSoapClient.getUserName(jo, 'user_ID');
:block3.fullname := rv;Hello,
Since you are already dealing with server-side JAVA, I would suggest you create a method that would do the parsing server-side and what your PL/SQL will be dealing with is just the return string.
Here is a method I use to read an XML file (actually, it is an Oracle Reports file converted to XML) and from the string version, I will do search, replace and other things.
So, from getGroupUsers which returns an XmlDataDocument, you can adapt this method to get your data server-side and let the form module read the output data.
<blockquote>
private String processFileXml(String fileName, int iFile) throws ParserConfigurationException, SAXException,
IOException, XPathExpressionException{
try{
DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
domFactory.setNamespaceAware(true);
InputStream inputStream = new FileInputStream(new File(fileName));
DocumentBuilder builder = domFactory.newDocumentBuilder();
Document doc = builder.parse(inputStream);
StringWriter stw = new StringWriter();
Transformer serializer = TransformerFactory.newInstance().newTransformer();
serializer.transform(new DOMSource(doc), new StreamResult(stw));
return stw.toString();
catch (Exception e){
System.err.println(e);
System.exit(0);
return "OK";
</blockquote>
Let me know if this is of nay help.
Thanks.
Maybe you are looking for
-
Error messages vanish before you can read them
Seriously? This is ridiculous. Is there no way to bring back a message once it has fashionably faded away after a few seconds? Did nobody read UX 101?
-
CIC win client to web client migration
Hi all, I am new to CRM CIC. We are on CRM 5.0 and we need to migrate the CIC win client to web client. Can anyone please let me know how should we start. Are there any documents/sequence of steps for the migration? Regards, Nag Reddy
-
Macbook pro won't restart to complete software update 10.7.5
hi guys my macbook pro with retina display wont restart after i try to do software update to 10.7.5 it goes to a grey software update screen but wont do anything. i can use drop down menues but nothing is active and i cant bring up the dock. im new t
-
Unable to clean out registry to enable install of latest version of flash player
I am trying to implement the registry fix to ensure that Flash is completely uninstalled as described in http://kb2.adobe.com/cps/494/cpsid_49419.html I am using Windows Vista Pro (32 bit) and do not have the directory ´C:\Program Files\Windows Resou
-
We have just purchased CC for teams and cannot update PS CC to 14.1
I have tried everything for both mac and PC and nothing seems to work. This is really disappointing. I have been trying since last week and still not working as of today. Can somebody please help and get us to this new update.