Reg : MD04 enhacement (Urgent)
Hi experts,
Could any one of you please let me know where the data in the transaction code MD04 gets stored?
i.e I want to fetch the exception number basing on any one of the fields like MRP element or MRP element data with these fields as primary key.
Regards,
Ramkishore.
Hi,
Data is not stores permenently in an table. Howevr you can get the same data by calling:
CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'
EXPORTING
PLSCN = "Planning Scenario of Long-Term Planning
matnr = <t_marc>-matnr "Material Number
werks = <t_marc>-werks "Plant
inper = 'M'
ergbz = s_ergbz-low
BERID = "MRP Area
IMPORTING
E_MT61D =
E_MDKP =
E_CM61M =
E_MDSTA =
TABLES
MDPSX = t_mdps
mdezx = t_mdez
mdsux = t_mdsu
EXCEPTIONS
material_plant_not_found = 1
plant_not_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
I hope this helps,
Regards
Raju Chitale
Similar Messages
-
Sub req and MD04 (very urgent)
Hi Experts,
I am new to MM.
I have created a PO for mat ABC with item category "L" i.e. subcontracting.The required delivery date in the PO is 03.07.2007 and the component for that material is XYZ.
The planned delivery time and the GR processing time for the main material is 30 and 1 respectively.
The planned delivery time and the GR processing time for the component is 7 and 1 respectively.
When I am going to the MD04 screen I could see an entry with MRP element "SUBREQ" on date 29.05.2007.
According to my client it should be 03.06.3007.Why the system is considering the the planned time and gr time for component as there is already stock available at vendor location.
Could you please help?
Regards
KaranProblem solved
-
Reg: Document Riversal urgent
HI all,
Iam trying to following cross companoy code transaction riversal using FBU8
3108 100000812 2006 SA 01.04.2006 19.04.2006 USD
1 50 706080 MAN. FOREX GAIN/LOSS 20060419 1.00-
2 01 IC3114 AGC AP COML LTD ** 1.00 test
3114 100014310 2006 SA 01.04.2006 19.04.2006 USD
1 40 706080 MAN. FOREX GAIN/LOSS 20060419 1.00 test
| 2 31 IC3108 Asia Netcom Japan Co ** 1.00-test
but showing error follwoing errors:
Posting key 12 does not permit specification of a special G/L indicator
Posting key 22 does not permit specification of a special G/L indicator
how to do it tell it its urgent
regards
JK Raohi,
check the following posting keys with trx. ob41:
01,31,12,22
field TBSL-XSONU <b>must be space</b>!
pls reward useful answers
Message was edited by:
Andreas Mann -
Dear,
I am writing regarding mentioned PO 4504101614/00074 , P/N 96468354
We order 3 pcs, we already received 2pcs -> GR (migo)was booked, also IR
(miro) for 2pcs was booked, still is open 1pc, but in MD04 show us 2 and 1
= 3pcs.
Pls can you explain me why? How we can correct it and prevent it in
future?
Thank youHi,
Is it correct PO you are seeing in MD04?
Normally if material has been receieved PO will not appear in MD04 unless new requirement comes in.
Also check what is the open quantity field value in PO delivery schedule tab in PO.
I guess there could be some difference in that.
May be due to this PO is appearing in MD04.
Check and revert,
Regards,
Dipak -
Help reg Down Payment - Urgent
When i put down payment here in VA01 billing plan (WBS element linked)
For e.g., PR00 = Rs. 1,00,000
<b>Billing Plan</b>
30%, 40% and remaining after the receipt of material at client's site
but commercial and excise invoice will go with the material with 100% value
1.30 % value - 30, 000 Billing Type FAZ - Down payment Request
2.40% value - 40,000 Billing Type FAZ - Down payment Request
So now,only 70% of the PR00 is recieved
But in the sales order if i put 30% ..it is talking 30% of net price(PR00 + EDCESSCST/VAT+ Service Tax) and the same case with 40% DP also.
when i create a down payment request, AZWR condition type is throwing with the information message, saying that " <u><i>Downpayment value is higher/lower than pre-set value"</i></u>
customer down payment is normally some % of the agreed price(PR00)
how to tell to the SAP system that when i create FAZ it shud take % of PR00 and When I do F2 invoice(1,00,000 + ED+Taxes) it shud take everything into account?
Plz help me.
Regards,
Anbudone
-
Reg: ConfigurationContext issue : urgent
Hi,
I have a requirement, to create wrapper script which will receive inputs from Application Team and create user on the OIM end.
We have written the wrapper script, but when we are executing the script we are facing issue:
============= AddRequestWrapper.java ===================
SPMLServiceStub sa = null;
System.out.println("\nSetting the Configuration Context");
org.apache.axis2.context.ConfigurationContext cf = org.apache.axis2.context.MessageContext.getCurrentMessageContext().getConfigurationContext();
System.out.println("\n After setting conf context");
sa = new SPMLServiceStub(cf,"http://localhost:14000/spml-xsd/SPMLService",true);
System.out.println("After");
=================================================
When executing the wrapper script, the configurationContext fails while calling the below SPMLServiceStub method.
============ SPMLServiceStub.java ======================
public SPMLServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext,
java.lang.String targetEndpoint, boolean useSeparateListener)
throws org.apache.axis2.AxisFault {
//To populate AxisService
populateAxisService();
populateFaults();
serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,service);
//System.out.println(_serviceClient);
_serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(
targetEndpoint));
_serviceClient.getOptions().setUseSeparateListener(useSeparateListener);
===========================================================
I am not sure how to pass values for ConfigurationContext. Can someone pls. guide or help me in resolving this issue, as we are badly struck in this issue.
Regards,
KaranGreat, if someone throw some lights on this issue.
Regards,
Karan -
Reg: REport Painter Urgent
HI all,
I want to modify the report using grr2 but in libray particular report not showing. from easy access report is working/ how can see that report in library.
regards
JK raoHi,
Execute the report and then go to extras in menu and select technical information. Here you will be able to see table, library, report, report and report group relating to report. Go to GR32 and give library and report name and select section to modify the same. Alternative, when you execute the report and select for techinical information, place the curson on report and click navigate and then you can select change and modify the report.
Hope this helps.
pls assign points to say thanks. -
Hello all,
In the Query designer we have a structure in which I would like to edit one of the K.F . For example the K.F is a Formula K.f which is built on Fiscal year & Amount Now I've to include version to this K.F.
Please let me know how this can be done at the earliest.
Regards
MadhaviHi thanks for the quick response..
I just want to change a K.F in the Structure i.e I want to edit the re-useable strucure by adding a component 0version to this K.F.
I am unable to restrict the K.F when I right click the K.F I can see only edit but not restrict..
Plz suggest
Regards
Madhavi -
HI to ALL,
i have a table control with some fields.On that,
if Form type = F, then program allows user to enter vendor code in vendor field.
if form type = E, then program didnt allow users to enter vendor in vendor field.
How will i do it for that vendor field???? for form type = E, the vendor field doesnt allow input
i tried in PBO.but it doesnt works fine.Why you say you tried PBO what did you try in that event.
You need to use the logic of LOOP AT SCREEN......... -
Reg: Radio Buttons urgent
HI all
How to add radio buttions in prgogramm. how to initialize in the programm and where can i give selecton parameters in the programm plz send me detailed steps
regards
JK Raohi,
i am sending u a simple ex prog which is close to ur req,go thru it.
i have 2 radio buttons and 2 parameters on the selection screen.
if 1st radio button is selected,display material number
that is eneted by the user for the parameter p_matnr,
if 2nd ine is selected display plant.
displaying part you can wirte accordingly,
<b>selection-screen begin of block b1 with frame.
parameters:r1 radiobutton group GP1,
r2 radiobutton group gp1.
selection-screen end of block b1.</b>
<b>selection-screen begin of block b2 with frame.
parameters:p_matnr type mara-matnr,
p_werks type mard-werks.
selection-screen end of block b2.</b>
data:v_matnr type mara-matnr,
v_werks type mard-werks.
start-of-selection.
<b>if r1 = 'X'.</b>
select matnr from mara into v_matnr
where matnr = p_matnr.
write:/ v_matnr.
endselect.
else.
select werks from mard into v_werks
where werks = p_werks.
write:/ v_werks.
endselect.
endif.
*do award points for all helpful answers
regards -
Reg logic:iterate Urgent
Hi All,
Having doubt in <logic:iterate>... I am using the following for getting two ArrayList into a JSP using form bean.
Im having table consisting of 5 column
element1 element2 element3 element4 element5
In this element2 is a list which display value in the label and element3 is another list which display the values in combo box.
I need to know how to iterate two different list in the same row.... using <logic:iterate>...
Pls Help me..
Thanks in Advance.. For providing the solution..You have two ArrayList to be iterated in the same row but in defferent column.
<td>
<logic:iterate id="list1" name="ArraList1">
<bean:write name="list1" property="propertyname"/>
</logic:iterate>
</td>
<td>
<html:select property="">
<logic:iterate id="list2" name="ArraList2">
<html:option value=""><bean:write name="list2" property="propertyname"/></html:option>
</logic:iterate>
</html:select>
</td> -
Reg:eReport painter urgent
HI all,
I run the report showing figure normally . i expand fully . every top of the gl account companyo name showing i want remove the companoy name how to remove it?
regards
JK RaoHi,
Good morning and greetings,
Go to KE32 and in the Extras Menu > Click on Layout Display and change the layout in the way you want to see the report.
Please reward points if found useful
Thanking you
With kindest regards
Ramesh Padmanabhan -
Hi Gurus,
The developer need to test program in latest PRD DB they ask client copy the PRD System.
Only the copy the DB means which category to Select copy the system or i copy the SAP_ALL.
Pls advise. Now DEV DB is now 70%.
Or
if there any possible to Overide the Database. Already we have Client 200 can i copy the latest one in Client 200. Pls advise...
Thanks
Rajesh.
Edited by: R Rajesh on Feb 28, 2008 11:57 AMHi,
If your requirement is to copy only the DB structure then you DB copy,
If you want the data also to be copied then use SAP_ALL mentionening the desired tables.
Regards
Reward Points if useful -
Reg : Enhacement for the transaction code MD04
Hi experts,
I have implemented an user exit for the transaction code MD04 where in the stock/requirement list I am supposed to add a new column for the exception number which displays the exception description for the corresponding exception number.
The coding part for fetching the exception description for the corresponding exception number is done in the include 'ZXM61U03'.
The problem is in the importing parameter IMDEZEXIT in which all the screen data will be present basing on which the data fetching is done .The AUSKT(Exception number) value is not getting populated . All the other data in the row is getting populated.
Please suggest e a solution for this.
Regards,
Ramkishore.Hi
Hope it will help you.
reward if help.
Please use FM MD_STOCK_REQUIREMENTS_LIST_API to get all information for transaction MD04/MD05.
You might also want to check out the function module API.
MD_MRP_LIST_API
and also
check this link for extracting data from MRP tables:
http://www.sap-img.com/pp001.htm -
I have CPD, CSD, and CRD quantities with date given as follows....
CPD date & qty is initially given as 11/9/2008 500,
19/01/2008 500, 23/01/2008 600, 30/01/2008 400.
CSD qty 11/01/08 1000, 22/01/2008 1000
CRD qty 10/01/2008 2000.
Depending on the CPD qty given .....
From the remaining 2 CRD and CSD, we need to find which is having more no of schedule lines. once this is found the highest which is having more schedule line is selected.
Now subtracting the CPD quantities from the scheduled quantity of the highest we get the result like as follows......
CSD is having 2 schedule lines hence....
1000 - 500 = 500.
500 - 500 = 0
1000 - 600 = 400.
400 - 400 = 0
***are the CPD qty.
similarly CSD qty is splited as follows
2000 - 500 = 1500
1500 - 500 = 1000
1000 - 600 = 400
400 - 400 = 0
Rule of Sequence: The purpose of split is to make the number of schedule lines of CRD, CSD and CPD schedules in harmony. The two with more schedule lines are split first. Afterwards, the third one is split with the first two which are already in harmony in terms of schedule lines.
Rule of Quantity: The schedule line with larger qty is split into 2 schedules, the qty of the 1st schedule is the same as the qty of the other schedule; the qty of the 2nd schedule is original qty less qty of the 1st schedule. If qty of both schedules are the same, there is no split and both schedules stay put.
Rule of Date: When a schedule is split into 2 schedules, the original date applies to both schedules.
Now i need to build a code how to subtract the CPD qty from CRD and CSD qty..
I have developed the code but not working properly for all scenarios..
describe table it_crd lines v_sch_lines_crd.
describe table it_csd lines v_sch_lines_csd.
if v_sch_lines_csd ge v_sch_lines_crd.
loop at it_csd.
loop at it_cpd.
v_temp_csd = it_csd-bmeng - it_cpd-zwmeng_cpd.
it_csd-bmeng = v_temp_csd.
if v_temp_csd ge 0 ."and v_cnt1_csd le v_sch_lines_csd.
*v_cnt_csd = v_sch_lines_csd - 2.
*v_cnt1_csd = v_sch_lines_csd - v_cnt_csd.
*v_cnt_csd = v_cnt_csd + 1.
*read table it_csd index . "v_cnt1_csd .
it_csd-bmeng = it_csd-bmeng + v_temp_csd.
endif.
endloop.
*if v_cnt1_csd ge v_sch_lines_csd.
*exit.
*endif.
endloop.
endif.
if v_sch_lines_crd le v_sch_lines_csd .
loop at it_crd.
loop at it_cpd.
v_temp_crd = it_crd-wmeng - it_cpd-zwmeng_cpd.
it_crd-wmeng = v_temp_crd.
if v_temp_crd = 0 and v_cnt1_crd le v_sch_lines_crd.
v_cnt_crd = v_sch_lines_crd - 2.
v_cnt1_crd = v_sch_lines_crd - v_cnt_crd.
v_cnt_crd = v_cnt_crd + 1.
read table it_crd index v_cnt1_crd .
endif.
endloop.
if v_cnt1_crd ge v_sch_lines_crd.
exit.
endif.
endloop.
endif.
can any one suggests the code.
answers will be rewarded with points
Edited by: ms kumar on Jan 18, 2008 7:38 AMYour help/suggestions in this regard will be greatly appreciated with the points.
Please this is urgent.
~LB
Maybe you are looking for
-
Up loading music into final cut express
Hello, I'm new to FCE and have found that I can't use music that I have bought from Itunes in my projects. I have read that there is free program called "hear you music anywhere" that will allow this to work. I have googled this but just get sent aro
-
How do I remove my old Apple id? It keeps popping up in the App Store?
how ow do I remove my old Apple id..it keeps popping up in the app store?
-
Has anyone installed Redhat 9 with this motherboard(Neo2 LS 865PE)? I have tried to install but installation gets stuck at hardware checking. My harddrive, graphics card are compatible. Checked on redhat website. I cannot find any info on motherboard
-
Report Painter - Transfer of report data to Z-program
Hello, I have created a report painter report for P&L / Balance Sheet. I want to download the output, but in a specific format. Is there any customizing option or a user exit or function module which can transfer the output value to a new z-progra
-
Purchased music does not appear in library
I just purchased an album but it does not appear in my library. Thinking I screwed something up went back into store to purchase. When I clicked purchase a pop up said you have already purchased this do you want to purchase again, a pop up said you p