Creating Dependency for Material BOM
hi,
i have created a material bom using BAPI_MATERIAL_BOM_GROUP_CREATE. this bom has three line items in which the 3rd line item has a dependency for it. the dependency value is V29.
please let me know how to add a dependency to a material bom item, while creating a material bom using BAPI_MATERIAL_BOM_GROUP_CREATE?
is there any other function module to maintain the dependency after the material bom is created?
i have tried CSAP_MAT_BOM_OPEN, CSAP_BOM_ITEM_MAINTAIN and CSAP_MAT_BOM_CLOSE. but i couldn't succeed.
can anyone please let me know how to use these FM's for my case?
please help me with your answers.
thanks.
BAPI_MATERIAL_BOM_GROUP_CREATE cannot be used to create object dependency.
once the bom is created using the above function module, use...
CSAP_MAT_BOM_OPEN, CSAP_BOM_ITEM_MAINTAIN and CSAP_MAT_BOM_CLOSE
...to create OD individually for each line item.
Similar Messages
-
To create req for new BOM component
hello all,
i confirm the order and now i need to add one more component to the header material for the same order.
how can i create requirement for new BOM component.
what i done is i 1st cancel the confirmation. then go for read PP mater data. after that should i run the MRP for header material to create planned order for new BOM component?
regardsDear,
If you have execute any transaction like GI confirmation then read PP master data will not work.
Best way you can cancel the confirmation and reveres the good issue by 262 movement type. Then do TECO to the order all reservation get deleted.
Then update the BOM with new component and run MRP with planning mode-3 delete and recreated. It will create planned order then convert it to production and go ahead.
Regards,
R.Brahmankar -
PLM WEB UI - Personal Object Worklist for Material BOMs dumps in Portal
We installed business package for PLM WEB User interface and we start playiong around with the POWL functionality. For some reason teh system ends in an error calling ....../sap/bc/webdynpro/PLMU/wda_wcc_myobj/
This is section Personal Object Worklist for Material BOMs within Material BOMS
Below is what I get
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Error when processing your request
What has happened?
The URL ......../sap/bc/webdynpro/PLMU/wda_wcc_myobj/ was not called due to an error.
Note
The following error text was processed in the system ... : The ASSERT condition was violated.
The error occurred on the application server sapdl1_DL1_00 and in the work process 2 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: /PLMB/IF_SPI_METADATA_BASE~GET_NODE_DEFINITION of program /PLMB/CL_SEA_SELOPT_MP========CP
Method: GET_NODE_DEFINITION of program /PLMB/CL_SPI_METADATA=========CP
Method: GET_INSTANCE of program /PLMB/CL_SPI_METADATA=========CP
Method: GET_PROVIDERS of program /PLMB/CL_SPI_FACTORY==========CP
Method: CONSTRUCTOR of program /PLMB/CL_SPI_CONNECTOR========CP
Method: GET_SEA_CONFIG of program /PLMU/CL_WCC_PWL_FEEDER_ABS===CP
Method: CREATEPOWLDEF of program /PLMU/CL_WCC_PWL_FEEDER_ABS===CP
Method: IF_POWL_FEEDER~GET_SEL_CRITERIA of program CL_POWL_EASY_FEEDER===========CP
Method: IF_POWL_FEEDER~GET_SEL_CRITERIA of program /PLMU/CL_WCC_PWL_FEEDER_ABS===CP
Method: GET_UPDATED_SELCRIT of program CL_POWL_UTIL==================CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system ... in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapdl1_DL1_00 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 2 in transaction ST11 on the application server sapdl1_DL1_00 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 020 -u: AXH7220 -l: E -s: DL1 -i: sapdl1_DL1_00 -w: 2 -d: 20100603 -t: 060408 -v: RABAX_STATE -e: ASSERTION_FAILED
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
However , if I run this service as a standalone URL I get a screen where I can fill in an application, business object and/or system. If I select one, it works perfectly
What step do I miss?
Thanks for any input on this
kind regards
Angelique Heutinck
IFFHi,
I would reconmend to open an OSS message about this error.
Martin -
BAPI to create profile for material
Hi all,
Is there a BAPI to do following things:
1. create Profile for material
2. Assign new Class Type 300 for Material
3. add variants class to have characteristics and update its values.
Thanks in advance,
AmrutaHi Amrutha,
Please try this BAPI
BAPI_UI_CREATE
Regards
Rasheed -
Hello,
we are working on a process to download longtexts from one system and to upload into another system to add missing long text there for different objects.
We are using SAVE_TEXT and it is working fine for documents in DRAW/DRAT.
Here we got what we expected. Long texts are uploaded and can be edited in the
transaction CV02N.
But then we started with material and with BOMs (bill of material).
Result of upload:
STXH is filled with entries but in MM02 and CS02 we cannot see the added long texts.
Seems that the connection between material and bom and their texts is missing.
For BOM we are not totally wrong. If there is a longtext in the BOM we can add longtext (we READ_TEXT the existing longtext and add our text. Then we do a update) and can see the added longtext in CSxx transactions.
But if there is only a short text, our insert via SAVE_TEXT is not working.
Is there something we are doing wrong or don´t we understand something?
Any help is appreciated.
Best regard
DirkHello Naren,
oh, this answer was bringing light into my confusion.
My problem is that there will be some import files with any long text for any object in R/3 like
material with x textids , bom, equipment etc...
Is there any chance to find out easily which text object combination with textid belongs to a specific long text. The TTXID table is only a listing w/o any explanantion???????
Update longtext in BOM header -> set STZU-LTXSP
Update longtext alternative in BOM header -> set STKO-LTXSP
Update longtext in BOM position -> set STPO-LTXSP
And what is the text ID DPO for?
My other problem now is with Material long text import.
I checked the SDN threats but could not find the answer.
This is my abap that is not running for material.
I can see the long text entries from READ_TEXT, but not in STXH and STXL.
zs_textline_c [ ] = zs_textline_b [ ] .
CALL FUNCTION 'INIT_TEXT'
EXPORTING
id = wa_header-tdid
language = wa_header-tdspras
name = wa_header-tdname
object = wa_header-tdobject
IMPORTING
header = wa_header_b
TABLES
lines = zs_textline_c
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = wa_header_b
insert = 'X'
savemode_direct = 'X'
owner_specified = 'X'
local_cat = ' '
IMPORTING
function = l_result
NEWHEADER =
TABLES
lines = zs_textline_b
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'COMMIT_TEXT'.
COMMIT WORK.
Your help is welcome!
Best regards
Dirk
Edited by: Dirk Meinhard on Mar 31, 2009 4:33 PM -
Distribution Procedure for Material BOM and Modifications
Hi Experts,
I'm using ALE to distribute Materials, Material-BOMs and Modifications. The user select the BOM and start the distribution.
What is the right procedure to distribute Materials, BOMs and Modifications (with the entire BOM-Modifications History).
I'm using following Functions:
- for Materials : MASTERIDOC_CREATE_REQ_MATMAS
- for Modifications : Transaction CC92
- for BOMs : MASTER_IDOC_CREATE_BOMMAT
Thanks for support.
Regards,
David.up
-
User Exit or BADI for Material,BOM,Customer,Vendor
Dear All,
I have requirement where if User A changes a Material X .It should go for approval by workflow.
When the Material X is waiting for approval no other User should be able to change the material .It should give him a message
and restrict him from changing the Material.
Is there any User Exit or BADI to restrict him from changing the material. The exit or BADI should be called as soon as the Material is entered in MM02.
I need exit or BADI for BOM, Vendor and Customer also.
Thank you.Hi,
You can go to Transaction SE80 and check in Function Group MATF. There have been two User Exits which are called during MM02 Transaction execution (via Analysis Transaction SE30) - MATERIAL_FIELD_SELECTION_NEW and MATERIAL_FIELD_SELECTION_COMB.
BAdI called by FM MATERIAL_FIELD_SELECTION_NEW.
Thanks and Regards,
Prabhakar Dharmala -
Mdm_clnt_extr is not able to create idoc for material
Hello ,
In my scenario material data has to transfered from ECC6.0 to MDM5.5 using XI.
Scenario is configured in XI.
Trying to extreact materials from ECC6.0 using mdm_clnt_extr.
Material_extract is extraction object used in variant required for mdm_clnt_extr.
once I give values for matnr and starts extraction, background job goes into error
saying 'This idoc is permitted for XI logical system'. where In we20 of ECC6.0 , I have MATMAS04 and MATMAS05. In both cases I am getting error 'This idoc is permitted for XI logical system'.
At the same one bp document od MDM , message type MATMDM is given, but i dont see that in ECC6.0.
Pl can anyone suugest on this.
thanks,
SharadaHi Sharada,
i think there is some problem in your RFC destination settings,tats why the error is coming.
I am trying to get the exact solution for your error,meanwhile you can check your configuration settings.
I will outline the ALE Settings .
1 WE21 : Set up the port in IDOC Processing
2 SM59 : Set the RFC Destination to XI and check it.
3 WE20 : Create a partner profile with Partner Type LS (Logical System) for XI
Include the message types : DEBMDM, MATMAS, MDMRECEIPT
4 BD64 : Create a Distribution model with Sender as SAP and receiver as XI.
Include the message type DEBMDM,MDMRECEIPT,MATMAS,/SAPSSLL/MATMAS_SLL
5 Generate partner profile. This will generate it in the receiving system.
Following transactions are useful for trouble shooting any idoc issues
WE02, WE20 ,BD87,SMQ2,SMQ3 and SALE->System Monitor->trfc check
Hope it will solve your problem.
<b>Please remark iof it really helped you :-)</b>
Thanks,
shiv prashant dixit -
How to create MRP for material?
Hello guys ,
I want to create the MRP for my FTRM material?
Thanks in advance.Hi,
This is purely PP Configurations, Pls refer below link
http://www.sap-img.com/sap-pp.htm
http://www.sap-basis-abap.com/sappp01.htm
Regards,
Sankaran -
Create view for Material using BAPI_MATERIAL_SAVEDATA
Hello. I need create Accounting View(1&2) and Costing View(1&2) using FM BAPI_MATERIAL_SAVEDATA, but i don't now who importing values are required for this...
please HELP!!!!Hi,
Check this link.
http://sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm
Thanks,
Anitha -
Create transfer order for material document - 4.6C system
Hi Gurus
Can any one provide me the function module or BAPI to create transfer for material document in 4.6c system. I have to give input as supply storage type and bin and destination storage type and bin while execting the function module.
Thank you in advance
Regards
SarathSarath,
Thanks for responding, I finally found my answere via Thread: create transfer order for material document - 4.6C system
Thanks again. -
Hi, all
How can we link respective doc,s to Bom Header and Bom item?
I treid to attach some doc,s to above object,s the system messge is like, "this transaction is not support for this activity".
rgds
benHi,
A]The uses of T code CS01: Create Material Bom and CS02 :Change Material BOM .
Hope you have created the Material BOM.
1) Link it to DIR using the Object link.
Use T Code DC10, Select the DIR ,and enter in to define object links, new entries, select object as STOP_DOC.
2) Create DIR, select the object link tab enter the BOM which already been created. Hope this will solve your query.
B]Go to dms,
1)Dc10, do the object linking for material/ BOM.
whatever document you have selected for object linking attach the file to it.
2)Go to cs01n, give your material name, enter.
once you, inside the bom, select document tab, enter your document type and number and save it.
3)This way that document is link to that bom. and whatever the file is there inside document, you casn see it. just click it.
Note; If T Code CS01 & CS02 does not exit the & gives error message then contact your basis to activate.
thanks,
BEN -
Dear All,
I want to create 2 material bom. please see the below details
i have 1 raw material sheet for example 6 mtr metal sheet
i want to produce 2 part from 6 mtr metal sheet that is one material is 3 mtr & seconde is 2 mtr & remaing 1 mtr is my scrap
can you guide me, how to create two diffrence material bom in one bom
so i can understand that 1 raw material = 2 diffrent product + scrap
-SKPCreate a material code for raw "6 mtr metal sheet"with material type ROH
Create a material code for "2 mtr" with material type Halb
Create a material code for "3 mtr" with material type FERT
Create a material code for "scrap" with material type HALB
Create a BOM
Header material "3 mtr"
Component
1) "2 mtr" in -ve quantity
2) 6 mtr metal sheet with + ve quantity
3) "scrap" in -ve qty
Maintain UOM as Meter or KG as per your requirement
When You confirm and Production, Do the GI and GR
While goods movemnt
system will do the GR " 3 meter" with movement type 101
system will receipt the 2 mtr & scrap with movement type 531
system will do the GI ' 6 mtr metal sheet" with movement type 261
Regards,
Sundaresan -
BDC - MM02 _long text for material PO upload
Hi experts,
I want to upload Long text for material PO in MM02 (Purchase order text view)
throuh BDC upload. I have successfully done recording for this transaction. But in the recording it show no table field for that particular long text.
Pls help me to do this issue.
Thanks.Hi
See the sample program for this and modify as per your requirement.
REPORT zmm_longtext
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab1 OCCURS 0,
matnr LIKE mara-matnr, " Material
text1 LIKE tline-tdline, " Long Text
END OF itab1.
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr, " Material
text LIKE tline-tdline, " Long Text
END OF itab.
To create Long Text lines for CREATE_TEXT function module
DATA:BEGIN OF dt_lines OCCURS 0.
INCLUDE STRUCTURE tline. " Long Text
DATA:END OF dt_lines.
Variable declarations for CREATE_TEXT function module
DATA : dl_name TYPE thead-tdname, " Object Name
dl_lan TYPE thead-tdspras, " Language
gv_matnr TYPE matnr.
Constants
CONSTANTS:
Object ID for Long Text of Material Basic Data 1
c_best TYPE thead-tdid VALUE 'GRUN',
c_material TYPE thead-tdobject VALUE 'MATERIAL'. " Object
Parameters
PARAMETERS p_file LIKE rlgrap-filename.
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start Of Selection
START-OF-SELECTION.
*To Upload Flat file
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = itab1
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
SORT itab1 BY matnr.
LOOP AT itab1.
CLEAR gv_matnr.
SELECT SINGLE matnr INTO gv_matnr
FROM mara WHERE bismt = itab1-matnr.
IF itab1-text1 NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text1.
APPEND itab.
ENDIF.
CLEAR itab.
ENDLOOP.
DELETE itab WHERE matnr EQ ' '.
Upload the Texts
SORT itab BY matnr.
LOOP AT itab.
dt_lines-tdformat = 'ST'.
dt_lines-tdline = itab-text.
APPEND dt_lines.
dl_lan = sy-langu.
dl_name = itab-matnr.
Call the Function Module to Create Text
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = c_best
flanguage = dl_lan
fname = dl_name
fobject = c_material
save_direct = 'X'
fformat = '*'
TABLES
flines = dt_lines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE:/ 'Long Text Creation failed for Material'(001),
itab-matnr.
ELSE.
WRITE:/ 'Long Text Created Successfully for Material'(002),
itab-matnr.
ENDIF.
AT END OF matnr.
REFRESH dt_lines.
ENDAT.
ENDLOOP.
<b>Reward points for useful Answers</b>
Regards
Anji -
End valid to data of material BOM
In the moment that you create a new material BOM using transaction CS01,
have you any chance to introduce a date in the field " Valid to" ?
Regards, Josu.Dear Josu,
1.While creating the BOM,you can give a valid From date(A Future Date).
2.The systems defaulty sets the valid to date as 31.12.9999.
3.This can not be changed,or can be modified unless you use ECN.
Regards
Mangal
Maybe you are looking for
-
HOWTOs to setup VoIP don't work on my N81
Hello, I have a Nokia N81 and I want to setup SIP on it, using my VoipBuster account. I've successfully configured this account a thousand times on different systems, but it seems impossible to get it to work with my Nokia phone, even after following
-
How to enable the S-Video port on a Satelite M30X-154?
Hey does any one know how to enable the S-Video port on a Satellite SM30X-154 laptop? If I press the FN+5 keys the only options I get is LCD and no S-VHS option. My TV is set up for it as I watch DVD's through the cable. When I connect the cable to t
-
Issue with scanners beeping on over picking material code
Hi , I have an issue with scanner beeping.User is working is Z tcode . The followings are related steps. (1)If the user does over-picking the material code , an "information" window like below is displayed, however, no beep sound is produced. Informa
-
Calling 'start' from a pl/sql block or function
hi all, i want to start a script from a Procedure, but using start is invalid, so i think the command 'start' is SQL*PLUS-Command. When i run the following code: declare stmt varchar2(200); begin stmt := 'start C:\null.sql'; execute immediate stmt; e
-
How to write two triggers on same table how it works?
Hello sir.. I have to write two triggers on same table for auditing different columns of different pages (may be different modules). I will have an audit table in which i will insert data such as (user_id,module_id,column_name,old_col_val,new_col_ va