BDC Recording not capturing variant????

HI,
I'm trying to record tcode cji5 along with the steps for saving the variant. But the recorded values doesn't capture the variant name. Anyboy has an idea about this???
Thanks

Hello,
Since CJI5 is a report transaction, try to 'SUBMIT' the report with the Variant...
Hope this helps,
Best Regards, Murugesh AS
Message was edited by:
        Murugesh Arcot

Similar Messages

  • BDC recording not executing last OK code for order technical completion

    Hello!
    Regarding a QM requirement, I have created a rather simple BDC recording to change the activity type of an order to new ones (based on particular conditions not relevant here) on transaction IW32.
    However, if the order is technically complete, I have to cancel the technical completion, change the activity type, and then complete the order technically again (so it remains just the way it was before modification).
    The only order types relevant in the requirement are YM01 and YM02. For YM01, the BDC recording works like a charm. But when executing the proper recording for type YM02, the last OK code (i.e. pressing the OK button on the Complete subscreen) is ignored and the process remains incomplete: the orders are never completed technically again.
    Here is the recording:
    0     T     IW32     BS AA X   F
    SAPLCOIH                       101     X                                                                               
    0           BDC_OKCODE     /00
                                            0           CAUFVD-AUFNR     80000005
    SAPLCOIH                       3000     X                                                                               
    0           BDC_OKCODE      =WIAR
    SAPLCOIH                       3000     X                                                                               
    0           BDC_OKCODE     /00
                                            0           CAUFVD-ILART     206
    SAPLCOIH                       3000     X                                                                               
    0           BDC_OKCODE      =ARCH
    SAPLIWO1                           200             X                                                                               
    0           BDC_OKCODE      =WTER
                                            0           RIWO1-CLNOT     X
    Any help would greatly appreciated!
    Best regards,
    André Santos

    Leandro, thanks for the answer!
    The BDC recording does not work when executed visibly or step by step. After some extensive debugging, I realized that the final screen (the technical complete confirmation screen) is not an actual subscreen, even though it has its own number. That screen is actually generated by an FM, so apparently that's why it's ignored when the BDC is executed.
    I found a BAPI to replace that missing step: BAPI_ALM_ORDER_MAINTAIN. However, I'm having a hard time figuring out how to reference the orders I need it to complete. The FM asks for an IT_METHODS table and I couldn't tie the method to the orders:
    it_methods-refnumber = ???
    it_methods-objecttype = 'HEADER'. "That's what I found on the example, not sure whether this is right or not.
    it_methods-method = 'TECHNICALCOMPLETE'.
    it_methods-objectkey = ??? "Maybe the order number itself?
    APPEND it_methods.
    Has anyone used this BAPI before?
    Edited by: André Felipe Oliveira dos Santos on Oct 20, 2010 2:18 PM

  • Double-click in ALV Grid on BDC recording not recorded

    Hi,
    I'm recording a BDC session in a CRM system to enter a business partner.  One of the steps is to choose a marketing attribute.  To do this you have to double click on a (read only) ALV grid to select the attribute.
    When I record this in SHDB or LSMW, the double click is never recorded?
    Anybody else had problems recording a double click in an ALV grid.
    Thanks
    Naidoo

    Unfortunely, BDC and gui controls do not get along.   The ALV_Grid uses a gui control to intereactive with the user.  Doing a recording over these kinds of transaction is not suggested for this very reason.  You will have to find another way to achieve your result.  Is there any BAPI or function module which does this functionality?
    Regards,
    Rich Heilman

  • BDC recording for SU01 - Roles

    Hi All ,
    I am using BDC recoording of the SU01 T code for the modification of the end date of the assigned roles .
    In few scenario there are few cases where user does have direct and indirect roles . I am able to change the end date of the direct roles via BDC in SU01 but since indirect roles which are depedent on direct roles and therefore the end date fields is not editable and hence on the warning my BDC is unable to update anything in SU01 .
    Can any one advise , how can i proceed with BDC recording to capture editable and noneditable fields ?

    Hi,
    it's not possible with BDC recording to know if a field is in input mode or only in output mode.
    PS : Search if you cannot used a BAPI. f.e BAPI_USER_*
    REM : Just one remark if you use time assignment
    Time-dependency of user assignment and authorizations                                                                               
    o   If you are also using the role to generate authorization profiles,  
        then you should note that the generated profile is not entered in   
        the user master record until the user master records have been      
        compared. When you specify the users for the role, the system enters
        by default the current date as the start date of the user           
        assignment, and 12.31.9999 as the end date. If you want to restrict 
        the start and end dates of the assignment, for example, if you want 
        to define a temporary substitute for a user, the system             
        automatically makes the changes to the user. This automatic         
        adjustment of the user's authorizations is executed using report    
        PFCG_TIME_DEPENDENCY. In this case, you should schedule report      
        PFCG_TIME_DEPENDENCY daily, for example, early in the morning, to   
        run in the background (in transaction SA38, for example). This      
        compares the user master records for all roles and updates the      
        authorizations for the user master records. The system removes      
        authorization profiles for invalid user assignments from the user   
        master record, and enters authorization profiles from valid user    
        assignments to a role.                                              

  • BDC...record not saved.

    Hi gurus,
    All records except last one saved while running bdc....
    what can be the problem....
    Thanks and regards,
    Md.

    might be u did not captured last record properly

  • Capturing warning message in BDC recording

    Hi all,
    I want to capture a warning message that is getting popped during BDC recording. When BDC is ran in background, it is stopping at that point and further processing is stopped with the display of this warning message.
    Can anybody help me in capturing this warning message?
    Thanksm
    Archana

    Hi Avinash,
    I am trying to change the profit center using this BDC. So, when i change it, this warning is displayed and it goes inside one more window and coreects the new profit center added in the previous window. So, this warning message is necessary to be displayed. But my problem is that because of this message my BDC is also not proceeding further.
    Hi Bhavesh,
    The warning message is getting displayed as a pop-up. I am not getting any information about the screen number. I know the prgram for that but no the screen number. And can you please tell me what that piece of code does? So that i can try it out in my BDC.
    Thanks,
    Archana

  • How to capture F4 help during bdc recording

    Hello All,
    I need one help to solve one of the requrimkents..
    In transaction Co02, user have to add the compoenents manually..but before user adds the components manually, i need to call the transaction co02, then i have do F4 help and fill the data for the user and then user will handle it manually...
    So till F4 help and filling the data in F4 help, i need to do through my program using bdc...when i try to do, F4 help is not captured in my recording..
    So please help me how to capture F4 help during BDC recording.
    Thanks in advance
    Sangeetha

    HI Sangeetha,
    I have one question for you!!!!
    Capturing F4 help  in BDC recording is secondary thing. First, If you want the user to select the value from the F4 help, then in that case user will have to run the BDC program in the foreground mode which is not possible and time consuming if your file is having more records (say >100). Then in that case will you prompt the user every time for selecting the component values, as many records there will be in the file to be uploaded??? I think it is not a way of handling or capturing the component values. I would prefer that pass the component values in the file which has to be uploaded.
    Please let me know if you still have some doubts on the same.
    Thanks
    VJ

  • Material Fright Group related Condition record is not captured in billing

    Dear all,
       As i am creating Credit Memo with respect to Credit memo Request (Sales Order) and my freight condition record is maintained in Material Freight Group level. This field is there in Sales Order but when i am creating Credit memo it is not captured and also i am unable to find Material Freight Group field in Billing Document.
    Please help urgently.
    Regards,
    Chirag Pedhadiya.

    Hi...
          But why we have to write this code in User Exit. Is this Standard SAP Problem ??
    I just wonder that in Delivery Related Billing Document it is finding Material Freight Group related Condition record in Billing means in Billing Pricing it is getting value in Material Freight Group filed and set this condition record value, though there is no any field like MFRGR (Material Freight group) in Billing Tables VBRK or VBRP.
    So for Order related Billing Document only why this filed is not getting any value in Pricing ??
    Thnaks,
    Chirag  Pedhadiya.

  • Premiere Pro CS4 (Windows 7) will not (Capture or Record) connect with DV Cass Recorder

    For 12 yrs I've Never had a problem w Adobe Prem Pro seeing my Panasonic  AG-DV2000, DV cassette Recorder. Premiere Pro CS4 (with Windows 7 Ultimate) will not connect (Capture or Record)with my DV Cassette Recorder - Panasonic  AG-DV2000. I upgraded my computer to below components & added Windows 7 at same time.  Have had Adobe Prem Pro CS4 since fall with no problems.  I usually have 2 - 5 videos, with 2 - 4 audios, going at same time on my timeline. (These digital videos & audios I shot myself professionally with mini DV cassettes.) Most projects are between 10 to 50 mins on timeline, w transitions or crossfades between video & audios. Firewire attached from computer to Panasonic. No Capture card in new system, not needed, use to watch over an external TV, now watch over a second monitor or in program  monitor.    [Am I just missing a simple setting??]           Computer below & settings:   very up to date.
    motherboard                        ASUS P6T
    CPU                                         i 7    2.67 GHz
    RAM                                       6 GB
    video                                      ATI Radion HD 5700  1 gig Memory  OpenGL 3.2
    Main Drive                            500g  SATA 7200 rpm
    Raid Drive                              1.2 TB  7200 SATA
    Windows 7                            64 Bit Ultimate
    DVD/CD                                  writable Disc Drive
    AVG                                        Antivirus 9.0
    Playback Settings
                    Realtime Playback
    yes                                          Desktop Video Display
    External Device                    DV 25 720X 576i
    Aspect Ratio Conv              Hardware
    yes                                          External Device Audio
                    Export                     External Device                    DV 25 720X 576i
    yes                                          Disable Video output when in background.
    24p Conversion Method      -  Interlaced frame 2:3:3:2
    Preferences          (only things not set at default)
    Audio Output Mapping       --   Premiere Pro WDM Sound (have also tried Audio Out)
    Device Control     DV/HDV Device Cont Options:  NTSC,  Panasonic,  AG-DV2000P,  Auto Detect
                                    (Check Status) Says it is ONLINE
    Media                     Cache files saved to My Raid drive not C drive  (so they will run faster)
                                    Indeterminate Media Timebase:   29.97 fps Non Drop Frame
    Project Settings   Video --  Timecode             Audio -- Audio Samples
    Capture Format  (tried both)  DV & HDV   (all settings checked for during preview & capture)
                    Under DV               says Panasonic is Online, export to tape/it renders/Premiere controls the Panasonic recorder -looks like it's recording, but see no video -                                                 hear the sound. On Playback nothing was recorded? ( And Can't capture from tape to computer)
                    Under HDV            Says Panasonic is Offline, but computer able to control the Panasonic start/stop, but doesn't record or capture tape to computer? 
    [ I think this DV/HDV part is correct......  it's getting very confusing at this point??!! Your help is appreciated Thank YOU ]

    http://www.studio1productions.com/Articles/Firewire-1.htm
    Above article HELPED me -- and is working fine!!
    Was an Easy fix, took less than 2 mins. 
    After a 2 1/2 month ordeal.
    Info from the "forum help group" through adobe.  jk

  • ABAP - BDC transaction not saving changes to records

    I am trying to write my first ABAP code using BDC recording.  Essentially I would like to flag the "Final Delivery" field (EKPO-EGLKZ) for a range of documents by recording transaction MASS.
    The code runs without errors - but the changes are not saved.  I have run the code in "Processing Mode: A" (Display all screens) and the program successfully loops through each record & saves the updated fields.  When I look at the documents in ME23N the changes have not been saved.   Running the MASS transaction manually results in the changes being successfully saved so I can rule out any data validation issues.
    Does anyone know why the changes refuse to save when running the code below?
    I have considered trying to use BAPI_PO_CHANGE instead of BDC, but I am new to ABAP and I thought the BDC code would be less complex.
    report Z_MASS_REMOVE_FDI_DCI
           no standard page heading line-size 255.
    include bdcrecx1.
    TYPES: BEGIN OF ty_tab,
    MASSOBJTYP(7),
    MASSVARNAM(7),
    DOCNO(9),
    ITEM(1),
    END OF ty_tab.
    DATA : it_tab TYPE STANDARD TABLE OF ty_tab.
    DATA : wa_tab TYPE ty_tab.
    START-OF-SELECTION.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = 'X:\STO.TXT'
    * FILETYPE = 'ASC
    has_field_separator = 'X'
    TABLES
    data_tab = it_tab
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17.
    END-OF-SELECTION.
    LOOP AT it_tab INTO wa_tab.
    WRITE:/ wa_tab-MASSOBJTYP,
    wa_tab-MASSVARNAM,
    wa_tab-DOCNO,
    wa_tab-ITEM.
    PERFORM open_group.
    perform bdc_dynpro      using 'SAPMMSDL' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MASSSCREEN-OBJECT'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'MASSSCREEN-OBJECT'
                                  wa_tab-MASSOBJTYP.
    perform bdc_field       using 'MASSSCREEN-VARNAME'
                                  wa_tab-MASSVARNAM.
    perform bdc_dynpro      using 'SAPMMSDL' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MASSSCREEN-OBJECT'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=NEXT'.
    perform bdc_dynpro      using 'SAPLMASS_SEL_DIALOG' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MASSFREESEL-LOW(01)'.
    perform bdc_field       using 'MASSFREESEL-LOW(01)'
                                  wa_tab-DOCNO.
    perform bdc_dynpro      using 'SAPLMASS_SEL_DIALOG' '0100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MASSFREESEL-LOW(02)'.
    perform bdc_field       using 'MASSFREESEL-LOW(02)'
                                  wa_tab-ITEM.
    perform bdc_dynpro      using 'SAPLMASS_SEL_DIALOG' '0100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CRET'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MASSFREESEL-LOW(01)'.
    perform bdc_dynpro      using 'SAPLMASSINTERFACE' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=FDAE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'NR_ITEMS'.
    perform bdc_dynpro      using 'SAPLMASSINTERFACE' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SAVE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'NR_ITEMS'.
    perform bdc_dynpro      using 'SAPLMASSMSGLIST' '0300'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'REOML-MSGTXT(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=EXIT'.
    perform bdc_transaction using 'MASS'.
    ENDLOOP.
    PERFORM close_group.

    Where is BDC_INSERT.
    If u use OPEN and CLOSE_group u need to use INSERT_GROUP also to update in database.
    A session will be created and u nedd to run the Session in Sm35 in order to update the database.
    Edited by: Ranjith Kumar on Sep 18, 2008 6:41 AM

  • Recording Smart Phone - full motion not capturing stylus movements

    I am trying to create a recording that shows the movements of a stylus on a smart phone. I have the smart phone connected using active sync and am using pocket controller to project onto my computer. All of the captures work fine if i use the mouse to make the movements.
    However, i want show how someone can use the stylus to transcribe right on the phone, rather than flipping out their keyboard.
    For some reason, i can't get the full motion recording to capture the stylus movements.
    any suggestions?
    Thanks so much
    Lynn

    Hi Lynn
    I find that as good as Captivate is, it falls short on full motion. So you may wish to investigate other alternatives for those full motion bits, then drop them into the Captivate slides for playback. I've done this using Techsmith's Camtasia Studio. You might try that. Not sure if the trial will watermark things or whatever. You might also investigate Jing or Screenr. Perhaps either one of those will produce a SWF you could drop into Captivate.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Can not capture from Sony HDV 1080i (recording in 60i)

    Hello
    We are trying to capture from the above camera to a Mac Dual G5. We are using FinalCutPro 5.1.2. We are using a FireWire 400 cable to connect to the front of the computer (have also tryed back of Cinema Display). The footage was captured in HDV1080/60i, and we have tried the corresponding formats in Easy Setup (Basic, standard, Apple Intermediate).
    The problem: we can control the camera from the Log and Capture windows, but when starting capture, no data is coming in, and the program therefor gives up after a few seconds (displaying a no data error message).
    We have tried Batch and Now capture. We can log clips, and get the correct time code, but can not capture those clips due to the no data problem.

    This is a good workaround for curing your camera recognition problem with FCP (if that's what it is):
    First, check that your Easy Setup / Timeline / Camera or Deck Settings are all exactly the same, then making sure your camera or deck is in VTR mode, try to capture again.
    FCP uses a different form of QT than iMovie for capturing, so if the camera works in iMovie (or if it's listed in System Profiler) but not FCP, it obviously means your Mac can see the VTR but FCP can't, so you need to do this QuickTime fix.
    http://docs.info.apple.com/article.html?artnum=301852
    Follow the instructions carefully and you should have things running in no time - it's quite safe but you must Trash the Receipts AND re-install QT from the link provided.
    If the Camera / Deck isn't recognised by iMovie or System Profiler, try resetting the Firewire Bus . . . Turn off the Mac and disconnect the power and all Firewire cables. Leave it for 30 mins then connect back up.
    Still not working? Try a different Firewire cable.
    Failing all this, try resetting the PMU (Power Management Unit). The method varies from machine to machine, so visit the Apple site and search for it in support.
    Don't use iMovie for capturing - it doesn't give you a timecode and that's very important.
    Let us know how you get on!
    Andy
    Quad 8GB. 250+500 HDs. G-Raid 1TB. NORTON. FCP 5.1.2. QT 7.1.3. Sony HVR Z1E   Mac OS X (10.4.7)  
    "I've taught you all I know, and still you know nothing".

  • BDC Recording - Make a field required

    Dear Experts,
    We are using a BDC recording to call MIRO and send it to an agent via workflow using a z-table.
    The customer wants the baseline date on this recording grey'ed out and the business area field required.
    The baseline date is on the "PAYMENT" tab of MIRO and Business Area on the "DEATILS" tab. 
    I have created a screen and transaction variant a year ago and assigned it to the t-code, but now with the BDC calling MIRO for the INVOICE Scanning project, these fields can be overwritten and left out.
    How can I do it via BDC?
    Transnet Freight Rail
    Edited by: Annelize Meyer on Mar 17, 2010 1:39 PM

    You could create a on-submit pl/sql validation on 'p2_estim_val'. The validation code will return a failure if the value of p2_estim_val is not specified if the value of p2_reason_to_scap_sell is non-null
    The validation code could be something as simple as
    if not :p2_reason_to_scap_sell is null and :p2_estim_val is null then
       return 'A value is required for p2_estim_val';
    end if;varad

  • BDC recording for VF11 more than 14 invoices

    hi, i am facing a problem when cancelling more than 14 invoices through bdc recording.
    Normally , in vf11 , after entering 14 invoice numbers , i press enter and then click on the scroll bar , to get the further input fields.
    Now , while recording these steps through BDC, the pressing of the scroll bar to get further input fields is not captured. The BDC OK code which is captured is /00 , which is basically for enter is not working.
    How can I insert more than 14 invoices through BDC recording?
    Edited by: RUPAKBH on Sep 24, 2011 7:28 AM

    hi,
    for such kind of requirements we need to use bapi's instead of bdc.
    for reference [Click here|http://wiki.sdn.sap.com/wiki/display/ABAP/Cancelbillingdocument+%28VF11%29]
    *---cancel billing doc (transaction VF11)
         CALL FUNCTION 'BAPI_BILLINGDOC_CANCEL1'
           EXPORTING
             billingdocument = d_bill_doc
           TABLES
             return          = it_bapireturn1
             success         = it_bapivbrksuccess.

  • MB1B - 309 Movement - BDC Recording   Error

    HI Everyone,
    Basically I need to create a 309 Movement in transaction MB1B to do a batch to batch transfer. Unfortunately I cannot use a BAPI for this because there is configuration in the system that will create the destination batch so I need to use BDC.
    I can record the transaction without problems, but I cannot get the recording to work in my program. For some reason it doesnot seem to be able to overwrite the defaulted batch no that comes in when specifying the batch to transfer into. If I run the program in mode 'E' the MB1B screen pops up and does nothing. If I click on warning message and close window  it then prompts me to Post. I cannot see why it wont post using my BDC Logic (see below).
    I have tried recording this transaction many many times but it wont work - Maybe i am missing something.
    Please find the code below that i have recorded.....
    Your help is greatly appreciated.
    PERFORM BDC_DYNPRO USING 'SAPMM07M' '0400'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR'
    'RM07M-LGORT'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '/00'.
    PERFORM BDC_FIELD USING 'MKPF-BLDAT'
    '01.03.2012'.
    PERFORM BDC_FIELD USING 'MKPF-BUDAT'
    '01.03.2012'.
    PERFORM BDC_FIELD USING 'RM07M-BWARTWA'
    '309'.
    PERFORM BDC_FIELD USING 'RM07M-WERKS'
    FS_DATATAB-WERKS.
    PERFORM BDC_FIELD USING 'RM07M-LGORT'
    FS_DATATAB-LGORT.
    PERFORM BDC_FIELD USING 'XFULL'
    'X'.
    PERFORM BDC_FIELD USING 'RM07M-WVERS2'
    'X'.
    PERFORM BDC_DYNPRO USING 'SAPMM07M' '0421'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR'
    'MSEG-CHARG(01)'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '/00'.
    PERFORM BDC_FIELD USING 'MSEGK-UMWRK'
    FS_DATATAB-WERKS.
    PERFORM BDC_FIELD USING 'MSEGK-UMLGO'
    FS_DATATAB-LGORT.
    PERFORM BDC_FIELD USING 'MSEGK-UMMAT'
    FS_DATATAB-MATNR.
    PERFORM BDC_FIELD USING 'MSEG-MATNR(01)'
    FS_DATATAB-MATNR.
    PERFORM BDC_FIELD USING 'MSEG-ERFMG(01)'
    FS_DATATAB-ERFMG.
    PERFORM BDC_FIELD USING 'MSEG-CHARG(01)'
    FS_DATATAB-CHARG.
    PERFORM BDC_FIELD USING 'DKACB-FMORE'
    'X'.
    PERFORM BDC_DYNPRO USING 'SAPLKACB' '0002'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR'
    'COBL-KOSTL'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '=ENTE'.
    PERFORM BDC_FIELD USING 'COBL-KOSTL'
    FS_DATATAB-KOSTL.
    PERFORM BDC_DYNPRO USING 'SAPMM07M' '0410'.
    PERFORM BDC_FIELD USING 'MSEG-UMCHA'
    FS_DATATAB-CHARG1.
    PERFORM BDC_FIELD USING 'DKACB-FMORE'
    'X'.
    PERFORM BDC_DYNPRO USING 'SAPLKACB' '0002'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR'
    'COBL-KOSTL'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '=ENTE'.
    PERFORM BDC_FIELD USING 'COBL-KOSTL'
    FS_DATATAB-KOSTL.
    PERFORM BDC_DYNPRO USING 'SAPMM07M' '0421'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '/EBCK'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR'
    'MSEG-ERFMG(01)'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '/00'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '=BU'.
    PERFORM BDC_FIELD USING 'DKACB-FMORE'
    'X'.
    PERFORM BDC_DYNPRO USING 'SAPLKACB' '0002'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR'
    'COBL-KOSTL'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '=ENTE'.
    CALL TRANSACTION 'MB1B' USING BDCDATA[] MODE 'A'
    MESSAGES INTO IT_BDC_MSGS.

    Hi,
    I could not give the exact solution as i dont have access to my SAP system temporarily. According to your inputs i can guess that the issue happened because of pop-up or message prompt will be coming for MB1B movement.
    Generally we could not capture the pop-up kind of things using SHDB recording. You must include one BDC_OKCODE logic in the place where POP-UP is coming inside your BDC Coding part.
    I hope this will give you some idea.
    Thanks:)

Maybe you are looking for