EDI - Material doc not created

Hello,
       Iam working with WMMBXY/WMMBID02 (WMMB)  to post a GR on receipt of an inbound IDOC.Iam able to post the GR but material document is not created.Iam posting against an inbound delivery created against a stock transfer order.In my case I need a material document to be created.Can any one help me out in this?
Thanks,
Larry

Hi,
I believe you are posting it using the FM L_IDOC_INPUT_WMMBXY thru we19(i sa ur earlier post)...
Could you pls check the following...
goto se37...display the FM...put a break point at line no - 414-427 (the FM MB_CREATE_GOODS_MOVEMENT is called here)....
goto we19...execute on foreground and check the return values after this function call...like sy-subrc...the i_emkpf to get the material doc no. etc...
hope this helps...
Thanks,
Renjith

Similar Messages

  • A/c doc not creating

    Hi
    user had created a PO and done the GR, But the relevant FI A/C documnent is not created, why is it so?
    NOTE-It is not a free goods and it is not GR non valuated.
    Appreciate your earliest reply
    Thanks
    Anand

    Hi,
    Please check your PO ,whether it is account assigned or not ..,
    if it is account assigned ,against account assignment if GR is non -valuated then system will not generate accounting document ...
    like K,A
    Thanks,
    MLM

  • BAPI_BILLINGDOC_CREATEMULTIPLE Billing Doc not created

    Hi All,
    I am trying to create billing document using “<b>BAPI_BILLINGDOC_CREATEMULTIPLE</b>”. Please check code below for my BAPI preparation. Problem is billing document not getting created, in return table message type ‘I’ Message ID ‘VF’  Number ‘044’ Message ‘<b>The item is not relevant for billin</b>g’ and “SUCCESS” table is blank. If I use same sales order via VF01, billing document does get created.
    I will commit once I get return ‘S’. But have you people come across such kind of message. Any ideas or sample code will be of much help. Thanks in advance.
    Regards,
    Tim
    GT_BILLINGDATAIN-SALESORG   = gs_vbak-vkorg.
    GT_BILLINGDATAIN-DISTR_CHAN = gs_vbak-vtweg.
    GT_BILLINGDATAIN-DIVISION   = gs_vbak-spart.
    GT_BILLINGDATAIN-DOC_TYPE   = GS_INIT_ITAB2-auart.
    GT_BILLINGDATAIN-ORDBILLTYP = p_fkart.
    GT_BILLINGDATAIN-SOLD_TO    = GS_INIT_ITAB2-kunnr.
    GT_BILLINGDATAIN-ITEM_CATEG = GS_INIT_ITAB2-pstyv.
    GT_BILLINGDATAIN-REQ_QTY    = GS_INIT_ITAB2-kwmeng.
    GT_BILLINGDATAIN-SALES_UNIT = gs_vbap-vrkme.
    GT_BILLINGDATAIN-CURRENCY   = gs_vbak-waerk.
    GT_BILLINGDATAIN-SHORT_TEXT = 'Test'.
    GT_BILLINGDATAIN-BILL_DATE  = GS_INIT_ITAB2-afdat.
    GT_BILLINGDATAIN-REF_DOC    = GS_INIT_ITAB2-VBELN.
    GT_BILLINGDATAIN-DOC_NUMBER = GS_INIT_ITAB2-VBELN.
    GT_BILLINGDATAIN-ITM_NUMBER = GS_INIT_ITAB2-POSNR.
    GT_BILLINGDATAIN-ITEM       = GS_INIT_ITAB2-POSNR.
    GT_BILLINGDATAIN-NO_MATMAST = co_x.
    GT_BILLINGDATAIN-COUNTRY    = 'AUS'.
    GT_BILLINGDATAIN-MATERIAL   = gl_matnr.
    GT_BILLINGDATAIN-TAXCL_1MAT = '1'.
    append GT_BILLINGDATAIN.
    Prepare for BAPI call
      CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
        EXPORTING
          CREATORDATAIN         = GS_CREATORDATAIN
        TESTRUN               = co_x
        POSTING               = co_x
        TABLES
          BILLINGDATAIN         = GT_BILLINGDATAIN
        CONDITIONDATAIN       = GT_CONDITIONDATAIN
        CCARDDATAIN           =
        TEXTDATAIN            =
        ERRORS                =
          RETURN                = GT_RETURN
          SUCCESS               = GT_SUCCESS.

    Dear,
    It seems that you missed the reference document category field which is called "REF_DOC_CA" in that BAPI function.
    And as you might know, the possible values are kept in the domain VBTYP (SD document category).
    Regards,
    Ki-Young
    Edited by: Ki-Young Bae on Oct 24, 2011 4:52 AM

  • Classic Po as follow on doc not created and could see Pr instead

    Hi All,
    Working with SRM 5.0 and ECC6.0 and Classic Scenario.
    When I create a SC and assign the vendor with a Back end Contract , the follow on Document created is a PR instead of the expected PO.I have set the PR/Po option in Define the Objects in the Back end system.
    System is picking the Condition type 01PB and could this be a reason?
    No errors are seen.
    Contract no can also be seen in the bbp_pd analysis.
    What else needs to be done to create a Po in the Backend against a Back end Contract.
    Thanks & Regards,
    Nagarajan

    we had also faced similar situation.
    One reason can be
    when SRM tries to create PO wrt contract it also checks
    whether it can create a PR if not able to create PO
    and it also checks whether the PR doc type is linked to the contract doc type
    so as a test
    create a PR doc type same as the PO doc type you have mentioned in attribute BSA
    and link this PR doc type to contract doc type in ECC
    BR
    Dinesh

  • Material Master not creating in E.C.C.6.0

    Hi All,
    At present we are working in Upgrade from 4.6c to E.C.C 6.0, we are facing a problem while creating a Material Master (T-Code: MM01), after entering all the required fields the system showing the message of “the field Brand is a required field; it does not contain an entry". The input parameters to create Material Master are:
    Industry Sector: Chemical Industry
    Material Type: Tagged Item (Copied from HALB-Semi finished Products)
    Organization Levels entered are: Plant, Storage Location, Sales Organization and Distribution Channel.
    Selected Views are:
    Basic Data-1
    Basic Data-2
    Sales Organization Data-1
    Sales Organization Data-2
    General/Plant Data
    Purchasing
    Purchase Order Text
    MRP-1
    MRP-2
    Ware House Management-1
    Ware House Management-2
    Accounting.
    Can any one suggest us in which View the Field Brand will come to enter the required field Brand to create the Material? When we executed the same T-Code with same Input Parameters in 4.6c the system is not asking the Field Brand as a required Field and creating the Material.

    The configuration setting is as under:
    IMG --> Logistic General --> Material Master --> Basic Settings --> Maintain Company Codes for Materials Management
    In 'Maintain Company Codes for Materials Management', Against Company Code, you require to maintain current year & month (If it is a new system / Client).
    This should sort your problem.
    Regards,
    Rajesh Banka

  • Material document not created for scrap

    Hi all,
               I am doing confirmation and goods  movement through Co11. When i enter more yield than planned and some scrap the goods movement are posted ,but there is no material document accounting for the scrap. Also after the final confirmation the order status is still PCNF. Please give your suggestions.
    Looks like I am missing some configuration,do let me know.
    Thank you all.

    1. The scarp qty that you enter here will not generate the material document.
    Reason:
    The scrap enter here proportiantely increases the consumption of the components but will not produce any FG or Byproduct for the materail.
    2. When should we use this .
    For scenarios like : If you are wokring in chemical industry when youproduct 10 litres of paint .25 litres of the material gets scrapped as residue and you just mix it to your sewage line : Here the FG paint whichere gets scraped is not accountedd as separate mateiral but we need to consume the component
    in such scenarios only the scrap should be entered in the co11
    3. Also if you need to catch the activity cost then this will be used
    thanks and regards
    i am also intresed to get different answer

  • A/c doc not created and error msg "Business Area Miss-Match Check input"

    Hi,
    After creation of new Plant and Business area create a invoice , But my accounting document does't created and error msg show "Business Area Miss-Match Please Check Your Input". plz suggest me.
    Regards,
    Sohail

    Dear Sohail Rahman,
    Looks like the Business area has not been properly assigned.
    Business area can be created for three combinations:
    1. Business area by sales area
    2. Business area by plant and division
    3. Business area by plant and item division
    In your case, check whether the business area is maintained for the combination of plant/division and plant/item division.
    Hope this helps
    Thanks
    Murtuza

  • ASCP Roll up materialized View not created

    Hi ,
    I applied ASCP RUP#38 8639586. A worker failed while creating materialized View.
    FAILED: file MSC_PHUB_CUSTOMERS_MV.xdf on worker 4 for product msc username APPS
    When i checked to the worker log it had following errors
    Exception occured ORA-04063: package body "APPS.MSC_PHUB_UTIL" has errors
    ORA-06512: at "APPS.AD_MV", line 124
    ORA-06512: at "APPS.AD_MV", line 258
    ORA-06512: at line 1
    java.sql.SQLException: ORA-04063: package body "APPS.MSC_PHUB_UTIL" has errors
    ORA-06512: at "APPS.AD_MV", line 124
    ORA-06512: at "APPS.AD_MV", line 258
    ORA-06512: at line 1
    can anyone help me solve this issue.
    Thanks
    H2B

    did you complied invalid objects..?
    need some help understanding the way materialized views are applied through
    Edited by: 3Amigos on Dec 16, 2010 2:53 AM

  • BAPI_BILLINGDOC_CREATEMULTIPLE condition not created

    Hi all,
    I am trying to create billing document using BAPI_BILLINGDOC_CREATEMULTIPLE.
    But the billing document created without pricing condition. Please check the code below:
      it_billingdata_in-salesorg    = '1000'.
      it_billingdata_in-distr_chan  = '10'.
      it_billingdata_in-division    = '00'.
      it_billingdata_in-doc_type    = 'L2'.
      it_billingdata_in-sold_to     = '0000002400'.
      it_billingdata_in-plant       = '1000'.
      it_billingdata_in-price_date  = '20070412'.
      it_billingdata_in-ref_doc     =  '0007000075'.
      it_billingdata_in-material    = '100-100'.
      it_billingdata_in-req_qty     = '1'.
      it_billingdata_in-ref_item    = '000010'.
      it_billingdata_in-doc_number  = '0007000075'.
      it_billingdata_in-itm_number  = '000010'.
      it_billingdata_in-currency    = 'EUR'.
      append it_billingdata_in.
      it_conditiondatain-data_index = '1'.
      it_conditiondatain-cond_type  = 'PR00'.
      it_conditiondatain-cond_value = '120'.
      it_conditiondatain-COND_CURR  = 'EUR'.
      append it_conditiondatain.
      call function 'BAPI_BILLINGDOC_CREATEMULTIPLE'
       exporting
         testrun               = ''
        tables
          billingdatain         = it_billingdata_in
          conditiondatain       = it_conditiondatain
          errors                = it_errors
          return                = it_billing_return
          success               = it_success.
    Please Help. Thanks.

    HI
    Just go through this link
    it will definitely help you
    <b>Re: BAPI_BILLINGDOC_CREATEMULTIPLE Billing Doc not created
    BAPI_BILLINGDOC_CREATEMULTIPLE
    BAPI_BILLINGDOC_CREATEMULTIPLE</b>
    if it helps reward with points
    Regards Rk

  • Cancellation of Invoice, Material doc, Inbound delivery and TO

    Hi
    I have run the following business ME21N->VL31N->LT03(TO)->LT12(TO confirmation)->Material doc is created->MIRO.
    Now i want to reverse the whole process. I have cancelled the Invoice then cancelled the Material document (MIGO), after the material document is cancelled a TR(LB11) is created, then i have created a TO from the TR created(LT04) ->TO confirmation. After this the quants are reversed from the bin to the GR area external reciepts.(nullifying with the first TO)
    My question here is how to post the stock again i.e. from where should i start ? When i am trying to create TO wrt VL32n its not happening because the status showing as completed and is it possible to cancel the inbound delivery created, If yes how to do that.
    The reason for this scenario is that the customer for some reason entered incorrect values and want to cancel the documents created.Everything should be cancelled except PO

    Scenario 1
    While creating the customer master my client forget to give the account assignment group in the billing tab of the sales area data. Because of this it did not hit the proper G/L Account. Automatically it went to some other accounts.
    My question is weather we want to cancel only the invoice or we want to reverse the delivery
    If your GL accounts will be determined based on the customer account assignment group and material account assginment group combination then you can enter manually in Billing document (if accounting document is not created), No need to reverse the invoice and delivery.
    Second Scenario 2
    My client taken the invoice without calculating the TAX and the same also released to accounts.
    Now he wants to Add the TAX
    You can cancel the previous invoice and create new invoice with taxes.

  • Canceling a billing doc for which accounting doc not yet generated

    Hello,
    I have strange issue in canceling billing doc. What happened user created Intercompany billing doc IV against a delivery and accounting doc also released to FI. After that he found that value in that IV doc is not correct so he went and cancelled that doc IV and he created internal credit memo IG .But for this IG the accounting doc not generated due to FI period closing. Because the IV is created in the month of Oct and IG is created in the month of Nov'07.Due to this issue Accounting document not generated for this IG doc.
    But unfortunately by mistake he went cancelled the IG doc and it created IV again. Now what happened both IG and new IV created are showing in cancelled status. This is because if we cancel a billing doc for which accounting doc not created, then both doc will turning into cancelled status in doc flow. This is confirmed similar situation in my quality box and confirmed.
    Now can anybody come across this kind of issue and tell me what is the best approach to handle this kind of situation.
    Thanks
    Mathi

    Hi Nina
    As you are doing Delivery and then billing  with the service item category ZTAD , so go to VOV7 and check wheather the Billing Relevance ( Delivery related billing ) has been maintained or not .
    Also check wheather in VTLA & VTFL copy controls  ,  ZTAD item category has been maintained or not
    Regards
    Srinath

  • BATCH in Material Doc - MSEG-CHARG, BAPI_GOODSMVT_CREATE??

    HI Experts,
    I got a requirement like,
    Threre is a item 10 of qty 5, in a delivery, its batch is BATCH SPLIT.
    I need to create a material document from this delivery/item.
    So, currently material doc is creating via BAPI_GOODSMVT_CREATE from this delivery, fine, but, when come to BATCH.........ONLY the last batch of delivery item 10, is coming over/populating in MSEG-CHARG..........but, I need to bring all the batches of the item of the delievry into materail doc.........so,
    (In this BAPI, I can see the goodsmvt_serialnumber for serial #s fine.)
    1- for when coming to batch issue, Is I need to populate the goodsmvt_item table for EACH BATCH as a seperate item/record in this table , for the same 10 item of delivery?
    I mean, Is I need to create a ITEM/record in Materail doc - MSEG tbl, for every BATCH of item 10 of delievry?
    replies appreciated
    thanq
    Edited by: SAP ABAPer on Oct 29, 2008 6:06 PM

    i clarified from my other func guy, answer is YES

  • Document is not creating with reference to existing doc?

    Hello
    I am trying to COPY the MS Word(document 'as is' including formatting options) of my_existing_word_doc into a new_word_doc, both documents path is local machine, so, i wrote the code as below,
    REPORT  ZWORD_TEST.
    INCLUDE ole2incl.
    DATA: w_word            TYPE ole2_object,
          w_document        TYPE ole2_object,
          w_selection       TYPE ole2_object,
          w_find            TYPE ole2_object,
          w_replacement     TYPE ole2_object,
          w_font            TYPE ole2_object,
          w_paragraphformat TYPE ole2_object,
          w_line(80).
    START-OF-SELECTION.
    * Create OLE automation object of type Word.Application.
      CREATE OBJECT w_word 'Word.Application'.
    * Display MS-Word when executing the program.
      SET PROPERTY OF w_word 'Visible' = 1.
    * Open doc
      CALL METHOD OF w_word 'Documents' = w_document.
      CALL METHOD OF w_document 'Open' EXPORTING #1 = 'C:\Users\MIKE1\Downloads\Desktop\my_existing_word_doc.docx'.
    * Add data to the new MS-Word document.
      CALL METHOD OF w_word 'Selection' = w_selection.
    *  CALL METHOD OF w_selection 'ParagraphFormat' = w_paragraphformat.
    *  CALL METHOD OF w_selection 'Font' = w_font.
    *Select All
      CALL METHOD OF w_selection 'WholeStory'.
    *Copy
      CALL METHOD OF w_selection 'Copy'.
    *Close Doc
      CALL METHOD OF w_document 'Close'.
      FREE OBJECT w_document.
      FREE OBJECT w_selection.
    *  FREE OBJECT w_paragraphformat.
    *  FREE OBJECT w_font.
    *Open new blank doc
      CALL METHOD OF w_word 'Documents' = w_document.
      CALL METHOD of w_document 'Add'.
    * Add data to the new MS-Word document.
      CALL METHOD OF w_word 'Selection' = w_selection.
    *  CALL METHOD OF w_selection 'ParagraphFormat' = w_paragraphformat.
    *  CALL METHOD OF w_selection 'Font' = w_font.
      CALL METHOD of w_selection 'Find' = w_find.
    *Paste from Clipboard
      CALL METHOD of w_selection 'PasteAndFormat'
        EXPORTING #1 = 1.
    *Find and Replace
      CALL METHOD of w_find 'ClearFormatting'.
      CALL METHOD OF w_find 'Execute' EXPORTING
        #01 = 'Old_text'
        #10 = 'Revised_Text'
        #11 = 1.
      FREE OBJECT w_document.
      FREE OBJECT w_word.
    but,
    1) Its not creating any new document at all!
    2) When should i pass my new document name as "my_new_word_doc", and where should i mention the saving location/path for this new doc?
    3) Even i am not sure that, its copying the doc as whole? bcz i can check becausem, its niot creating a new doc!
    Thank you

    Hi
    As per STD SAP, all billing items will be updated in RG1 register.
    The control is in J1ID where you have to select "Material and Chapter ID combination" and choose the tab "Material type".
    There against the billing material code, maintain "F"
    Also check setting
    IMG --> Logistics General --> Taxes on Goods movements --> India Check Basic Settings, Master Data, A/c deteremination, Business transactions and Tools.

  • Bug: Can not create materialized view log on 11G XE

    Hi,
    I log in as HR user and try create materialized view log
    CREATE MATERIALIZED VIEW LOG ON HR.EMPLOYEES;I get error
    >
    Error starting at line 1 in command:
    CREATE MATERIALIZED VIEW LOG ON HR.EMPLOYEES
    Error at Command Line:1 Column:0
    Error report:
    SQL Error: ORA-00439: feature not enabled: Advanced replication
    00439. 00000 - "feature not enabled: %s"
    *Cause:    The specified feature is not enabled.
    *Action:   Do not attempt to use this feature.
    >
    You can create materialized view log on 10G XE without any problem.
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

    Is it a bug in 11g or 10g?
    It was reported earlier in now archived beta forum. {thread:id=2214092}
    The current doc lists MV sites only (and "No" for Advanced Replication feature):
    http://download.oracle.com/docs/cd/E17781_01/license.112/e18068/toc.htm#BABDFDAI

  • BAPI_GOODSMVT_CREATE or BDC for MB1A not creating Accounting Doc

    It is a strange scenario.  We can manually process a Goods Issue (without reference to a PO# - WBS Element used instead) via MB1A and have an Accounting Doc generated without a problem - movememt 415Q.  But for some reason, we can only create the Material Doc for Goods Issue when using BAPI_GOODSMVT_CREATE or BDC for MB1A (foreground or background).
    Does anyone have any idea why in the world this would be happening?  Especially if we're using the exact same data used to manually create the Goods Issue via MB1A?

    Thanks for the response.  Yes, I did try BAPI_TRANSACTION_COMMIT in all of my tests.  The Accounting Document simply will not get generated.
    Again, what makes it strange is that we created a BDC for MB1A - based on data that worked & that produced an Accounting document.  However, when processing that BDC, either in the foreground or background - the Accounting document likewise does not get created.

Maybe you are looking for

  • How to track materails of machines  after repair.

    Hi experts, How I track the repairable material  after repair along with equipment no. Suppose I have 1 press machine having 100 motors of different rating  & suppose I maintained itu2019s sr no  .Then is it possible to get the equipment no in IW81 r

  • Can you change the surrounding color in Acrobat

    Acrobat 9.1 Pro I have trouble seeing thin rules bordering an ad against the dark, almost black background that Acro 9.1 displays pdfs on. Is there any way to change the color? I can't find it in prefs. jon

  • PDF Document Restriction

    I want to be able to ensure that only one person at a time can open a PDF or gives you a warning when the document is already open - much like MS Office documents do when you try to open a document someone else has opened. At the moment - the only wa

  • Can't get to Google

    For several weeks I cannot get to Google. I also can't search on anything within Google Earth. I don't seem to be having this problem with any other search engine, but I really prefer Google and I really NEED Google Earth! help!

  • Troubleshoot JAXB "chameleon schema" Errors

    I am trying to use xjc from JAXB 2.1 to generate Java code for the HL7 CDA R2 format. Unfortunately, there appears to be errors in XML Schema files and so xjc fails with this exception. The XML Schema files can be downloaded from http://xreg2.nist.go