ALE Distribution of Alternative BOM
Does any one know is there a way to distribute alternative BOM between SAP R/3 system ?
Any input will be appreciated.
Hello Ted,
First of all for this you need to set up an ALE connection between the two concerned R/3 systems. Assign any or all of the following message types according to your requirement:
Message Type Description
BOMDOC BOMs: Document structure
BOMMAT BOMs: Material BOM
BOMORD BOMs: sales order BOM
I think BOMMAT is the one you are concerned about.
Once this is done then you can activate change pointers for BOMMAT through transaction BD50. After this create a variant for this message type in report RBDMIDOC. And then you need to schedule a periodic job for the report and the variant. This job will only distribute the changes that have been made between two consecutive runs of the job.
However you may check with your basis team if a job is already running for this report. Then they need to modify that job by adding a step for this new variant.
For manual distribution you can make use of POIM.
Please let me know if this solution helped you out and award points according to help it did.
With Regards.
Ruchit
Similar Messages
-
ALE Distribution for alternate BOM environment
Currently the ALE framework does not support distribution of alternate BOMS between SAP r/3 systems. Does anyone know if there is a workaround for this issue?
Please provide any input.
Thanks.Hi Stacey,
Have you looked this program <b>RBDSEBOM</b> or t/code <b>BD30</b> for alternate BOM distribution?
Hope this will help.
Regards,
Ferry Lianto -
Critical Issue: Availabilty check & alternative BOM selction issue
During the upgradation project I'm working facing the following critical issues:
1)While creating the sales order, system carries out the availability check in APO.In material master checking group Z5 is defined.
Actually I want to know hw the system carries out the search in APO & what are the settings in R/3 or APO we have to make?
2)Suppose there are 3 alternative BOM's of a finished product.A requirement is while creating the sales order availabilty check should be carried out & system should check the availability of components on the required date.If the component is not avalable system should go & check the second alternative...third alternative until it gets the confirmation of component availability.
How we can set this functionality & what are the prerequisites or customisation settings we needs to make?
Would appreciate providing your inputs on this critical issue.
Thanks,
Nilesh<b></b>Before you understand how the APO Availability Checking concept works, I would suggest you understand about the regular R3 availability checking. As this is the core for the SD and APO GATP. Refer help.sap.com
Question 1:
<b>Settings in R3:</b> You have the ATP integration model in CFM1 transaction. You need to activate this just one time and never again. what this does is basically transfer all your availability checking customizing to APO.
All the settings for the Availability Checking group ( Z5, etc) are already maintained in R3 and they get transferred to APO by the integration model. You donot need to anything else.
<b>Settings in APO:</b>
If you are using <b>Product Allocation Concept</b>, You have to maintain the Check Instructions.... Otherwise there are no other settings in APO
<b>Availability Check in APO :</b>
( see the following blog for the requirements class( Name in R3) or check mode( Name in APO) determination http://solution-timezone-issue.blogspot.com/ )
The check mode and the business event( These are hardcode internally in R3 - For SD- A) are determined from the order and based on this in APO it follows the following order
(1) Reads the check instructions settings in APO
For example say the following have been determined from the SD Order : Check Mode 041 and Business Event A
Say we have maintained in APO that the first step is Availability Check and all the other two steps we havent maintained or left blank ( Product Allocation and Forecast)
Look for the customizing in APO
SPRO>APO>GATP>General Settings>Maintain Check Instructions ****
(2) Carries out availability Checking same as in R3 and no different
From the masterial master considers the availability checking group ( Ex: Z1) and the business event( SD transactions- A)
Very Important and the core of availability checking which is similar in R3 and APO***
Against these 2 combinations, the settings are checked which define what stock and in/outward movements are to be considered during the availability check
For customzing settings in APO
SPRO>APO>GATP>Maintain Check Control>
For Customizing in R3
SPRO>Sales and Distribution>Basic Functions>Availability Check and transfer of requirements>Availability check with ATP logic or planning>Carry out control for availability check
This is the answer to your first question.
Your second question would need some time and I will try to answer it as well.
Hope this helps you.. -
Choose alternative BOM in batch input
Hi!
I'm starting using BOM alternative and I'm facing a problem. I have a batch input where I need to choose an alternative BOM, but the popup for choosing the alternative doesn't show up when in batch input mode.
Does anybody have a clue?
Regards.
Fabio ScaravelliTAJUDDIN,
I think this thread is SD, because the transaction is VA01 (I forgot to mention it, sorry). The BOM usage is 5 (Sales and distribution).
I need to choose an alternative BOM among two ones. But when VA01 is ran in batch input mode, the popup for choosing the alternative doesn't show up and the first alternative is selected by default.
Regards.
Fabio Scaravelli -
Hi all,
can anybody tell me what is ALE Distribution Lock ...
regards
sreedhar rusumaHere is the documentation for ALE distribution lock
You determine whether you want an object, for example, a document, to be distributed via ALE into other systems by setting the status, for example, document status.
The indicator Distribution lock prevents an object, for example, a document, from being transported into an ALE system.
A change pointer is always set for the distribution lock during distribution even when sending within the ID PDM Solution. The system automatically creates a change indicator and a Master IDoc for distribution when you change a distribution relevant field, for example, status, for a message type, such as DOCMAS for documents.
It is possible to ignore the distribution lock when you send objects manually. In this case, the entire object is transported into the ALE system according to the distribution model.
Manual distribution is only of importance for change master records within the ID PDM system.
See also:
Change Master Record : IDoc Type ECMMAS01
Objects
You can control the ALE distribution for the following objects within ID PDM via the status:
Material
Characteristic
Class
BOM (material BOM, document structure)
Document
Object dependencies
Change master record
Activities
You can process the status for the desired objects.
1. Select in Customizing Cross Applications Components --> Distribution (ALE) -->Standard ALE Business Processes --> Logistics --> Master Data Distribution --> Integrated Distributed PDM Solution (ID PDM) --> Object status (for example, Define BOM status).
2. Process the indicator Distribution lock -
How to send the spool output to the specific user during ALE distribution
Hi All
In ALE internal order Configuration done by BAPI Method SAVEREPLICA Business object BUS2075whenever user changed the internal order which is moved to the destination system because of change data setting in data element fields.
I want to know how to send the spool output of the changed internal order to the specific user during ALE distribution.
Please help me to reslove the above issue
Thanks & Regards
KRISHGUNASolved by myself
-
Reg: Creation of BOM along with Alternative BOM
Hi Experts,
I have written the below code for creating BOM along with Alternative BOM, I'm getting the following error.
W BAPI1080 028
Error/warning when checking the structure of the BOM group with ID=
A BAPI1080 002
Basic data for (BOM) group available twice
A BAPI 001
No instance of object type BOMGroup has been created. External reference:
W BAPI1080 028
Error/warning when checking the structure of the BOM group with ID=
A BAPI1080 002
Basic data for (BOM) group available twice
A BAPI 001
No instance of object type BOMGroup has been created. External reference:
Please find the piece of code below.
SORT it_bom01 BY matnr idnrk posnr ASCENDING.
LOOP AT it_bom01 INTO wa_bom01.
AT NEW matnr.
CLEAR:
it_bomgroup[],
wa_bomgroup,
it_variants[],
wa_variants,
it_items[],
wa_items,
it_matrel[],
wa_matrel,
it_itemas[],
wa_itemas,
it_return.
ENDAT.
* Material BoM Group Header Data
wa_bomgroup-bom_group_identification = 'IDENTIFICATION'.
wa_bomgroup-object_type = 'BGR'.
wa_bomgroup-object_id = 'ID'.
wa_bomgroup-bom_usage = wa_bom01-stlan.
wa_bomgroup-ltxt_lang = sy-langu.
wa_bomgroup-technical_type = ' '.
* wa_bomgroup-bom_text = .
wa_bomgroup-created_in_plant = wa_bom01-werks.
APPEND wa_bomgroup TO it_bomgroup.
* Header Details of the different variants
wa_variants-bom_group_identification = 'IDENTIFICATION'.
wa_variants-object_type = 'BOM'.
wa_variants-object_id = 'ID'.
wa_variants-alternative_bom = wa_bom01-stlal.
wa_variants-bom_status = wa_bom01-stlst.
wa_variants-base_qty = wa_bom01-bmeng.
wa_variants-valid_from_date = wa_bom01-datuv.
wa_variants-alt_text = wa_bom01-alt_text.
wa_variants-function = 'NEW'.
APPEND wa_variants TO it_variants.
* Details of the items of the variants
wa_items-bom_group_identification = 'IDENTIFICATION'.
wa_items-object_type = 'ITM'.
wa_items-object_id = 'ID'.
wa_items-item_no = wa_bom01-posnr.
wa_items-item_cat = wa_bom01-postp.
wa_items-component = wa_bom01-idnrk.
wa_items-comp_qty = wa_bom01-menge.
wa_items-valid_from_date = wa_bom01-datuv.
APPEND wa_items TO it_items.
* Details of the materials of the different variants
CLEAR it_matrel.
wa_matrel-bom_group_identification = 'IDENTIFICATION'.
wa_matrel-material = wa_bom01-matnr.
wa_matrel-plant = wa_bom01-werks.
wa_matrel-bom_usage = wa_bom01-stlan.
wa_matrel-alternative_bom = wa_bom01-stlal.
APPEND wa_matrel TO it_matrel.
* Linking items to the corresponding variants
CLEAR it_itemas.
wa_itemas-bom_group_identification = 'IDENTIFICATION'.
wa_itemas-sub_object_type = 'ITM'.
wa_itemas-sub_object_id = 'ID'.
wa_itemas-super_object_type = 'BOM'.
wa_itemas-super_object_id = wa_bom01-matnr.
wa_itemas-valid_from_date = wa_bom01-datuv.
wa_itemas-function = 'NEW'.
APPEND wa_itemas TO it_itemas.
AT END OF matnr.
CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
EXPORTING
all_error = 'X'
TABLES
bomgroup = it_bomgroup
variants = it_variants
items = it_items
materialrelations = it_matrel
itemassignments = it_itemas
return = it_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
LOOP AT it_return.
WRITE:/ it_return-type, it_return-id, it_return-number,
it_return-message.
ENDLOOP.
ENDAT.
ENDLOOP.
Thanks and Regards,
Abdur RafiqueHi Sree,
I used your code, I removed the levels because, i have only one level 'the lineitems'. Please find the modified code below. I'm not able to create the BOM, it throws an error as "BOM is recursive". I checked the header and item contents before passing to FM, it is correct.
Please help me with the solution.
REPORT zbom_sdn.
TYPE-POOLS: truxs.
DATA: bom_header LIKE cad_bicsk,
bom_item TYPE TABLE OF cad_bom_item WITH HEADER LINE,
bom_sub_item TYPE TABLE OF cssubitem WITH HEADER LINE,
dms_class_data TYPE TABLE OF cls_charac WITH HEADER LINE,
sap_field_data TYPE TABLE OF rfcdmsdata WITH HEADER LINE,
e_return LIKE cad_return-value,
e_message LIKE message-msgtx,
e_message_len LIKE cad_return-message_len.
DATA v_item TYPE i.
TYPES : BEGIN OF ty_data,
matnr TYPE cad_bicsk-matnr," Material
werks TYPE csap_mbom-werks," Plant
stlan TYPE csap_mbom-stlan," BOM Usage
datuv TYPE csap_mbom-datuv," Valid From
* posnr TYPE stpo_api03-item_no," Item Number
idnrk TYPE stpo_api03-component," BOM Component
postp TYPE stpo_api03-item_categ," Item category
menge TYPE cad_bom_item-menge," Quantity
bmeng TYPE stko_api01-base_quan," Base Qty
stlst TYPE stko_api01-bom_status," BOM Status
stlal TYPE csap_mbom-stlal," Alternative BOM
alt_text TYPE stko_api01-alt_text," Alternative BOM text
END OF ty_data.
DATA : it_data TYPE TABLE OF ty_data ,
wa_data TYPE ty_data.
DATA: wa_raw TYPE truxs_t_text_data.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
PARAMETER : p_file TYPE rlgrap-filename OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
program_name = syst-repid
dynpro_number = syst-dynnr
CHANGING
file_name = p_file.
START-OF-SELECTION.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
* I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = wa_raw " Work Table
i_filename = p_file
TABLES
i_tab_converted_data = it_data[] " Actual Table
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.
CLEAR: bom_header, bom_item, bom_sub_item.
REFRESH: bom_item, bom_sub_item.
DATA : v_lineitem TYPE sposn VALUE '0000',
v_slineitem TYPE sposn VALUE '0'.
LOOP AT it_data INTO wa_data.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_data-matnr
IMPORTING
output = wa_data-matnr.
* fill BOM header
CLEAR bom_header.
bom_header-matnr = wa_data-matnr. "'000000000200000016'.
bom_header-stlal = wa_data-stlal. " Alternative Bom
bom_header-werks = wa_data-werks. "'1000'.
bom_header-stlan = wa_data-stlan. "'3'.
bom_header-bmeng = wa_data-bmeng.
bom_header-cadkz = 'X'.
bom_header-stktx = wa_data-alt_text.
* bom_header-ztext = wa_data-text.
bom_header-datuv = wa_data-datuv."'01.10.2010'.
* fill item
v_lineitem = v_lineitem + 10.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_lineitem
IMPORTING
output = v_lineitem.
* bom_item-upskz = 'X'. " If We hav the Sub items Enable it.
bom_item-idnrk = wa_data-matnr. "'000000000200000017'.
bom_item-posnr = v_lineitem.
bom_item-postp = wa_data-postp."'L'.
bom_item-menge = wa_data-menge. "'1'.
* bom_item-fmeng = wa_data-fqty.
APPEND bom_item.
CLEAR: bom_item.
AT END OF matnr.
CALL FUNCTION 'CAD_CREATE_BOM_WITH_SUB_ITEMS'
EXPORTING
i_bom_header = bom_header
i_auto_posnr = ''
IMPORTING
e_return = e_return
e_message = e_message
e_message_len = e_message_len
e_bom_header = bom_header
TABLES
bom_item = bom_item
bom_sub_item = bom_sub_item
dms_class_data = dms_class_data
sap_field_data = sap_field_data
EXCEPTIONS
OTHERS = 1.
REFRESH bom_item.
WRITE : e_message.
ENDAT.
CLEAR wa_data.
ENDLOOP.
Thanks and Regards,
Abdur Rafique -
ALE distribution model - one message type to more than one recipient
Hello colleagues,
currently I'm working on an integration project between one SAP system and an e-shop system. The communication is established through IDOCs ( both inbound and outbound ). There is another system ( POS ) which is already integrated
with SAP via IDOCs also.
Now I'm facing the following problem regarding distribution of transactional IDOCs ( orders, deliveries, etc. ): when assigning one message type ( for example DESADV - Delivery: Shipping notification ) to more than one external system in ALE distribution model I receive a message alerting that one message type can be send to only one recipient.
The distribution model is as follows:
Model Views
SAP to POS
SAPDEV ( the SAP system )
POS ( the external POS system )
DESADV
SAP to E-SHOP
SAPDEV ( the SAP system )
E-SHOP ( the external e-shop system )
DESADV
Well, the system message is clear and I did the obvious: create a complete copy to the original message type and than assign it to the E-SHOP system ( the original message type is already used in integration between SAP and POS ).
As you can see I have found a workaround already but I think that it comes natural to SAP to communicate with other systems and to exchange same kind of documents to those systems and I can't believe that there isn't a standard solution for situation like this.
FYI I'm working on SAP ECC 6.0
Thanks in advance.
Wish you nice day and successful week ,
VladimirI believe when ePrint server has received the email, it made the necessary settings and configured the job for printing and then it went for "Reply All" option. So here it cannot send the print job to your personal email ID and the error came up.
The only option I can think of is add the printer email ID to your email contact list and give it a name like MyPrinter so you can remember easily , just like email contacts are added in Outlook.
Mark this post as answered so that others can find it useful.
Say "Thanks" by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution" -
Hi,
I've created an ALE distribution model to process the interface concerning Set Up HR and Accounting. Initialy we make it all and distribute it to the receiving system (FI) and it seems to be ok. After that the funcional team generate some movements and the IDOC's were generated but they were not sent to the FI system. We've a look at tRFC and an error concerning user or password invalid appears, so i define again the user comunication and after a few adjustments to the model view we distribute it again to the FI system. When i execute it the following message appears : <b>Model view HRFI-CFP has not been updated / Rreason: Distribution model is currently being processed.
</b>
Next step we delete the model view and created it again but the same error still remains.
Can anyone help me ???
Thanks is advance.
JMMatosHi
Distribution Model A model that describes the ALE message flow between logical systems.
Applications and the ALE distribution service layer use the model to determine receivers and to control the data distribution. The relationships between logical systems, message types, BAPIs and filters are defined in the distribution model.
Ex: The screen shot depicts customer distribution mode ALE_TRNG_Mar07.
Sender Logical System EC1CLNT800
Receiver Logical System SALES
Message Type CREMAS
No filter conditions defined.
This configuration step allows the installation of core ALE features on which data transfer activity will be based.
In the distribution model you can specify the messages to be sent to a given logical system. You can also define the conditions for the content and dispatch of messages in the filters.
The distribution model consists of one or more views that you can define
After creating the distribution model the model needs to be distributed to the receiver system.
Partner profiles need to be generated in both sender and receiver systems using transaction BD82 (automatically) or WE20 (manually). -
Query related to filter group on matnr created in ALE distribution model
Hi All,
I have query related to filter group on matnr created in ALE distribution model.
I have created a filter group on matnr in ALE distribution model and put the value E* ( purpose is that all the material number started with E should be triggered in case of any changes in the material).But it is not working.
<b>Can anybody suggest the solution for this i.e how to capture E* value for the material master changes and should trigger idoc using change pointer using BD21.</b>
Thanks & Regards
PrabhatUnfortunately, you cannot filter using wildcards or exclusions. You have to explicitly list each allowed value in its entirety.
In my opinion, the simplest solution would be to copy function MASTERIDOC_CREATE_SMD_MATMAS, modify it to handle your custom filtering and update the message type entry in transaction BD60. -
T COde CS15 : Report is not showing the "Alternative BOM No" for some BOMs
Hello Guru,
I am facing a problem for the transaction CS15, when I use this transaction, in the output for some materials, system is not showing "Alternative number" of BOM.
I cheked Deletion indicator, status of the BOM, validity period etc.
But unable to get the reason why system is not showing alternative BOM number for the some materials / BOMs.
Thanks to give your expert comments or solution.
Thanks in advance
HemantHi Hemant,
please check in CS02 if those top level BOm's which dont show alternative BOm number in CS15, do they really have alternatives?
the most probale reaosn why alternative is not shown is they dont have any alternate BOM or they are variant BOMs.
please check. -
Error executing BAPI attached to ALE Distribution Model
Hi experts,
I am executing BAPI_EXCHANGERATE_SAVEREPLICA which has been included in an ALE distribution model as I wish to replicate exchange rates from my source client to a number of remote clients.
When I execute the BAPI I get an information message back in the bapi return code as follows "one table record planned for update". Does anyone know what this means? I would have expected idocs to have been created and sent across to the target clients and for the BAPI to have been executed in the target system but nothing has happened. I have released the method (BAPI) and tried various options on the partner profile but still get the same message returned when I call the BAPI.
Any help on executing this BAPI via ALE would be much appreciated.
Thanks
AdrianThis is information message that informs you that the selected row may be updated. Then when you call BAPI_TRANSACTION_COMMIT the rows will be updated.
-
File2idoc:Error in ALE distribution model for SendResponse
Hi,
I'm using XI to configure a file to idoc scenario.
Now in WE19 I could see relevant data,but in WE05 it showed the error status 51,and the detail message was "Error in ALE distribution model for SendResponse".
Do I have to create a distribution model in BD64?I did this ,but failed to create.hi,
i dont think distribution model is required for inbound case.
just check the below configuration.
File To IDOC - Part1 (SLD and Design):
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
File To IDOC - Part2 (Configuration):
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
File To IDOC - Part3 (Steps required in XI and R3):
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
chirag -
Message type US for ALE distribution
I want to create an outbound IDOC using ALE distribution.
I have to assign Partner type as 'US' - user. Can anyone give me some input. I got the error when trying to do the same
" No partner profiles (message control) maintained
Message no. B1127 Diagnosis No IDOC partner profiles have been created for the message control for
for application EF, condition key ZNBR and change message '' with
partner type 'LS' and partner role ' '.
Procedure Please create the partner profiles for the logical system that should
contain the IDOC. You can either generate them from the ALE model or
create them manually.
Step by step will be helpfull.
ThanksHi Preethi,
You can use this program <b>RBDCUS15</b> to generate outbound partner profile.
Also you use distribution model (t/code BD64) as well.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
Alternative BOM creation problem in CS01
Hi.
I have created a BOM with CS01 with list of components. Now i want to create an alternative BOM for the same FG.
When I am trying to create alternative BOM using CS01, I added the components, system is showing me in the header as Alternative BOM 2. But when i try to save this BOM system is giving me the error as "Alternative BOM cannot be created for this material".
Can you please help me how to create alternative BOM for this FG.
Regards,
PadmavathiDear Padma,
If my understanding is correct,if the check box for multiple BOM inactive is set in OS27 means,you will not be allowed to even
enter into the BOM item maintenance screen.
It seems the system is allowing you to enter the second alternative BOM,but at the time of save the system is blocking from
doing so.check what's the message and check whether by means of exit this check has been incorporated in the system.
Check and revert back.
Regards
Mangalraj.S
Maybe you are looking for
-
Can I use apple pay in the itunes store? it doesn't appear to be the case.
I'm trying to make a purchase on the iTunes store from my iphone 6 plus, iOS 8.1.3. I have Apple Pay set up on this phone and want to use that credit card/Apple Pay but the iTunes store doesn't seem to accept this as a payment method. Is this the c
-
I want to use my new netbook for my ipod charger and storage
How do I use my new netbook for my ipod charger and storage?
-
Java Version for Unity Connection 7.1
Hi, We have recently found that the latest Java Version 7 Update 11 when automatically updated on the users PC, the Unity Connection web page does not work when Media Master is used. The controls or menu does not respond. Windows 7 IE 9.08112.16421 J
-
Clearing G/L Subaccount Open Items?
When posting manual bank statements, the individual amounts on the statements do not clear against subaccount amounts. This is due in part because of batch processing of incoming and outgoing payments. Ie. Deposit 150 checks, total deposit $225,00
-
Insufficient VRAM for displaying presentation?
I have a MacPro Quad Core 3.O with 8GB of RAM and the ATI Radeon X1900 Graphics card with 512MB of VRAM, a 30 inch Cinema Display set at 2560x1600 and a secondary 23 inch Cinema display set at 1900x1200 I was trying the tip of the week for Keynote th