BOM Explosion not happening in RFC call...

Hi All,
We are facing a strange issue in our project. We are using a RFC call for order creation. When we execute the FM through SE71 using a BOM material, the BOM gets exploded correctly. However, if the same material is passed through the RFC call, it is not getting exploded.
The BAPI used for order creation is BAPI_SALESORDER_CREATEFROMDAT2.
If any of you have encountered such an issue and know any resolution, please let me know at the earliest.
Thanks in advance.

Make sure that you are converting to the internal format when calling via RFC.  Meaning, that you need to have leading zeros for things like sales document numbers.  So if your sales documennt number is 12345, make sure that you are passing it to the RFC call, like 0000012345.
Regards,
Rich Heilman

Similar Messages

  • MRP RUN- KIT BOM explosion not working

    We setup one layer BOM’s for our maintenance KITs as parent material and components as child material.  For  example KIT is TS10000-K1 and components are TS10001, TS10002 etc setup as next layer with in the BOM. Both KITS and components are defined as material types ERSA (Spare parts). These one layers BOMs are setup as production BOMs and expected to create purchase requisitions for KITS and components by exploding BOMs during MRP runs. We use purchase requisitions and convert them into POs to procure both KITS and components. We DO NOT USE Panned orders and Production orders. 
    The safety stocks / reorder point are considered as demand for KITS and components as we do not have any external demand for KITS and components.  
    MRP run is creating purchase requisitions automatically for both KITS and components as per safety stocks and reorder point defined in MRP Views of Material Master. This is working as expected.  
    The issue is: KIT BOM’s are not exploding to generate purchase requisitions for the dependent components of KIT BOM. Please suggest the way to resolve this issue. 
    Split valuation: Also we plan to use split valued KITS with both new and refurbished. So we need BOM explosion for split valued KITS
    also (after the 1st issue is resolved).   
    I verified the following items to make sure the required configuration and data setup is defined correctly.
    1) Planning file activated Plant - OMDU 
    2) Executed MRP run with Total Planning - MDBT and MD02 (single item, multiple levels)
    3) BOM explosion for MRP activated- OS23 
    4) MRP type in MRP1 view- PD and VB (I tried both separately but BOM is not exploding).
    5) Procurement type “F” (MRP 2 view) and lot size “EX”  
    6) Planning strategy in MRP 3 view (tested w/o planning strategy and with strategies 10 and 40. But BOM is not exploded)
    7) BOM status and usage (status is active and usage is for production-CS02 and OS20)  
    8) BOM Validity date (Valid) 
    9) BOM structure in CS12 (BOM is exploding in CS11) 
    10) Availability check  
    11) Selection of BON ID to have BOM usage indicator assign (OS31).
    12) No alternate BOMs or production versions or work scheduling view are used.
    Please review the above 2 issues and suggest any workable solution. Thanks in advance!
    NOTE: I extensively used MRP with multi-level BOM explosion in my earlier projects without any issue. However the above issue is a  bit strange  why one layer BOM is not exploded in this case. 
    Regards
    Srini  

    Hi
    Thanks for your response. I reviewed all SAP notes and none of them are applicable to my scenario.
    1808396 - BOM changes not considered by MRP: I have not changed BOMs.
    1781324 - MD11: Valid BOM alternative is not found. We do not have alternative BOMs.
    1791009 - No BOM explosion after changing production version: We am not using production versions.
    Our Material KITS are PM spare assemblies set up as BOMs and consists of individual spare parts as components. We are creating purchase requisitions and not planned orders. We are not using PP functionality/Production orders.
    MRP is generating purchase requisitions for KITS and components as per ROP and safety stocks. In other words it is working as expected.  The issue is BOMs which are parent assemblies are not exploding to the next lower level components.
    Please note that I am not getting any error messages when MRP is executed.
    Regards
    Srini.

  • BOM explosion not done because there is no free item number anymore

    Hello,
    I have a problem with BOM explosion when creating a sales order.
    All the following actions are done with VA01 :
    -  I enter a material (main item 10) with a rejection reason, so the BOM explosion is not done :OK.
    - Then  I add the same material (main item 20) without rejection code, so the BOM explosion is done, it means sub items 21, 22., ...,31,32 are determined:OK
    - Finally, I remove the rejection code on item 10, the problem is that there is no place anymore to do the BOM explosion because I have 12 sub items (10 +12 = 22 and it is not possible as I have already an item 20).
    I have a popup with message V1-142 (There are not enough item numbers free for a structure explosion).
    I know that it is possible to change the increment with VOV8, but my customer want to keep this one: 10 by 10 for main item and 1 by 1 for sub item.
    He told me that he think that there is a user exit in order to put the remaining sub items at the end of the sales order like this
    10 main item A
    11 sub item 1 (A)
    12 sub item 2 (A)
    19 sub item 9 (A)
    20 second main item (B)
    21 sub item 1 (B)
    22 sub item 2 (B)
    32 sub item 12 (B)
    33 sub item 10 (A)
    34 sub item 11 (A)
    35 sub item 12 (A)
    Maybe it's a strange idea, but could you please tell me what are the different possibilities to manage sub items when there is no place to put them :
    - put a higher increment in VOV8? Ok but my customer don't agree
    - other solutions?
    Thanks.

    Hello,
    Did you ever find a solution for this? The notes mentioned in the earlier post dont appear to be relevent for 6.0.
    I have a similar issue when dealing with Cross Sell items. When it tries to insert the additional items I get the V1142 message, then the items are copied at the end of the list but the higher level item reference is incorrect for the cross sell items.
    I do not want to change the increments but it appears to be the only option.
    Any ideas are appreciated.

  • BOM Explosion not seen

    Dear Experts,
    My Equipment BOMs and FL BOMs are not seen in the structure view when gone through IH01 (All relevant check boxes ticked in)
    Whereas, these are visible when I go through IL03 --> Structure.
    May kindly share the knowledge to troubleshoot.
    Regards
    Jogeswara Rao

    Dear Friends,
    I have found the problem.
    This is happening because the date value in the Valid From field of IH01 is 31.12.9999.
    This I have set to Dynamic Date Calculation with Current Date Name of variable. (In the Variant Configuration)
    Now the current date is defaulted in this field and the BOMs are appearing.
    Regards
    Jogeswara Rao

  • BOM explosion not done for externally procured item.

    Hi Experts,
    We have done MRP run for finish goods which is creating planned orders for HALB material, but it is not further exploding the BOM of HALB material, so  we are not getting any planned order/pur requisition for ROH. Plz help me out asap.

    Hi,
    When you run MRP for an externally procured item say - HALB , proposals will be generated say-planned order for ext proc for that item and the BOM will not be exploded further.

  • Mail - Not working in RFC call

    Hi,
    I  have custom IDoc sending from one box to another , Say for example A to B. My problem is if any error found in the data in box B while updating the application document. I am generating a mail using the following code in Box B
          v_length = strlen( v_string ).
          v_hlength = v_length. .
          send_request = cl_bcs=>create_persistent( ).
          try.
              document = cl_document_bcs=>create_document(
                                            i_type    = 'RAW'
                                            i_text = i_content[]
                                            i_subject = v_subject ).
              call method send_request->set_document( document ).
              sender = cl_sapuser_bcs=>create( v_sender ).
              call method send_request->set_sender
                exporting
                  i_sender = sender.
              loop at i_recipient.
                translate i_recipient-smtp_addr to lower case.
                recipient = cl_cam_address_bcs=>create_internet_address(
        i_recipient-smtp_addr ).
                call method send_request->add_recipient
                  exporting
                    i_recipient  = recipient
                    i_express    = ' '
                    i_copy       = ' '
                    i_blind_copy = ' '
                    i_no_forward = ' '.
              endloop.
              move : 'E' to v_request_status.
              v_status = v_request_status.
              call method send_request->set_status_attributes
                exporting
                  i_requested_status = v_request_status
                  i_status_mail      = v_status.
              send_request->set_send_immediately( 'X' ).
              send_request->send( ).
              commit work.
            catch cx_document_bcs into bcs_exception.
          endtry.
    But if sending the IDoc from A to B the mails are not generated ie not found in SOST . ( I checked the IDoc it showing as Error)
    But If i login in Box B and run the same IDoc in Box B thru WE19 and reprocess it generating the mails.
    Any info why ?

    Any info ?

  • BOM Explosion in CRM & ECC

    Does anyone know of a way to control Sales BOM explosion at the item category level in the middleware?  We have boms created in our ECC system for both standard and configurable materials.  For our standard materials I need the sales BOMs to explode on the CRM order (for ISA shopping basket purposes) and to prevent a duplicate explosion in the ECC backend I have parameter NOSTRUCTURE set to X in SMOFPARSFA.
    CRM does not support using configurable products as the header or component of sales boms so for these materials I do want the bom explosion to happen in ECC as the order flows from CRM to ECC.
    I've tried adding order types and item categories to the parameter names for NOSTRUCTURE but it didn't work.  OSS confirmed my findings that it would not work.

    Hi,
    I did work on single level BOM explosion in a couple of projects. As per SAP note 549341 - FAQ: BOMs in the sales order, it is very much possible to explode multi-level BOMs.
    Check this note and item category BOM explosion options.
    <b>Do not forget to reward if it helps,</b>
    Regards,
    Paul Kondaveeti

  • BOM Explosion in Shopping Basket for CRM B2C 6.0

    Hi Gurus,
    Can we have a BOM explosion in shopping basket . As per few links I explored BOM Concept is possible only in ECC and we can implement it is CRM based by some additional configurations .  (BOM in CRM) .
    We have configured component for products and XCM setting for BOM is also in place . But BOM explosion is happening only at Order confirmation level .
    Can anybody give some insights to get BOM explosion in Shopping Basket of CRM B2C 6.0 .
    Thanks and Regards,
    Tony Isaac

    Hi Rahul,
    Thanks for the reply.
    I could find the UI component setting : ui.fields.order.bomExplosion = Visible and I have already done this . Due to this I am able to see BOM explosion on Checkout Page / Order Confirmation Page .
    But  still I am not able to find ui.fields.order.subitemDetailview = Visible.
    Is that available only in R/3 version ?
    My problem is BOM explosion is not visible in Shopping basket .
    Regards,
    Tony Isaac.

  • RFC Call Missing

    I am a novice at this and would like to get some suggestions from the gurus in this forum. I am trying to integrate an RFC call CTS_API_CREATE_CHANGE_REQUEST. But I do not see this RFC call using SE37. So I have two basic questions.
    1) Is there a transaction that I can use to see a list of all RFC calls that are available in my R/3 system ?
    2) Do I have to do anything to enable RFC calls, to be invokable from outside the SAP system ?
    TIA
    Yogi.

    Ok, I am posting this for the benefit of everyone.
    I figured out a mechanism by which all RFC and BAPI calls within an R/3 system can be listed.
    1) Invoke Transaction SE37
    2) With the cursor on the 'Function Module' field press F4.
    3) In the popup that shows , press the 'Information System' button on the task bar at the bottom. Its the one with the 'Binocular' graphic.
    4) Another popup called "R/3 Repository Information System: Function Modules" opens up.
    5) The third icon from the right of the task bar at the bottom reads "All Selections". It is a white icon, with a green mark and a black down arrow. Click on that.
    6) You now get an advanced search screen with lots more options than the ones previously displayed.
    7) One of the radio's says "RFC modules", another checkbox says "Only modules for BAPI".
    8) Set whatever you are interested in and hit the "Check"
    Enjoy.
    Thanks,
    Yogi

  • RFC Call not returning in normal exec;retunrs in debugger

    Hi all
    i m sorry for posting it twice,due to my ignorance
    i first posted it in wrong forum
    i had a requirement to invoke a RFC Async and recieve the results in my program with a condition that the name and parameters of RFC are determined runtime.
    To meet this requirement, i generated a the RFC call and return form code dynamically and called that code from my program via a subroutine.
    The problem i am facing is that, whenever i execute my program in debug mode the RFCs are called and the parameters are returned( perform on end of task edition is used)
    via subroutine, but when i execute the code via F8 the program goes in indefinite wait for return parameters.I am calling 2-3 RFcs at same time, and all of them are on local host.
    the Functions are working well and the RFC destination is also working well.
    But this amalgum of my program and dynamic calls is not going through.
    I read in documentation that if we change the program context or the roll area then the results are not recieved by main program. by the way i am using WAIT to receive the results.
    For the moment if i consider, my program context or roll area is getting changed because of dynamic code generation then also the dynamically generated code is the one containing the RFC call and its revieve subroutine, therefore there shall be no problem with that, the other thought i am getting is that in debugger implict commit work happens, is the program working because of that in debugger?? i dont know....
    Can any one help me with this, in the above long paragraph if anyone gets confused..i can again try to restate my problem.
    One more thing..i have checked the ST22 and SM50 for any abnormalities, couold not find one.
    thanks in advance
    praveen

    WAIT statement also triggers a DB commit like debugger.
    Are you using WAIT UNTIL <condition>?
    Regards
    Sridhar

  • RFC BAPI for BOM explosion with parametric effectivity

    Hello,
    I'm searching for a RFC enabled BAPI for BOM explosion which allows to evaluate parametric effectivity.

    Hi you can also check CS_BOM_EXPLOSION_MAT
    If its not remote enabled, write a custom fm(Remote enabled) and wrap this Fm.

  • Program making a RFC call to Function Module not working in background

    Hi All,
    I have an ABAP Program which is used to do a reconciliation check between the R/3 and BI system for Invoice Data. Please find below the details of the program flow:
    1.     Program counts the number of records in the DSO table and aggregates the Net_Value based on the date range (passed as parameters)
    2.     Program calls a Function Module (RFC Call) which counts the number of records in the R/3 table and aggregates the Net_Value for the same date range
    3.     Function Module Passes back the count values and aggregated Net_Value to the program
    4.     Program compares the count and aggregated Net_Value from EDWH and MSP systems and sends an email mentioning whether the counts match or not
    However we are facing an issue.
    Whenever, we execute the program in dialog mode, it works fine and fetches results within 5-6 minutes. However if we schedule the program to run in background (parameters through a variant), it gives no results even after running for over 3-4 hours. We tried figuring it out yesterday but could not come to any conclusion. Since there is a RFC call being to the function module, we were wondering if we need to specify some other parameter as well.
    Thanks & Regards
    Dharmendra

    RFC Call is a procedure for executing remote enables function modules. It is done via the 'Remote Enabled' radio button on the function module's attribute screen.

  • RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA'

    Hi, All
    the system is PI 7.0 EHP1 oraclei Win2003 server, I configured SLD but I run RZ70, having error "RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA' ". I know there are lot of tread about this error, but none of themsolve my problem. all JCO, RFC connections and SDL DATA supplier(VA) seem OK. error message in SM21 is "Could not send SLD data"
    detail from SM21
    The system could not send the data that has been collected automatical
    for the System Landscape Directory (SLD). Check whether the gateway
    configured in transaction RZ70 has been started and whether the SLD
    bridge has been registered with this gateway.
    You can use transaction SM59 to check this in the sending system for t
    implemented RFC destinations. The RFC destinations have the standard
    names "SLD_UC" for Unicode sending systems and "SLD_NUC" for non-Unico
    sending systems. If a different RFC destination has been entered in
    RZ70, check this destination instead.
    You can use the Gateway Monitor to check the target gateways. In ABAP
    systems, this monitor is started with transaction SMGW, or you can use
    the external SAP program "gwmon". Check whether the specified gateway
    has an active registration.
    OF COURSE I checked  RFC of  SLD_UC and SMGW
    any different ideas
    Regards
    ABH

    Hi
    Please check the following notes are implemented
    Note 906454                           
    Note 907729
    You may be aware but if you are not --->RZ70 creates the required SLD* RFCs during runtime - therefore if you have defined these RFCs manually first using the same namespace you can get RFC conflicts which result in a failed submission    
    Please also check the user in the RFC is known to both systems and has required authorization to write to SLD
    Generally with SLD you have to install or select a suitable gateway to handle incoming data supply traffic
    Also the gateway you are using has be known to SLD and reflected in RZ70 - i.e these defintions have to be the same
    It is also recommended to delete all references to SLD_* RFCs in data supplier and target SLD
    after a failed submission attempt to allow RZ70 to recreate these consistently once the above has been checked
    Best wishes
    Stuart

  • Parallelization is not happening using asychnronous RFC in a function module

    A BW data source ZTEST
    has been created based on a function module ZTEST_FM to pull the
    data into BW system from R/3.
    (Have checked the parellel jobs running in SM66 transaction).
    Inside the function module, an RFC function
    module ZTEST_RFC1 has been called asynchronously to implement the parallelization
    to improve the data extraction time into BW system.
    Note: In this scenario asynchronous
    RFC is used to implement the parallel processing.
    The logic in the function module is as follows.
    Function module ZTEST_FM Logic:
    Fetch data from HRP1000 table into an internal table IT_HRP1000 for
    OTYPE = ‘TN’.
    Loop at IT_HRP1000 into work area (WA).
    Call the RFC asynchronously by passing OBJID,OTYPE and ENDDA,
    Calculate SOBID which is the required output field from the RFC
    function module.
    Populate the results into final internal table E_T_DATA.
    The output structure contains the following fields.
    OBJID
    BEGDA
    ENDDA
    SOBID
    Could you please give us some suggestions, to implement the parellel processing using asychronous RFC in this scenario.
    Would appreciate your help.

    Your RFC call looks correct. For collecting the result you will need to code the callback routine Write_E_T_data. Inside the callback you can use the statement
    RECEIVE RESULTS FROM FUNCTION ZFHLS_EX_TNM_ACADEMY_RFC1 IMPORTING <parameter list>
    to retrieve the calculated result. For the declaration of the callback routine I recommend
    FORM Write_E_T_data USING iv_name TYPE c.
    The parameter iv_name containing the name of the RFC task turned out to be mandatory in my tests.

  • RFC call do not return any value

    Hi All,
    I have an RFC written in one R/3 system(call center R/3) and i am calling this RFC in the ERP system.
    If i try to run the RFC locally in the call center system ,it runs correctly and returns me proper values.
    But when i try  to call it from other R/3 system(ERP) the RFC does not return value.(both cases i am passing same parameters).
    Also , RFC parameters are defined with pass by value option.
    I am not able to trace why this behaviour,can anyone pin point what could be the possible cause of error.
    Thanks in advance,
    Swati

    No ,there i snot RFC connection problem ,i have checked it from SM59.
    Neither do i get any dump or error of no authorization.In fact the sy-subrc after the RFC call is 0.
    St22 do not have any trace for the same.
    my RCC call is something like this,
    IF dest <> ' '.
    CALL FUNCTION 'Z_GET_CIC061' DESTINATION dest
                      EXPORTING
                           p_comp        = itab_cic-company
                           p_asc_code    = itab_cic-customer
                           p_wbill_no    = itab_cic-bill_no
                      IMPORTING
                           e_tr_no       = tr_no
                           e_model_code  = model_code
                           e_data_origin = data_origin
                     EXCEPTIONS
                             communication_failure = 1
                             system_failure        = 2.
    ELSE.
                MESSAGE i000 WITH 'RFC Destination is empty!'.
                EXIT.
              ENDIF.
    Can anyone please suggest whats wrong in the above code.
    Also what is transaction RFC call?is it related to what i am using in the above code of mine.
    Thanks in advance,
    Swati

Maybe you are looking for

  • 10.1.0.3 HTML DB Install problems during DB connection on RH Linux

    I'm trying to install 10.1.0.3 HTML DB that connects to a 10.1.0.2 DB. The 'HTML DB Configuration Assistant' but I continually get the following errors in the log. I think it has to do with one or both of the following 1. The PORT is listed as 1522 a

  • Setting of Deletion Indicator in purchase order

    Dear friends, Plz tell me how to set the deletion indicator in a purchase order. thks

  • FM for get Material Inspection setup data

    Hi ALL I'm looking for a Function Module or Method that we can get Material Inspection setup data. ( QMAT data ) Please let me know if you know that. Regards Rie

  • No Adobe Flash Player Alternative?

    I love to play games like Monster Busters and Candy Crush Soda on Facebook while on my phone. I just bought this Nokia Lumia 530 and have now realized it doesn't use Adobe Flash. Is there any way around this,or an alternative altogether? I miss my ga

  • Problems shutting down after installing 10.5.3 update?

    Has anyone had any problems shutting down there IMac's after installing 10.5.3 update? I've tried shutting down twice and the image that appears when shutting down seems to go in an endless loop an doesn't shut down.