Material requirment date to be made mandetor and default
Hi,
We are gernerating PR for stock material through CJ20N. When i m attaching a material component, its requirment date comes from activity date, i don t want that, I want that PR requirment date should be made mandatory and by defalult blank,
How can i do this?
Regards,
Kalpesh
Kalpesh
When i m attaching a material component, its requirment date comes from activity date
As for as I know, That's the standard behavior of the system.
What you can do is, configure in SPRO that your PR should be triggered only when you release the n/w or project.
And release the n/w only when you really need that material.
Lets wait, what others have to say.
Good luck
Similar Messages
-
Material requirement date...please clarify
Hello friends,
Whenever we create a SUBCONTRACTING PO for 1 quantity of finished product....the system proposes a REQUIREMENT DATE for the component item. I am unable to understand what drives the calculation of this requirement date. I mean how is this calculated.Please clarify
Regards,
SanjayHi,
The planned delivery time (in calendar days) is deducted from the delivery date, the resulting date is converted to the last workday before it (if necessary) and afterwards the purchasing processing time (in workdays) is deducted. Consequently, the purchasing processing time is used as a float for the provision of components.
Regards,
Ramakrishna -
Storage location for material to be made mendatory and default
Hi,
We are generating PR of material through CJ2N. I want to make storage location filed in generatl data tab of material, mandatory as well defalut value depending upon the project. If defalult value can not come depending upon project defination then i want to make default value as blank but mandatory
How can i do this?
Regards,
KalpeshDear Kalpesh,
In standard SAP the storage location will be an input field and no default values will get populated when you attach a material component in the activities as the material master will be extended to multiple storage locations.But in your case if is coming as default either some screen variant must exist or some parameter Id would have been maintained.Check Which & How the storage location is getting defaulted from your MM consultant. -
Requirement date for 3 level Component in BOM
Iam having Multilevel Sales order bom
Header material requirement date and receipt date given by system is 23.04.2009
first level assembly requirement date and receipt date given by system is is 07.04.2009
second level assembly is phantom
Third level componant requirement date is 31.03.2009 and receipt date given by system is 19 June 2009 .
Gr proceesing time of 2 days is maintained and no planned delivery time is maintained.
Why Third level componant receipt date given by system is 19 June 2009 ?
Edited by: mayuresh bhurke on Jan 19, 2009 6:31 PMMayuresh,
It seems the 3rd level component has a long planned delivery time in material master. Hence the system has pushed the receipt date forward to 19 June 2009 from 31.03.2009. Please check material master time for the 3rd level component.
Hope this helps.
Thanks,
Ram -
Component requirement date in subcontracting PO
Hello All,
I have subcontracting PR having delivery date as 26.11.2010 and release date as 17.10.2010 and planned delivery time as 40 days. I change the PR release date to 10.10.2010 and it shows the requirement date for the components as same as 10.10.2010 which is my requirement. But when I convert PR to PO it is showing the component requirement date as 19.09.2010 and release and delivery date same as in PR.
How system is showing requirement date in PO as 19.09.2010? Is some one has any idea?
Mayur PhalakHi,
Can you upload screenshots of what you see in ME53N & ME23N with details as seen in component list & the dates to picasaweb or some portal?
Regards,
Vivek -
Component requirement date in subcontracting case
Hello All,
I have subcontracting PR having delivery date as 26.11.2010 and release date as 17.10.2010 and planned delivery time as 40 days. I change the PR release date to 10.10.2010 and it shows the requirement date for the components as same as 10.10.2010 which is my requirement. But when I convert PR to PO it is showing the component requirement date as 19.09.2010 and release and delivery date same as in PR. I want system should not change the component requirement date.
How system is showing requirement date in PO as 19.09.2010? Is some one has any idea?
Mayur PhalakHi Mayur
The requirement date for component in subcontract is Delivery date of the item minus planned delivery time -This is what SAP library says. But in your case I see a huge difference. Is your PR manually created or MRP generated?
Have you maintained info record? Is planned delivery time is copied from info record? You can see planned delivery time in PO delivery tab. (find out which value has been copied).
As per SAP standard when you press enter button in PO requirement date is redetermined based on planned delivery time in the PO delivery tab. So try giving Planned delivery time in PR or info record to adjust requirement date
Write to me if you are not clear.
Regards
Antony -
Scheduling problem with delivery date in purch.req and requirement date
Dear all,
I have the problem, that the calculated delivery date in the purchase requisition does not correspond with the requiement date of the production or planned order.
I would like to use planned delivery times in the material master.
Example:
Planned delivery time: 20 days
Todays date 01.10
Case 1)
Requiement date of planned order 10.10
Case 2)
Requiement date of planned order 20.09
This situation can happen in our envirnoment, as the engineering process still continues after start of production. In this case I would like to have the following result:
Case 1)
Delivery date is 10.10 minus the goods receipt time
Case 2)
Delivery date is day of MRP or one or two days more
I made the setting that dates in the past are not allowed. This solves my first smal problem. I tried to set the scheduling margin key but these settings do not help me, as they are relevant for all materials. I need of course individual planned delivery dates per material.
So, I want to change the standart MRP procedure that in the case of the "wished requirement date" not the calculated date is beeing taken, but the "wished date". Usually you receive an exeption for this case and you would need t solve this manually. But this we dont want to do.
Can s.o. please help me? Thank you all very much, I really dont know what to do in this case.
With best regards,
BjoernThe question cannot be answerd by SAP standart as I see. We will go through a workaround.
-
Regarding : Material document data and PO data do not match (Plant)
Hi Gurus,
Please go through this BAPI program.
While uploading it is giving an error ' Material document data and PO data do not match (Plant) '.
Please help regarding this issue.For all Other moment types it is working fine except this 351 moment type.
dATA: i_excel TYPE truxs_t_text_data. "work table for excel upload
DATA: BEGIN OF it_itab OCCURS 100,
docdate(10),
postdate(10),
mvt_type(3), "Movement Type
plant(4), "Plant
lgort(4),
pur_doc(10), "Purchase Document No
po_item(3), "Purchase Document Item No
material(18), "Material Number
delnote(16),
erfmg(13),
uom(3),
lfmng(13), "Quantity
batch(10) TYPE c,
vfdat TYPE vfdat,
END OF it_itab.
DATA: it_goodsmvt_head TYPE TABLE OF bapi2017_gm_head_01 INITIAL SIZE 100,
it_goodsmvt_code TYPE TABLE OF bapi2017_gm_code INITIAL SIZE 100,
it_goodsmvt_item TYPE TABLE OF bapi2017_gm_item_create INITIAL SIZE 100.
DATA: wa_goodsmvt_head LIKE LINE OF it_goodsmvt_head,
wa_goodsmvt_code LIKE LINE OF it_goodsmvt_code,
wa_goodsmvt_item LIKE LINE OF it_goodsmvt_item.
DATA: w_mat_doc TYPE bapi2017_gm_head_ret-mat_doc,
w_year TYPE bapi2017_gm_head_ret-doc_year.
DATA: BEGIN OF it_errmsg_goodsmvt OCCURS 10.
INCLUDE STRUCTURE bapiret2.
DATA: END OF it_errmsg_goodsmvt.
DATA : obj_type LIKE bapiache09-obj_type,
obj_key LIKE bapiache09-obj_key,
obj_sys LIKE bapiache09-obj_sys.
DATA: v_date1 TYPE sy-datum.
DATA: v_date2 TYPE sy-datum.
DATA: w_lines TYPE i.
DATA: errflag.
SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-100.
PARAMETERS: p_file TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK bk1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
Start-of-selection processing
START-OF-SELECTION.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_line_header = 'X'
i_tab_raw_data = i_excel
i_filename = p_file
TABLES
i_tab_converted_data = it_itab[]
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT it_itab.
REFRESH it_goodsmvt_head.
REFRESH it_goodsmvt_item.
CONCATENATE it_itab-docdate6(4) it_itab-docdate3(2) it_itab-docdate+0(2) INTO v_date1.
CONCATENATE it_itab-postdate6(4) it_itab-postdate3(2) it_itab-postdate+0(2) INTO v_date2.
wa_goodsmvt_head-pstng_date = v_date2.
wa_goodsmvt_head-doc_date = v_date1.
wa_goodsmvt_head-ref_doc_no = it_itab-delnote.
wa_goodsmvt_head-pr_uname = sy-uname.
APPEND wa_goodsmvt_head TO it_goodsmvt_head.
Maintain it_goodsmvt_code
wa_goodsmvt_code-gm_code = '04'.
Maintain it_goodsmvt_item
*LOOP AT it_itab.
IF wa_goodsmvt_item-po_number IS INITIAL.
wa_goodsmvt_item-po_number = it_itab-pur_doc.
wa_goodsmvt_item-move_type = it_itab-mvt_type.
wa_goodsmvt_item-MOVE_PLANT = it_itab-plant.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = it_itab-material
IMPORTING
output = it_itab-material.
wa_goodsmvt_item-material = it_itab-material.
wa_goodsmvt_item-stge_loc = it_itab-lgort.
wa_goodsmvt_item-po_item = it_itab-po_item.
wa_goodsmvt_item-entry_qnt = it_itab-erfmg.
wa_goodsmvt_item-ENTRY_UOM_ISO = it_itab-uom.
wa_goodsmvt_item-po_pr_qnt = it_itab-lfmng.
wa_goodsmvt_item-batch = it_itab-batch.
wa_goodsmvt_item-expirydate = it_itab-vfdat.
wa_goodsmvt_item-NO_MORE_GR = 'X'.
wa_goodsmvt_item-mvt_ind = 'B'.
APPEND wa_goodsmvt_item TO it_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_goodsmvt_head
goodsmvt_code = wa_goodsmvt_code
IMPORTING
materialdocument = w_mat_doc
TABLES
goodsmvt_item = it_goodsmvt_item
return = it_errmsg_goodsmvt.
Process of commit work
IF it_goodsmvt_head[] IS NOT INITIAL.
DESCRIBE TABLE it_goodsmvt_head LINES w_lines.
ENDIF.
IF it_goodsmvt_item[] IS NOT INITIAL.
DESCRIBE TABLE it_goodsmvt_item LINES w_lines.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
IMPORTING
RETURN =
CLEAR errflag.
READ TABLE it_errmsg_goodsmvt INDEX 1.
IF it_errmsg_goodsmvt-type EQ 'E'.
WRITE:/'Error in function', it_errmsg_goodsmvt-message.
errflag = 'X'.
ELSE.
WRITE:/ it_errmsg_goodsmvt-message.
ENDIF.
IF errflag IS INITIAL.
COMMIT WORK AND WAIT.
IF sy-subrc NE 0.
WRITE:/ 'Error in updating'.
EXIT.
ELSE.
WRITE:/ 'Material Document created successfully and the Document Number for the Material',
wa_goodsmvt_item-material,'is:', w_mat_doc, w_year.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.Hey,
Just wanted to post that in my case this was the error of MVT_IND field in item table. When I made it from 'B' to blank then it worked.
Mine is solved....
Thanks -
Material Availability Date and Corresponding Basic finish date
Hi experts,
I have one requirement from my Business for updating Basic Finish date based on the Material availability date
Requirement goes like this, When we enter a Component of 100 qty in the service order , if stock is not available we get system status as MSPT and IWBK we can see how much quantity confirmed
But i dont see any table or report which shows when this material can be available for further delivery. Based on the next available material date i have to change the basic finish date in the service Order
Please let me know if you any report available for this or any standard approach. I want to know if any exist to leverage this functionality and logic how to get this accomplished
thanks
sarvanSarvan,
You would need to perform this check when saving the work order as there could be multiple components all with differing ATP dates.
But a development could do something like:
Read all active/open components/materials on the work order
Determine the availability data for each component/material
Determine the latest of the above dates
Apply this date to the order Basic Finish Date
You would need to ensure your scheduling parameters do not set this date back to its original value (OPU7).
You could achiev the above through user-exit IWO10009 (SMOD) or BADI WORKORDER_UPDATE (SE18).
PeteA -
Requirement in conversion of material master data
i have a requirement in conversion of material master data, what do i need to do in this, do i need to use the LSMW or BDC for this scenario can any one help me in this issue.
Hi Rocky,
You can go for either of these two methods.Conversion in the sense you are going to create one upload program for MM01 and will upload the data using the program
But I suggest go for BDC.Because in LSMW you can not capture all the views for material master.
I am writing steps(BDC recording) for this.Just follow if helpful:
1.Go to SHDB t-code.
2.Press NEW RECORDING
3.enter recording name,Transaction code(MM01) and then press Start recording.
This will take you to the transaction MM01,please enter the test data given by your functional consultant.Also select the views that required by client.
4.After recording save it.
5.After saving press program button from the menu.
6.This will take you SE38 with the recording code.
7.Then you do as per normal BDC program,declare internal table and map with the uploaded fields.
Shout me for further clarification.
Reward if helpful.
Thank you. -
Material Master Data and PO Master Data Table
Dear SAP Gurus and Expert,
Currently user is having a new integration system which link to SAP, and they require the migration of Material MAster Data and PO master data.
As a result of that, what table can be accessed in SE16 in order to get all the material master data and PO master data to be exported to excel fil format.
Thank you
RegardsHi,
For material master data
MARA General Material Data
MARC Plant Data for Material
MAKT Material Descriptions
MARD Storage Location Data for Material
You can enter MA* in SE16 and press F4 too get all the tables according to the views.
For Purchase order
EKKO
EKPO
EKBE
EKKN
Search for EK* in SE16. -
MF60 (Material staging) - Display different requirement dates in pull list
Hi
I've got the following problem.
If I choose a couple of process orders, the pull list of the material staging, summarize the quantitys and shows only just one requirement date. Instead I need the different orders and the different requirement dates to be shown for the consumption of components in the pull list.
Anybody know how to configure the pull list to show this scenario?
Thanks a lot.
Francisco O.Hi,
When you make a pull list , the system will create reservations
for the components that comes from all the open orders collectively.
The reqmts date will be the earliest one.
Now you have to click the Blue lens in which the system will
show the reqmts of components arising from various orders separately and each orders reqmts date will be shown individually.
Regards,
nandha -
Material expiry date and material manufacturer name
Hi All,
Where can I get the material expiry date and manufacturer name of the material in database tables??
Thanks in Advance.
- Neha.HI,
There is no seperate table for your requirement.
go to write quirey or Z tabel to meet your requirement.
Regards,
Andra -
Status 51 material document data and po data do not match(vendor)
i am using we19 to try an inbound idoc mbgmcr(receipt for po)
i put in gm_code 01
movement indicator B(goods receipt for po)
vendor 3815
PO 4500015241
PO Order Item 00030
Movement type 101
qty in unit of entry 1
iso code unit of measurement pc
on the po screen i see the po item and qty to be delivered is 75
when i run the inbound idoc i get
status 51 material document data and po data do not match(vendor) but as i say on the po inquiry screen i see the po vendor item with 75 to be delivered
what am i missing????????????????thank you
i put in the leading zeros and got rid of that problem
now i am getting status 51
posting only possible in 2004/07 and 2004/06
but in the posting date i use 07/02/2004 i have tried several dates in the period but get the same error
any ideas?
thanks you -
Material Creation Date and Time
Hi,
Is there any place which stores the material creation date and time. We have checked table MARA, but that only has the creation date of the material, but does not give the material creation time. We have checked table CDHDR, but that only seems to have the material change date and time.
From where can we retrieve the material creation date and time.
Thanks and Regards,
JohnActually, CDHDR and CDPOS will have the value. The CDHDR record will be marked as a 'U" record but look at the corresponding CDPOS record for MARA and it will be marked as an 'I' record.
Maybe you are looking for
-
How to take backup in external harddisk
Dear All, For takeing backup on external harddisk. i do the following step:-i open MS server managment Start>Programes>Microsoft SQL Server Stuido--> Connect to the SAP Server Instance for which want to take the Backup of the Database, then ->Server
-
I try to execute procedure on ORACLE(8i) but get err SQLException .. but for SELECT UPDATE INSERT statements all is OK!! for SELECT, UPDATE, INSERT I wrote such code: Statement stmt = conn.createStatement(); String strExec="SELECT ...." stmt.executeQ
-
Viewing PDF in safari goes crazy!
Hello, I have installed adobe 7 and schubert it PDF viewer and viewing PDF within safari worked fine. Now, when I click on the PDF link through safari, it will open up and i can view it, but when I close safari window, and click on the PDF link again
-
Dear All How could I declare a variable and then used in WHERE IN clause? I would like to do something like SELECT * FROM rooms WHERE number IN ('1001','1012','1015') but with the room number array declared as variable so I could reuse it I tried the
-
Just got my new Nokia 2220 last night. I had the radio working absolutely fine, but this morning when I turn the radio on I can hear nothing! The headset is plugged in but no sound on either loudspeaker or through headset - what have I done wrong?