Source List for MRP Area
Is there a possibility to maintain source list for MRP purposes
at storage Location level? We receive requirements from a couple
of our subsidaries and we were consolidating this to be a single
requirement for our suppliers, however this has changed we have
to now show each subsidary's requirements individually. We
currently only use a single plant, previously we created
additional plants for this and maintained a separate source list
for each. Is this the best way to represent and run MRP for each
subsidary? Thanks.
Dear Kennedy,
Source list for Storage Location level not possible!!
An MRP area represents an organizational unit for which you can perform material requirements planning separately.
An MRP area can include one or several storage locations of a plant or a subcontractor. You can define MRP areas in a plant.
By defining MRP areas, you can perform MRP for each area. This means the right quantity of materials can be provided on time for each area, such as a production line, a storage location for spare parts, or subcontractor stock.
Bye,
Muralidhara
Similar Messages
-
Create Vendor Inforecords and source list for material
Hi All,
senario:I have to create vendor Inforecords and source list for new material as copy of reference material.
There are various FM's available to read inforecord, source list but as reuirement is to copy these things from reference materil and create same for new material.
Can you people suggest any way to achive these functionalies through any FM, BADI or any other way...
Looking forword for your reply..
Regards,
RahulHi All,
Can we use FM MGW_COPY_INFORECORDS to create inforecords for new material.
Just to cross check, as i m not sure about use of this FM.
Regards,
Rahul -
Hi experts,
I have two queries-
a. Can we maintain source list for services created through AC01 transaction? If yes how?
b. We are currently using auto PO functionality for Material PR using ME59. Can we do auto PO for service PR also? How
Your explanatory reply will be rewarded with full pointsw.
Regards,
santoshDear Dheeraj,
Thanks for your reply for my first question. But can you through some light on the second question? Source list is a madatory element to set up an auto PO (ME59). If we cannot maintain source list how to use auto PO functionality for Service.
Regards
Santosh -
Source List for Material Group
Hi All,
How do I maintain a source list for a material group.? Since ME01 requires a material, I cannot create source list in this tranasction.
The client want a the Source (for material Group) to be assigned automatically in PR assignment step.
Again, within a material group there can be several infor records, For example:
Mater Group: Office Supp.....I can have two infor rec for the same vendor....one with "Short Text" Notepad and another info rec with "Short Text": Paperclips. Or the second info record could be a different vendor also.
How could the system know which one to assign as a source since it's the same material group (one for Notepads and the other for paperclips)??
Thanks in advanceHi duke,
In SAP we have a choice of creating source list for a "Material Group ". Following is the method.
You may have the outline agreements related to material group rather than a single specific material - For ex. outline agreement with a item category M( Material unknown) or W ( material group).In doing so you can decide whether to exclude or include certain materials of the relevant material group by means of the source list.
To create the source list for a material group proceed as follows.
1) On the outline agreement overview screen, select the items for which you wish to enter the source list record & choose Item --> Maintain source list
2) To exclude the particular material keep the "Exclusion" indicator set against a material with a validity period.
I hope this will be useful to you.
Vivek -
Source List for Standard and Subcontracting Info Record
Dear Sir and Madam,
We have scenario where nart A could purchase with Standard PO or Subcontract PO.
We have following 2 Standard Info Record and 2 Subcontract Info Record.
Standard InfoRec 1 for Nart A to Vendor 001 --Fixed Vendor
Standard InfoRec 2 for Nart A to Vendor 002
Subcontract InfoRec 1 for nart A to Vendor 003 - Fixed Vendor
Subcontract InfoRec 2 for nart A to Vendor 004
We have the problem here, how can we set the fixed vendor in Source List, for Standard PO using vendor 001 and Subcon using Vendor 003?
Thank you very much,
Regards,
CWIn source list only one vendor can be assigned.
If u want to assign 2 or more vendor, try using Quota Arragement.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/f4/7d267944af11d182b40000e829fbfe/frameset.htm
http://help.sap.com/erp2005_ehp_04/helpdata/EN/75/ee115f55c811d189900000e8322d00/frameset.htm -
Create source list for blocked vendor
Hi all,
A client wants to create a source list for a material with a vendor that is blocked for purchase. (XK05, 'purchasing block' checked)
Is this something that can be done in configuration?
Thank you.Dear Eagle,
When Blocked for Purchasing, system wont allow to create Source List also below error message is throwing,i tried practically.
Not possible to generate any source list records
Message no. 06717
Diagnosis
The system was not able to determine any procurement information (i.e.
purchasing info records or outline purchase agreements) for the
material(s).
System Response
No source list records have been generated.
Procedure
If procurement information does exist for the material, check the
selection criteria you entered (e.g. material or plant number).
I know system wont allow to create source list also but you saying system allow,thats the reason i tried practically.
we canot do any funtions realted of procuring i mean combination of Purchasing organization.
may be your dout is this only
Prem -
Dear Expert,
I have doubt regarding BOM explosion for MRP Area. This doubt is triggered when performing MD01, as result I do not find the dependent requirement in MD04 for my FG. I have maintained the BOM through CS61 and MRP area for all component, I understand that only component level system is taking into account MRP area (storage location). FYI before maintaining all components to MRP area, the BOM explosion was successful exploded. Your advice is appreciated.
Best regards,
MahnansaDear,
Please check the Explosion control in Customizing, Transaction OMIW.
Try to explode the BOM in CS11 , CS12 or CS13 if it is working there in curret date then chack the planning file entry in MD21.
You need to convert the planning file entery at MRP area in OM0F.
Also note the dependent requirement is not generated in the corresponding MRP area to which the production storage location in the material master has been not assigned for the data of the MRP area.
Regards,
R.Brahmankar -
Source list for service vendors
Dear friends,
How to maintain the source list for service wise for service vendors.
And for what purpose standard service catalog is maintained.Please suggest
Regards,
CanandU CAN NOT MAINTIN THE SOURCE LIST FOR SERVICE AS IN THE INTIAL SCREEN OF SOURCELIST SYTEM ASK FOR THE MATERIAL CODE
-
Change consumption for MRP Area
how I can change the consumption for MRP Area recorded in the table DVER without using MM02 ?
Thanks,
Edited by: BEKKARI Mohamed on Feb 9, 2009 5:49 PMHi,
write one report get the data from the table dver.
Change the value and use update database.
then commit.
>Thanks -
Program or exit/BAdi for table DVER (Material Consumption for MRP Area)
Hi,
I want to update table DVER (Material Consumption for MRP Area).
Please suggest if any program or exit/BAdi.Check these function modules:
CONSUMPTION_EXI_MAT_PLA_PE_DB
CONSUMPTION_READ_FOR_MM_DB
CONSUMPTION_REF_MAT_PLA_PE_DB
DVER_GENERIC_EXIS_MATNR
DVER_GENERIC_EXIS_MATNR_DB_PER
DVER_GENERIC_READ_MATNR_PLA_PE
DVER_GET_BILD
DVER_SET_DATA
DVER_SET_SUB
A badi/user exit is triggerred when a standard transaction is run.Let me know if you want to update the table when a std. transaction is executed and the transaction code. -
Planning file entry for MRP Area
Hi,
To create planning file entry in the background at plant level we use Transaction MDAB. I would like to know that if MRP area is active than whats the T-code for planning file entry in the background at mrp area level?? To create manualy in the Trx md20 we have that option to select mrp area & plant. So please let me know yours view on this.
Thanks & Regards
Kundan KumarDear,
If planning file entry are there on plant level then system will convert same on MRp area level. Have you check that tables? (DBVM)
For planning file entry at MRP area lvel , use report RMDBVM00 (transaction OM0F) to convert the existing table MDVM with the planning file entries into table DBVM. The conversion is also described in MRP Customizing: TA OPP1 -> Planning File Entries.
There is no need of MDAB just check your entry in MD21 take a MRP run at MRP area lvel and come back if any problem.
If you want to schedule it on MRP area lvel then use the MDRE or use program RMMDVM10 and in variant here select the MRP Area redio button.
Regards,
R.Brahmankar
Edited by: R Brahmankar on Oct 26, 2009 6:25 PM -
Use of report RMMDDIBE for MRP area creation
Dear All
I have this requirement where i have to extend already created materials to storage location MRP areas. In SAP documentation i found that, standard report RMMDDIBE can be used for this.
If anyone has worked with this earlier, kindly let me few things abt this report
1- Exact fucntionality of this report
2. How to run this report
3. Is it a configuration or just front end report which has to be run everytime
4. can we make front end batch job
Any help on this would be great
thanks
balsHi Murugesan,
1. Exact fucntionality of this report
The mass create & change MRP Area data instead of manually doing via material master MRP1 view
2. How to run this report
Select the materials and plant that you want to create or change the MRP areas, then select where to copy the MRP area data from, i.e. copy from material master MRP views, copy from other MRP area data.
For example you can copy the material master data when creating, then use "create/change the data" to update some of the fields.
3. Is it a configuration or just front end report which has to be run every time
Yes, you must have configured MRP area and assigned storage locations in the IMG. RMMDDIBE is a mass master data update program, it is not configuration.
4. can we make front end batch job
No real need, this is a mass create/change program.
James -
Info record no is not appearing in PR Source supply for MRP generated PR
Hi,
I have a material ,I have naintained inforecord & source list .when i am trying create PR with source determination tick ,system is adopting Inforecord no in PR source of supply tab.But if you create PR through MRP ,system is picking only fixed vendor
Info record filed is blank.
Please guide me how to get Inforecord no in MRP PR
Regards
VRHi ,
That is also fine.even if you tick the fixed indicator only vendor no is appearing
Regards
VR -
How to run MRP only for MRP area ?
Dear Gurus,
I am going to run collective MRP only for one MRP area, not for whole plant. How to do it?
MD03----is only for one material.
MD01----is at plant level
Thanks in anticipation.
Jason
Edited by: Jason Ma on May 6, 2008 4:44 PMCan you be more specific?
MD21 - Display Planning File Entries? Is this related to MRP run and how? -
I create material using bapi BAPI_MATERIAL_SAVEDATA
in VIEW MRP1 it need to use the button 'mrp area' to inut the mrp area
double click and inout mrp type , mrp controller .....
is there anyone konw the bapi to do it ?
many thanks!!BAPI_MATERIAL_SAVEDATA field MARA-KZKFG not in ClientData
if its not in BAPI_MARA then you have to use ExtensionIn table to populate this field.
In Extensionin Table you have to enter the following two fields
structure name "BAPI_TE_MARA" and
the values for all the fields in this structure in valuepart1 field.
matnr (18), zfield1(10), zfield2(10)
Then it_extensionin-valuepart1 should have matnr in the first 18 char's and then zfield1 in the next 10 chars and zfield2 in the next 10 chars. so you should have filled the first 38 chars of valuepart1. In your case you dont need is_bapi_te_mara
you can just say
it_extensionin-valuepart1+0(18) = matnr.
it_extensionin_valuepart1+18(10) = zfield1
it_extensionin_valuepart1+28(10) = zfield2
append.
it should be something like this. Please try this and let me know if you still face any problems. Let me know the structure of bapi_te_mara.
BAPI_TE_MARA looks like the following;
MATERIAL MATNR CHAR 18 0
.APPEND ZABAPI_TE_MARA 0 0 Missing fields fo
EXTWG EXTWG CHAR 18 0 Ext
ZZLSTATION1 ZLSTATION1 CHAR 13 0 Line
ZZLFEEDER1 ZLFEEDER1 CHAR 12 0 Line
FUNCTION z_mmc_local_material_create.
""Local interface:
*" IMPORTING
*" VALUE(SINGLE) TYPE CHAR1
*" VALUE(IV_UNAME) TYPE SYUNAME OPTIONAL
*" EXPORTING
*" VALUE(MESSAGE) TYPE ZCHAR150
*" TABLES
*" MATDATA STRUCTURE ZMMCLOCMM
*" EXCEPTIONS
*" ERROR
TABLES: zmmcuser. "DG28347E
TYPE-POOLS shlp.
Tables
TABLES: t9mmclocmm,
t9mmcuser,
t100,
z19ppl_mm_dat,
t134t,
t9mmclocmt,
z19sloccon.
Strutures and internal tables
DATA: is_headdata LIKE bapimathead,
is_clientdata LIKE bapi_mara,
is_clientdatax LIKE bapi_marax,
is_plantdata LIKE bapi_marc,
is_plantdatax LIKE bapi_marcx,
is_forecastparameters LIKE bapi_mpop,
is_forecastparametersx LIKE bapi_mpopx,
is_planningdata LIKE bapi_mpgd,
is_planningdatax LIKE bapi_mpgdx,
is_storagelocationdata LIKE bapi_mard,
is_storagelocationdatax LIKE bapi_mardx,
is_valuationdata LIKE bapi_mbew,
is_valuationdatax LIKE bapi_mbewx,
is_warehousenumberdata LIKE bapi_mlgn,
is_warehousenumberdatax LIKE bapi_mlgnx,
is_salesdata LIKE bapi_mvke,
is_salesdatax LIKE bapi_mvkex,
is_storagetypedata LIKE bapi_mlgt,
is_storagetypedatax LIKE bapi_mlgtx,
is_return LIKE bapiret2,
is_bapi_te_mara LIKE bapi_te_mara,
is_bapi_te_marax LIKE bapi_te_marax,
it_materialdescription LIKE bapi_makt
OCCURS 0
WITH HEADER LINE,
it_unitsofmeasure LIKE bapi_marm
OCCURS 0
WITH HEADER LINE,
it_unitsofmeasurex LIKE bapi_marmx
OCCURS 0
WITH HEADER LINE,
it_internationalartnos LIKE bapi_mean
OCCURS 0
WITH HEADER LINE,
it_materiallongtext LIKE bapi_mltx
OCCURS 0
WITH HEADER LINE,
it_taxclassifications LIKE bapi_mlan
OCCURS 0
WITH HEADER LINE,
it_returnmessages LIKE bapi_matreturn2
OCCURS 0
WITH HEADER LINE,
it_prtdata LIKE bapi_mfhm
OCCURS 0
WITH HEADER LINE,
it_prtdatax LIKE bapi_mfhmx
OCCURS 0
WITH HEADER LINE,
it_extensionin LIKE bapiparex
OCCURS 0
WITH HEADER LINE,
it_extensioninx LIKE bapiparexx
OCCURS 0
WITH HEADER LINE.
DATA: BEGIN OF it_error OCCURS 0,
uname LIKE t9mmcuser-uname,
cltprt LIKE z19ppl_mm_dat-cltprt,
prttx LIKE z19ppl_mm_dat-prttx,
message(150),
msgno(23),
END OF it_error.
DATA: BEGIN OF it_class OCCURS 0,
mtart LIKE t9mmclocmm-mtart,
traw LIKE t9mmclocmm-traw,
cltprt LIKE z19ppl_mm_dat-cltprt,
prttx LIKE z19ppl_mm_dat-prttx,
END OF it_class.
DATA: BEGIN OF it_mmflag OCCURS 0,
cltprt LIKE z19ppl_mm_dat-cltprt,
mmflag LIKE z19ppl_mm_dat-mmflag,
END OF it_mmflag.
DATA: BEGIN OF it_extend OCCURS 0.
INCLUDE STRUCTURE zmmclocmm.
DATA: END OF it_extend.
BDC Data
DATA: BEGIN OF it_bdctab OCCURS 30.
INCLUDE STRUCTURE bdcdata.
DATA: END OF it_bdctab.
Data returned from transaction
DATA: BEGIN OF it_trn_ret OCCURS 10.
INCLUDE STRUCTURE bdcmsgcoll.
DATA: END OF it_trn_ret.
Email
DATA: BEGIN OF it_mail_text OCCURS 0.
INCLUDE STRUCTURE solisti1.
DATA: END OF it_mail_text.
Storage location and warehouse data
DATA: BEGIN OF it_whse OCCURS 0,
cltprt LIKE zmmclocmm-cltprt,
lgnum LIKE z19sloccon-lgnum,
END OF it_whse.
DATA: BEGIN OF it_sloc OCCURS 0,
cltprt LIKE zmmclocmm-cltprt,
lgort LIKE z19sloccon-lgort,
END OF it_sloc.
DATA: BEGIN OF it_lgnum OCCURS 0,
lgnum LIKE z19sloccon-lgnum,
END OF it_lgnum.
DATA: BEGIN OF it_lgort OCCURS 0,
lgort LIKE z19sloccon-lgort,
END OF it_lgort.
DATA: BEGIN OF it_sloc_extend OCCURS 0.
INCLUDE STRUCTURE zmmclocmm.
DATA: END OF it_sloc_extend.
Start of Insert TT67507
DATA: BEGIN OF it_qm OCCURS 0,
matnr LIKE mara-matnr,
werks LIKE marc-werks,
END OF it_qm.
End of Insert TT67507
DATA: v_slin TYPE i,
v_wlin TYPE i,
v_index TYPE i,
v_lgort LIKE z19sloccon-lgort,
v_lgnum LIKE z19sloccon-lgnum.
Work fields
DATA: v_ermsg(500),
v_subrc LIKE sy-subrc,
v_mode,
v_mail_subject LIKE sodocchgi1-obj_descr,
v_email LIKE sadrud,
v_single,
v_message TYPE zchar150,
v_mtart LIKE t9mmclocmt-mtart,
v_traw LIKE t9mmclocmt-traw,
v_skip,
v_hold_cltprt LIKE z19ppl_mm_dat-cltprt.
Constants
CONSTANTS: co_mark VALUE 'X',
co_klart LIKE rmclf-klart VALUE '001',
co_class1 LIKE rmclf-class VALUE 'PARTNUM', "DK69475E
co_class2 LIKE rmclf-class VALUE 'L/STATION', "DK69475E
co_ssqss(4) VALUE '0001', "TT67505
co_insp1(2) VALUE '01', "TT67505
co_insp2(2) VALUE '08'. "TT67505
CHECK NOT matdata[] IS INITIAL.
v_single = single.
CLEAR: it_class,
it_error,
message,
v_message,
it_extend,
v_hold_cltprt.
REFRESH: it_class,
it_error,
it_extend,
it_sloc,
it_whse,
it_sloc_extend.
LOOP AT matdata.
Get default data
SELECT SINGLE * FROM t9mmclocmm
WHERE mtart = matdata-mtart
AND traw = matdata-traw.
IF sy-subrc NE 0.
IF v_single = space.
SELECT uname INTO t9mmcuser-uname
FROM t9mmcuser WHERE mtart = matdata-mtart
AND traw = matdata-traw.
CLEAR it_error.
it_error-uname = t9mmcuser-uname.
it_error-cltprt = matdata-cltprt.
it_error-prttx = matdata-prttx.
CONCATENATE 'Table T9MMCLOCMM not maintained for'
matdata-mtart
matdata-traw
INTO it_error-message SEPARATED BY space.
APPEND it_error.
ENDSELECT.
ELSE.
CONCATENATE 'Table T9MMCLOCMM not maintained for'
matdata-mtart
matdata-traw
INTO v_message SEPARATED BY space.
ENDIF.
CONTINUE.
ENDIF.
Extract storage location and warehouse data
CLEAR: v_lgort,
v_lgnum.
PERFORM fm_sloc_whse_data USING matdata-cltprt
matdata-prttx.
IF t9mmclocmm-lgort NE space.
v_lgort = t9mmclocmm-lgort.
ENDIF.
Initialise
CLEAR: is_headdata,
is_clientdata,
is_clientdatax,
it_materialdescription,
it_taxclassifications,
is_plantdata,
is_plantdatax,
is_forecastparameters,
is_forecastparametersx,
is_storagelocationdata,
is_storagelocationdatax,
is_valuationdata,
is_valuationdatax,
is_warehousenumberdata,
is_warehousenumberdatax,
is_salesdata,
is_salesdatax,
is_bapi_te_mara,
is_bapi_te_marax,
it_extensionin,
it_extensioninx,
is_return,
it_mail_text.
REFRESH: it_materialdescription,
it_taxclassifications,
it_extensionin,
it_extensioninx,
it_mail_text.
Fill BAPI structures
is_headdata-material_external = matdata-cltprt.
is_headdata-ind_sector = t9mmclocmm-mbrsh.
is_headdata-matl_type = t9mmclocmm-mtart.
is_headdata-basic_view = co_mark.
is_headdata-sales_view = co_mark.
is_headdata-purchase_view = co_mark.
is_headdata-mrp_view = co_mark.
is_headdata-storage_view = co_mark.
is_headdata-warehouse_view = co_mark.
is_headdata-quality_view = co_mark.
is_headdata-account_view = co_mark.
is_headdata-cost_view = co_mark.
IF t9mmclocmm-prmod NE space.
is_headdata-forecast_view = co_mark.
ENDIF.
Basic data
IF t9mmclocmm-meins = space.
is_clientdata-base_uom = matdata-meins.
ELSE.
is_clientdata-base_uom = t9mmclocmm-meins.
ENDIF.
is_clientdata-matl_group = t9mmclocmm-matkl.
is_clientdata-division = t9mmclocmm-spart.
is_clientdatax-base_uom = co_mark.
is_clientdatax-matl_group = co_mark.
is_clientdatax-division = co_mark.
PANDA
IF t9mmclocmm-traw = 'P1'.
is_clientdata-trans_grp = t9mmclocmm-tragr.
is_clientdatax-trans_grp = co_mark.
ENDIF.
Quality
is_clientdata-qm_procmnt = co_mark. "TT67507
is_clientdatax-qm_procmnt = co_mark. "TT67505
is_plantdata-ctrl_key = co_ssqss. "TT67507
is_plantdatax-ctrl_key = co_mark. "TT67507
Description data
it_materialdescription-langu = 'E'.
it_materialdescription-matl_desc = matdata-prttx.
APPEND it_materialdescription.
Tax classifications for PANDA
IF t9mmclocmm-traw = 'P1'.
CLEAR it_taxclassifications.
it_taxclassifications-depcountry = t9mmclocmm-aland.
it_taxclassifications-tax_type_1 = t9mmclocmm-tatyp.
it_taxclassifications-taxclass_1 = t9mmclocmm-taxkm.
APPEND it_taxclassifications.
ENDIF.
Country of origin for XP via ZMMCM
IF v_single NE space
AND t9mmclocmm-traw = 'XP'
AND t9mmclocmm-herkl = space.
t9mmclocmm-herkl = matdata-herkl.
ENDIF.
Plant data
is_plantdata-plant = t9mmclocmm-werks.
is_plantdata-profit_ctr = t9mmclocmm-prctr.
is_plantdata-pur_group = t9mmclocmm-ekgrp.
is_plantdata-pur_status = t9mmclocmm-mmsta.
is_plantdata-comm_code = t9mmclocmm-stawn.
is_plantdata-countryori = t9mmclocmm-herkl.
is_plantdata-pvalidfrom = sy-datum. "mmstd
is_plantdata-sloc_exprc = t9mmclocmm-lgfsb.
is_plantdata-mrpprofile = t9mmclocmm-dispr.
is_plantdata-mrp_ctrler = t9mmclocmm-dispo.
is_plantdata-lotsizekey = t9mmclocmm-disls.
is_plantdatax-plant = t9mmclocmm-werks.
is_plantdatax-profit_ctr = co_mark.
is_plantdatax-pur_group = co_mark.
is_plantdatax-pur_status = co_mark.
is_plantdatax-comm_code = co_mark.
is_plantdatax-countryori = co_mark.
is_plantdatax-pvalidfrom = co_mark.
is_plantdatax-sloc_exprc = co_mark.
is_plantdatax-mrpprofile = co_mark.
is_plantdatax-mrp_ctrler = co_mark.
is_plantdatax-lotsizekey = co_mark.
PANDA
IF t9mmclocmm-traw = 'P1'.
is_plantdata-loadinggrp = t9mmclocmm-ladgr.
is_plantdata-gr_pr_time = t9mmclocmm-webaz.
is_plantdata-specprocty = t9mmclocmm-sobsk.
is_plantdata-dep_req_id = t9mmclocmm-sbdkz.
is_plantdatax-loadinggrp = co_mark.
is_plantdatax-gr_pr_time = co_mark.
is_plantdatax-specprocty = co_mark.
is_plantdatax-dep_req_id = co_mark.
ENDIF.
Forecast data
IF t9mmclocmm-prmod NE space.
is_forecastparameters-plant = t9mmclocmm-werks.
is_forecastparameters-fore_model = t9mmclocmm-prmod.
is_forecastparametersx-plant = t9mmclocmm-werks.
is_forecastparametersx-fore_model = co_mark.
ENDIF.
Storage location data
IF t9mmclocmm-traw = 'P1' " PANDA
OR v_lgort NE space.
is_storagelocationdata-plant = t9mmclocmm-werks.
is_storagelocationdata-stge_loc = v_lgort.
is_storagelocationdatax-plant = t9mmclocmm-werks.
is_storagelocationdatax-stge_loc = v_lgort.
ENDIF.
Valuation data
is_valuationdata-val_area = t9mmclocmm-werks.
is_valuationdata-val_type = space.
is_valuationdata-val_class = t9mmclocmm-bklas.
is_valuationdata-orig_group = t9mmclocmm-hrkft.
is_valuationdatax-val_area = t9mmclocmm-werks.
is_valuationdatax-val_type = space.
is_valuationdatax-val_class = co_mark.
is_valuationdatax-orig_group = co_mark.
Warehouse data
IF v_lgnum NE space.
is_warehousenumberdata-whse_no = v_lgnum.
is_warehousenumberdatax-whse_no = v_lgnum.
ENDIF.
Sales data for PANDA
IF t9mmclocmm-traw = 'P1'.
is_salesdata-sales_org = t9mmclocmm-vkorg.
is_salesdata-distr_chan = t9mmclocmm-vtweg.
is_salesdata-delyg_plnt = t9mmclocmm-dwerk.
is_salesdata-item_cat = t9mmclocmm-mtpos.
is_salesdatax-sales_org = t9mmclocmm-vkorg.
is_salesdatax-distr_chan = t9mmclocmm-vtweg.
is_salesdatax-delyg_plnt = co_mark.
is_salesdatax-item_cat = co_mark.
ENDIF.
Additional data
is_bapi_te_mara-material = matdata-cltprt.
is_clientdata-extmatlgrp = t9mmclocmm-extwg.
is_bapi_te_mara-kzkfg = t9mmclocmm-kzkfg.
is_bapi_te_marax-material = matdata-cltprt.
is_clientdatax-extmatlgrp = co_mark.
is_bapi_te_marax-kzkfg = co_mark.
it_extensionin-structure = 'BAPI_TE_MARA'.
it_extensionin-valuepart1+0(18) = matdata-cltprt.
it_extensionin-valuepart1+18(18) = 'NEW TEST'.
APPEND it_extensionin.
it_extensioninx-structure = 'BAPI_TE_MARAX'.
it_extensioninx-valuepart1+0(18) = matdata-cltprt.
it_extensioninx-valuepart1+18(1) = 'X'.
APPEND it_extensioninx.
Call BAPI
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = is_headdata
clientdata = is_clientdata
clientdatax = is_clientdatax
plantdata = is_plantdata
plantdatax = is_plantdatax
forecastparameters = is_forecastparameters
forecastparametersx = is_forecastparametersx
planningdata = is_planningdata
planningdatax = is_planningdatax
storagelocationdata = is_storagelocationdata
storagelocationdatax = is_storagelocationdatax
valuationdata = is_valuationdata
valuationdatax = is_valuationdatax
warehousenumberdata = is_warehousenumberdata
warehousenumberdatax = is_warehousenumberdatax
salesdata = is_salesdata
salesdatax = is_salesdatax
storagetypedata = is_storagetypedata
storagetypedatax = is_storagetypedatax
IMPORTING
return = is_return
TABLES
materialdescription = it_materialdescription
unitsofmeasure = it_unitsofmeasure
unitsofmeasurex = it_unitsofmeasurex
internationalartnos = it_internationalartnos
materiallongtext = it_materiallongtext
taxclassifications = it_taxclassifications
returnmessages = it_returnmessages
prtdata = it_prtdata
prtdatax = it_prtdatax
extensionin = it_extensionin
extensioninx = it_extensioninx.
Maybe you are looking for
-
Hello, I'm trying to use sql-loader with parallel option. I have loaded data with and without parellel but it takes same time. I don't appreciatte a better perfomance with parallel. In the called to sqlldr i'm adding PARALLEL=TRUE. That is the only c
-
Billing document not transferrred to Accounting: Msg no. KE350
Dear All. We're having an issue in SD Billing. Some billing documents error out when released to accounting. This is due to a material on the billing document, which is set up as FERT but they are also checked field 'Do not Cost' on the material mas
-
Can I implement the functionality of a Schmitt trigger in LabVIEW?
I am reading in a waveform file using the Read Waveform From File.vi. I would like some guidance as to how to implement a Schmitt trigger using LabVIEW blocks to massage the incoming waveform into a new waveform that resembles a digital data stream.
-
After Tiger install my G4 can't communicate with my G3
It was easy with Panther. I just clicked on 'GO' scrolled down to 'CONNECT TO SERVER' the network box would appear I would click the 'BROWSE' button and it would take me to the G3 server icon. I would simply click on the icon, log in and boom I was i
-
Any Standard Class to Fetch the PayRoll Result
Hi Experts, There is any standard class or method to fetch the details in the Pay Result(RT CRT Tables) from PC_payresult T-code in HR PayRoll module. Thanks, P.s.Raj