Coding Block for BDC MB1C

Hi Experts,
While running BDC for T-code MB1C i am getting error pop-up as coding block and its skipping the batch and its getting stop there..
Please help me to resolve the issue...

hi,
check these.
[https://forums.sdn.sap.com/click.jspa?searchID=19561287&messageID=6660067]
[https://forums.sdn.sap.com/click.jspa?searchID=19561287&messageID=3308056]
[https://forums.sdn.sap.com/click.jspa?searchID=19561287&messageID=3196807]

Similar Messages

  • Coding block in BDC program Tcode F-63

    Hello Techies,
                        Please help me in removing coding block in execution of BDC program for F-63, it is asking me to put Business Area. 

    Harshal, can you provide more details? It seems like you BDC is missing some mandatory field and you either need to get that from your input file or thru some other logic in your program.
    Vikram.M

  • Coding block in BDC

    I have this BDC program with call transaction MB1B, while using dismode 'E', it works fine and create a matdoc, but for every material on the screen appears empty screen "coding block" and I have to push OK button in order to close this "coding block".
    How can I suppress "coding block" screen ?

    1. You can use simulate background mode while recording. To use the same in the program
        data w_ctu_params type ctu_params.
        w_ctu_params-dismode = 'H'.
        w_ctu_params-defsize = 'X'.
        w_ctu_params-nobiend = 'X'.
    call transaction 'MB1B'  using bdcdata options from w_ctu_params.
    Refer to the wiki link
    https://wiki.sdn.sap.com/wiki/display/ABAP/BatchInput-+BDC
    2. You can use BAPI_GOODSMVT_CREATE. You can refer the documentation for more details or search in the forum.
    Hope it helps.
    Sujay
    Edited by: Sujay Venkateswaran Krishnakumar on Sep 5, 2010 4:47 PM

  • Coding Block for Stock PO

    Hi,
    We have a stock PO ( With no account assignment and standard item category) .
    It is triggering "Account assignment" tab at item level. We need to add "Business Area" field in that.
    So, I created a new Coding Block with business area included and made priority 1.
    Now, While creating Po System is taking that coding block. But, still it is not displaying the "Business area" field !!!
    Can any one help me in this?.
    Thanks in advance,
    Nandu.

    Kishore,
    That is what I could not understand and surprised to see that tab. We tried debugging and it seems hardcoded!!. ( It may be wrong.)
    So, I tried to change the coding block. Coding block number was changed but, the fields displayed are not changing!!!
    Can any one explain how the codingblock triggers and what controls the field status in PO. Especially a standard PO with no account assignment.
    Thanks,
    Nandu

  • How to check BWTAR for BDC MB1C

    I make a BDC Report like this..
    but i cann't controlm BWTAR according to MATNR .
    Can  please solve my problem.
    <unreadable code removed by moderator>
    Moderator message: please post only relevant code parts, your posts must contain less than 5000 characters to preserve readable formatting.
    Edited by: Thomas Zloch on Nov 19, 2011 10:30 PM

    I suggest you to use BAPI for this requirement instead of BDC, which is easy to code and more reliable and performance effective.
    BAPI is BAPI_GOODSMVT_CREATE . If you google or read the documentation of the BAPI it is very easy to code. Hope this helps
    Cheers,
    Prasanna

  • Coding blocks

    Dear All,
    I want to add a field in posting accouting document screen for cash flow statement  purpose. which is used to classify the fund accounts.how should I do?
    which is the transcation code in configuration?
    Thanks!
    Fanny

    try creation a coding block for subscreens - OXK1
    Praveen.

  • Coding Block

    Hi all,
    Can anyone explain me with an example how do we add a coding for G/L and how to change the standard program RFBIBL00 program to populate those fields in Coding Block.
    Plase advise on how to go about in terms of Configuration of Coding Block for G/L and the program changes.
    Thank you in Advance .
    Ry

    Hi,
    tcd:OXK3 can still be used in ECC5.00.
    if you need to extend NewGL tables, tcd:FAGL_GINS is necessary after OXK3.
    Br, Kyoko

  • Coding block fields in recurring documents

    I have a recurring document created with some coding block fields.During the entry (FBD1)  ,those fields are open and was able to enter the data .During display (FBD3),the data is there.But when I posted some documents(Batch session) using the reference document,the coding block data is not populated on the actual document.I checked SAPF120 and SAPF120G programs and both are active.What could be the problem and why the data in those coding block fields are not getting populated on the actual documents?Thanks

    I also facing the same problem of, how to add customer fields to Vendor/Customer entry screen. For me, i already check all field status that involve (for GL OBC4 and for posting key) and they are all optional.
    I think it's about the screen number 0302 which will be used for vendor line item entry, while other GLs will used 0300. I already maintain the coding block but still don't know how the system works to use that coding block for the screens.
    someone pleasszzz.. help us.
    Thanks

  • FB01 BDC Program Posting Error in a coding block

    Hi,
    I am trying to write a BDC for fb01 transaction with posting key 31 and 40.
    But I am getting a coding block as a popup in FB01 trsanction on screen number 'SAPLKACB' '0002'.
    I am passing costcentre and Internal Order and then passing an Enter f code for this...But still i am getting a message that Input data not passed to this screen..
    If i run this in All screen mode by manually putting enter its working if i try to put an enter programatically its not working..
    Your Answers will be Appreciated..
    Please let me know if you come across this any time..
    Thanks
    Srinivasa

    Hi,
    I personally feel that instead of doing a BDC for accounting document post using FB01, please use the BAPI - bapi_acc_document_post
    Regards,
    Sridevi

  • Coding Block in LSMW recording via MB1C

    Doing Inventory load by LSMW, when recording with T.Code MB1C, in 2nd screen getting a "coding Block". How to go around it it.

    through LSMW the MB1C Recording not support, you can go for below standard methods like
    Batch Input
    Object               0110   Goods movement
    Method               0000
    Program Name         RM07MMBL
    Program Type         B   Batch Input
    or BAPI method
    Business Object      BUS2017      Goods Movement
    Method               CREATEFROMDATA              Post Goods Movement
    Message Type         MBGMCR                      Post goods movements with MB1c
    Basic Type           MBGMCR03                    Post Goods Movements with MB1C

  • BDC For Transaction MB1C

    Hi all
    i want bdc program and flat file structure for transaction MB1C to upload stock.
    If anyone have then please send me at [email protected]
    Its urgent.
    Thanks

    Hi
    use the BAPI
    BAPI_GOODSMVT_CREATE
    see the code:
    REPORT ZRICH_0001 .
    Structures for BAPI
    DATA: GM_HEADER  TYPE BAPI2017_GM_HEAD_01.
    DATA: GM_CODE    TYPE BAPI2017_GM_CODE.
    DATA: GM_HEADRET TYPE BAPI2017_GM_HEAD_RET.
    DATA: GM_ITEM    TYPE TABLE OF
                     BAPI2017_GM_ITEM_CREATE WITH HEADER LINE.
    DATA: GM_RETURN  TYPE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA: GM_RETMTD  TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    CLEAR: GM_RETURN, GM_RETMTD. REFRESH GM_RETURN.
    Setup BAPI header data.
    GM_HEADER-PSTNG_DATE = SY-DATUM.
    GM_HEADER-DOC_DATE   = SY-DATUM.
    GM_CODE-GM_CODE      = '04'.                                " MB1A
    Write 971 movement to table
    CLEAR GM_ITEM.
    MOVE '412'                 TO GM_ITEM-MOVE_TYPE     .
    MOVE 'Q'                 TO GM_ITEM-SPEC_STOCK.
    MOVE '3800533484'  TO GM_ITEM-MATERIAL.
    MOVE '1'     TO GM_ITEM-ENTRY_QNT.
    *MOVE 'PC'    TO GM_ITEM-ENTRY_UOM.
    MOVE '1060'  TO GM_ITEM-PLANT.
    MOVE '0007'  TO GM_ITEM-STGE_LOC.
    *MOVE '0901'   TO GM_ITEM-MOVE_REAS.
    MOVE 'P203601001' TO GM_ITEM-WBS_ELEM.
    MOVE 'P203601001' TO GM_ITEM-VAL_WBS_ELEM.
    APPEND GM_ITEM.
    Call goods movement BAPI
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
         EXPORTING
              GOODSMVT_HEADER  = GM_HEADER
              GOODSMVT_CODE    = GM_CODE
         IMPORTING
              GOODSMVT_HEADRET = GM_HEADRET
              MATERIALDOCUMENT = GM_RETMTD
         TABLES
              GOODSMVT_ITEM    = GM_ITEM
              RETURN           = GM_RETURN.
    IF NOT GM_RETMTD IS INITIAL.
      COMMIT WORK AND WAIT.
      CALL FUNCTION 'DEQUEUE_ALL'.
    ELSE.
      COMMIT WORK AND WAIT.
      CALL FUNCTION 'DEQUEUE_ALL'.
    ENDIF.
    WRITE:/ GM_RETMTD.
    LOOP AT GM_RETURN.
      WRITE:/ GM_RETURN.
    ENDLOOP.
    Reward points if useful
    Regards
    Anji

  • MB1C Upload Program Coding Block Screen

    Dear Experts,
                       I have created an upload recording of mb1c transaction. After adding header data I have created it's classification entries. Recording has been created successfully. But; when I execute this recording to upload tab-delimited text file data, it shows a CODING BLOCK screen before the classification window opening. and return to header screen. Why this CODING BLOCK screen is appears; while during recording creation this screen does't appears.
    Can Someone please suggests me a solution to skip CODING BLOCK screen.
    Thanks and Regards,
    Sohail

    Coding Block Screen; that could be a Configuration problem. Me solved this problem through two uploads using MB1C and MSC1N.

  • Maintain Subscreen for Coding Block

    Dear Guys
    I have a requirement to create a subscreen for a FI transaction. I know that this can be done using OXK1. I have already created a subscreen. But I want to know that how can I link that subscreen with a particular Transaction.
    e.g I have made a subscreen in Maintain Subscreen for Coding Block. Now how can I guess which transaction will call this sucscreen.
    As a ABAPER I think there would some user exit or enhancement through which we call these subscreens for a particular Transaction.
    Pls give a detailed answer, I have created a subscreen but dont know how to link it with a particular T-Code in FI
    . Thnx

    Will any body tell me from where I can find out a complete documentation on FI Coding Block. Documentation is sap.help.com is not helping me.
    Will any body explain what is the coding block and how it can be used.
    Thnx

  • Getting Coding Blocked Error while recording MB1C

    Hi,
    While recording TCode MB1C when I enter the material number and quantity and press Enter I get a message "Coding Blocked". When I click on OK I'm able to proceed further. But, when I'm not recoding I'am able to make entries in the same without this message. Is it okay to record MB1C even if I get this message. I don't know the reason why I get this message.
    Please help.
    Regards,
    Sriram.

    Hi,
    the t-codes MB1B and MB1C need to record with Not a Batch input session..
    try this way..
    go to SHDB > create new record> etner t-code MB1C and check Not a Batch input session and record..
    later in the coding assign the field not bacth input session = 'X" and default screen size..
    prabhudas

  • Coding Block Pop up in BDC

    Hi All,
    I am calling the transaction MB1B through a dialog program using BDC.
    But when the transaction is being called I am getting popup with the title coding block but there is nothing in the pop up screen its blank and when I press ok the transaction gets completed successfully.
    But problem arise when I am running the transaction in 'N" mode.
    In this case the transaction is not getting completed and its returning with sy-subrc 1001.
    Please suggest.
    Thanks

    Hi,
    Do the recording in one go, that is, record the screens which you need, and don't record anything extra.
    Save the recording, and then try to run the program.
    Thanks and regards,
    Prerna

Maybe you are looking for