BDC for TCODE F150

Hi Friends,
I am facing problem while developing BDC for tcode F150. The last action i.e. scheduling for particular dunning date is not getting executed in my BDC.
I am also pasting the end part of my BDC recording. Please review it and advise.
PERFORM bdc_dynpro      USING 'SAPLF150_JOBS' '1000'.
  PERFORM bdc_field       USING 'BDC_CURSOR'
                                'F150V-STRZT'.
  PERFORM bdc_field       USING 'BDC_OKCODE'
                                '=JOBS'.
  PERFORM bdc_field       USING 'F150V-STRDT'
                                rdate.
  PERFORM bdc_field       USING 'F150V-XSTRF'
                                'X'.
    select single SPLD into p_out from USR01 where bname = sy-uname.
  perform bdc_field       using 'ITCPO-TDDEST'
                                 p_out.
  CALL TRANSACTION 'F150'
Thank you,
Swapnil
Edited by: Swapnil Tawade on Sep 22, 2008 3:15 PM

Hi,
   If u want it for  some specific plants then before populating data  to bdcdata internal table  check the conditions for which the plant fields required values to be passed  and if the condition is satisfied then pass the plant field to bdcdata table . If the condition is not satisfied then dont pass that plant field to bdcdata table bcoz  if  u r not passing any field to bdcdata table then that field is going have default values.
Regards,
Shafi

Similar Messages

  • Problem with uploading data from excel using BDC for tcode f-02

    Hi All,
    I am uploading data from excel using BDC for tcode f-02. The problem here is, while recording, the values of some fields are recording twice. I dont know why it's happening so. But if I run my abap program, I have to give those fields twice in my excel sheet. Otherwise data does not upload. But it is not the feasible way. We must give those fields once in excel. Please tell me, how I can solve the issue.
    With regards,
    Rosaline.

    Hi,
      in BDC each and every action is recording. If your press enter in same screen that also recorded once aging may be this is your case repeating field values will appear. we can solve the problem for repeat fields like below.
    suppose in your excel having repeated field X1 X2 X3 the X2 contains repeated field X3 means delete the X3 field.
    Now In your itab having X1 and X2 fields. While in the LOOP the ITAB pass the X2 field to repeated the fields.
    LOOP at ITAB to WA.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'RM08M-EBELN'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." 1st time pass the X2 fields
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." pass the same value to repeated field
    APPEND bdcdata_wa TO bdcdata_tab.
    Endloop.
    Hope you can understand.
    Regards,
    Dhina..

  • Problem in BDC for TCode S_ALR_87013620

    Hi Gurus,
    I have recorded the BDC for TCode S_ALR_87013620.
    Executed the report S_ALR_87013620 by providing necessary details.
    Displays the report and then clicked on Report-> Print -> PrinterNa
    But when I execute through program it does not work. UNable to view Screens for Report-> Print->Printername
    screens.

    Hi   Praveen Kumar  
    Go TCode S_ALR_87013620
    In Program --> execute and print (Shift+f1)
    this will execute and print your report..
    i think ....no need BDC for printing  i guess.....
    Thanks
    Ramesh

  • Error in BDC for tcode fbcj

    Hello Everyone,
    I am working on bdc for tcode fbcj.
    I have done recording through shdb only till saving of a row and not posting of document as per requirement.
    Now the Problem I am facing is that through BDC I am able to enter transaction , do the data entry and then the regular message saying vendor 10000001 is subject to withholding tax. After getting this message The whole record row gets disappered. So I am not able to do the data entry through BDC.
    Please I request you all to help me in this regard.
    Thanks,
    Pranil Shinde.

    hi,
          First of all go to FK03 and give the vendor name and company code and tick mark
    Withholding Tax and then enter.
    Here you need to maintain the withholding tax information. To do that take the help of FI Consultant. and then execute FBCJ transaction. I hope you can resolve your issue.
    Regards,
    Kasuladevi

  • How to write BDC for tcode F-32

    Hi Experts,
    How to write BDC for tcode F-32 .
    is it possible i recorded in SHDB BUT IF I AM DOING IT'S COMING WRONG .
    plz guide me sir.
    regars,
    Hari
    Edited by: hari311 on Oct 27, 2009 9:22 AM

    There might be that when u provide the data in the selction screen of F-32 and press process open items some custom program might be attached to it and gets executed...
    chek it out..
    if so..
    pass the bdcdata of the second screen into a memory id
    export t_bdcdata into v_memid.
    in that custoom report jus import this..
    then fill the t_bdcdata with the header information and call the transcation f-32..
    Edited by: imran khan on Oct 27, 2009 9:35 AM

  • Problem when recording the data using BDC for Tcode CJ02.

    Dear Experts,
    When i am trying to record the data for TCODE : CJ02 i need to enter the project  Definition and enter the WBS element it takes me to the screen then i should select the WBS element and attach a file for that selected WBS element . The option for me to attach the attachment of file  will be available on the application area(Services for the Object).
    Now the problem when i try to do recording in SHDB this option like create attachement is not visible in the recodring . Kindly suggest me what can i do such that i attach the file for the particular project def and WBS element.
    Either suggest any function module or other procedure .......
    Regards,
    Sana.

    Hi,
      in BDC each and every action is recording. If your press enter in same screen that also recorded once aging may be this is your case repeating field values will appear. we can solve the problem for repeat fields like below.
    suppose in your excel having repeated field X1 X2 X3 the X2 contains repeated field X3 means delete the X3 field.
    Now In your itab having X1 and X2 fields. While in the LOOP the ITAB pass the X2 field to repeated the fields.
    LOOP at ITAB to WA.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'RM08M-EBELN'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." 1st time pass the X2 fields
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." pass the same value to repeated field
    APPEND bdcdata_wa TO bdcdata_tab.
    Endloop.
    Hope you can understand.
    Regards,
    Dhina..

  • Error "No batch input data for screen" in BDC for Tcode CN22

    Hi,
    The issue is When teh BDC code is run by Functional guys we are facing the error as "No batch input data for screen SAPLCONW 1100", when I am trying teh change the Network Activity Level User field in Tcode CN22. When I execute the same BDC code with Developer User id, it is executing perfectly.
    I have checked the User Profiles for both functional and Technical and both are same. What is my solution now?
    Regards,
    Deepthi.

    Hi
    Take Recording using the functional guy log in there might be user depended screen  sequence
    Regards
    Nilesh Gaikwad
    Edited by: Nilesh  Gaikwad on Jan 26, 2010 10:49 AM

  • Output type for tcode : F150

    Hi ,
    I am working with customer dunning letter - tr. F150
    I want to attach a modified zform to it .
    ( acopy of standard dunning into z with some layout changes )
    How to configure it / what is the output type for it / what is the application  type for dunning form?
    Regards
    Rajesh

    Hi,
    Assign in the IMG (SPRO) menu....
    Financial Accounting
    Account Receivable and Accounts payable
    Business transactions
    Dunning
    Printout
    All req configuration is done here...
    Regards
    Stu

  • GTS BAPI or BDC FOR Tcode /SAPSLL/PRODUCT_02

    Hello All,
       I need a help to upload data's in T-code /SAPSLL/PRODUCT_02 (SAP GTS ) Custom Product maintenance, i can't do with BDC because this t-code is having GUI, So kindly guide me how we can upload the data's in this t-code, and there is no BAPI or IDOC for this t-code.
    Thanks in advance.

    hi
    try using this FM /sapsll/product_change
    cheers
    s.janagar

  • Error in BDC for Tcode IB02

    Hi all
    I have written the code for deleting Line item and re-inserting that line item (for particulat Material) for IB02 using BDC.
    i am able to delete that line item but it is giving error while re-inserting that line item.It is giving error as " Field RC29-POSTP(3) does not exits on the screenSAPLCSDI 0140".If i commected that line it is giving error for another field. I tried so many times, but no use Plz Plz help me out
    LOOP AT equn_itab INTO w_equn_itab.
    CLEAR count.
    PERFORM bdc_dynpro      USING 'SAPLCSDI' '0200'.
    PERFORM bdc_field       USING 'RC29N-EQUNR' w_equn_itab-equnr.
    PERFORM bdc_field       USING 'RC29N-WERKS' w_equn_itab-werks.
    PERFORM bdc_field       USING 'RC29N-STLAN' w_equn_itab-stlan
    PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
    PERFORM bdc_dynpro      USING 'SAPLCSDI' '0150'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
    LOOP AT stpo_itab INTO w_stpo_itab WHERE stlnr = w_equn_itab-stlnr.
    count = count + 1.
    READ TABLE mara_itab INTO W_MARA_ITAB WITH KEY matnr = w_stpo_itab-idnrk
    IF SY-SUBRC EQ 0.
    CONCATENATE 'RC29P-AUSKZ(' count ')' INTO v_string.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                         v_string.
    PERFORM bdc_field      USING v_string 'X'.
    CLEAR v_string.
    ENDIF.
    ENDLOOP.
    clear v_string.
    PERFORM bdc_dynpro      USING 'SAPLCSDI' '0150'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=FCDL'.
    PERFORM bdc_dynpro      USING 'SAPLCSDI' '0150'.
    PERFORM bdc_field      USING 'BDC_OKCODE' '=FCNP'.
    PERFORM bdc_dynpro     USING 'SAPLCSDI' '0140'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
    LOOP AT stpo2_itab INTO w_stpo2_itab WHERE stlnr = w_equn_itab-stlnr.
    READ TABLE mara_itab INTO W_MARA_ITAB WITH KEY matnr = w_stpo_itab-idnrk
    concatenate 'RC29-IDNRK(' C ')' INTO V_STRING.
    perform bdc_field       using 'BDC_CURSOR'
                                   V_STRING.
    perform bdc_field       using V_STRING
                                  '1688'.
    CLEAR v_string.
    concatenate 'RC29-MENGE(' C ')' INTO V_STRING.
    perform bdc_field       using V_STRING
                                  W_STPO2_ITAB-MENGE.
    CLEAR v_string.
    concatenate 'RC29-MEINS(' C ')' INTO V_STRING.
    perform bdc_field       using V_STRING
                                  W_STPO2_ITAB-MEINS.
    CLEAR v_string.
    READ TABLE MARC_ITAB INTO W_MARC_ITAB WITH KEY MATNR =
    W_STPO2_ITAB-IDNRK.
    READ TABLE zmrp_bom_itab INTO W_zmrp_bom_itab WITH KEY DISPO =
    W_MARC_ITAB-DISPO.
    CONCATENATE 'RC29-POSTP(' C ')' INTO V_STRING.
    perform bdc_field       using V_STRING
                                  W_zmrp_bom_itab-POSTP.
    C = C + 1.
    ENDLOOP.
    CLEAR C.
    PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
    PERFORM bdc_field      USING  'BDC_OKCODE' '=FCBU'.
    PERFORM bdc_dynpro      USING 'SAPLCSDI' '0150'.
    PERFORM bdc_field      USING  'BDC_OKCODE' '=FCBU'.
    PERFORM bdc_dynpro     USING  'SAPLCSDI' '0130'.
    PERFORM bdc_field      USING  'BDC_OKCODE' '=FCBU'.
    PERFORM bdc_dynpro     USING  'SAPLCSDI' '0130'.
    PERFORM bdc_field      USING  'BDC_OKCODE' '/EENDE'.
    PERFORM bdc_calltransaction USING c_ib02.
    Thanks in advance
    Regards
    Rao

    Hi,
    CONCATENATE 'RC29-POSTP(0' C ')' INTO V_STRING.
    Value would be 03 & not 3.
    Best regards,
    Prashant

  • Help in bdc for tcode MEK1

    Hi,
    I am creating a recording for transaction MEK1. Based on the condition type specified , the next screen comes based on key combination. I want to check in the program that out of all the key combination user have selected which combination.
    For ex. for conditon type ZAVS the key combination comes as
    1) county/region/material
    2) country/region/vendor
    3) vendor
    If the vendor selects key as vendor then how to take the value for BDC program.
    Thanks,
    Anil N.

    Hi..,
    That option wl be selection indicator. Right?
    Then pass the value 'X', to select reuired one.
    While recording this screen, after entering the condition type , click on key combination.and then you wl get new pop up with radio buttons.
    just select one by one radio button from top to bottom.
    (here prefer the combination which is having more choices)
    and then you should get code like this..,
    perform bdc_field       using 'RV130-SELKZ(01)'
                                  'record-SELKZ_01_002
    perform bdc_field       using 'RV130-SELKZ(02)'
                                  record-SELKZ_02_003.
    perform bdc_field       using 'RV130-SELKZ(03)'
                                  record-SELKZ_03_004.
    perform bdc_field       using 'RV130-SELKZ(04)'
                                   record-SELKZ_04_005.
    perform bdc_field       using 'RV130-SELKZ(05)'
                                   record-SELKZ_05_006.
    So here pass the X value in one of this where ever you want depeneding on your reuirement.
    With above code you can select any one of given five, to select one of from given six we have to add one more field, thats why while recording only you have to record the combination which is having more records.
    With in the loop you can implement the logic with if condition to pass the X value to reuired one.
    Thanks,
    Naveen.I

  • Modifying Dunning Report F150_DUNN_01 for Tcode F150

    Hi Guys,
           I need to modify the standard Dunning Report F150_DUNN_01. I copied the standard onw to Zform. I need to add windows. And am calling external subroutimes in that script. Is it possible to transfer internal table between script and external subroutine with using and changing parameters? And also please tell me how to proceed customizing.
    Thanks in Advance.
    Regards,
    Hemanth

    Hi Hemanth,
    Customizing:
    You can go the Transaction FBMP and add your Form name as well as the Print Program name.
    These would be call when ever you run the dunning Program.
    From the Layoutset yuo can use the  PERFORM subroutine using and changing parameters which would have the Structure ITCSY.
    The Form then needs to be present in the Driover Prpgram.
    Please let me know if this is useful.
    Regards,
    Deepak

  • BDC for VBO2 Tcode

    Dear All,
       I am trying to write a bdc for tcode VBO2 (Agreement). in this i have ti give agreement number and then on second screen i have to select the PAY push button for clearing the amount.
    In this i am not able to catch the pay table control as to on which index i have to pass my records.
    Regards
    Amit

    Dear,
       I know this but teh problem is i have 2 tables in my bdc one is xkonp where i get the value i.e. mpwrt whereever i get this value means i have to update the same value in bzwrt field. but in xkonp i have all the data. but in PAy tab when we go table control fills up from knopd table where as i also have xvake table in my program where the index is not updated. so means in xkonp wherever i get mpwrt take knumh of that row and check in xvake table you will get the exact row of table control where that value needs to be updated in bdc. in xvake i am not getting the indexes. any help on this.
    Regards
    Amit

  • Problem in BDC FOR uploading more than 1 insep. typ in QM view for MM01

    Hi,
    I had made a BDC in which i am trying to upload the data for the QM view which is being extended in it but the problem is when the program reaches the to QM view it is only able to upload only 1 inspection Type which is working fine but when there is more than 1 it gives error that its QM View has already maintained.  Please provide me guiddlines how to solve this problem .
    Here's is the link to the code which i am trying to modify:-
    http://docs.google.com/Edit?id=dngp529_2fxwgmrgg
    Edited by: ricx .s on Apr 16, 2009 2:30 PM

    hi,
    But is it not possible that while creating the insepction type for the first it should simultaneously take the value of 2nd inspection type .
    see,ina bdc of qp01 or ca01 we can insert the values at the screen but why can't we do d same in the bdc of mm01,
    I had made a bdc for tcode MM02 in which i am able to upload  the data but in that there is a problem that some of the materials have the Quality managmnt View at position no. 11 or 13 of the screen.
    here's is d link for the code of the program :-
    http://docs.google.com/Doc?id=dngp529_3wcgnjdf3
    plzz provide me guidelines how to solve it    .
    Edited by: ricx .s on Apr 17, 2009 9:26 AM
    Edited by: ricx .s on Apr 17, 2009 10:56 AM

  • BDC FOR F-58 - BKPF-BLART NOT FOUND ON DYNPRO

    Hi everyone,
    I am doing the bdc for tcode F-58 based on the parameters given by SM35. When I run it with the program, it suddenly stops showing the error message, "Field BKPF-BLART not found on dynpro sapmf05a 0129". I need to set the bkpf-blart field to a specific one (electronic payment) but it seems bdc doesn't allowed me to do such a change. do you know how does this happens or how can it be solve, or where can i take a look ?
    Thanks on any advice.
    Silvia

    BKPF-BLART is very much there on the specified screen SAPMF05A 0129.
    although quite a few FI transactions behave differently when run normally compared to when a recording is done on them, i don't think this transaction will fall in that category (especially this field). check your code once again.
    rgds,
    PJ

Maybe you are looking for

  • EXPORT/IMPORT TABLE DATA FROM ONE SCHEMA TO ANOTHER ONE (S.O.S)

    Hi, I urgently need your help:(, I have two different instances, in each of them there are two schemas, A and B; which tables are the same, but I need to transfer JUST the table data from A's tables to B's tables, how can I do so?? Thanks in advance,

  • Problem in at selection-screen on value request

    hi friends ,       i want to display f4 help for a field in a popup. this i can do, but this popup comes based on values i entered in other screen fields . but these values are not updated to screen values when i trigger f4.

  • Network Homes issue with printing presets not the same with each mac logged into

    Hi I have a SMB who use a ML Server with network homes, each user logs into any of the iMacs in the building and their home mounts. No issues their my problem is that printings wise each iMac has the same printers set up with the same name but if a u

  • How to get subtitles in different idioms

    Hi there, Do you know how to (or if we can) get subtitles in different languages when it is an english movie? Not sure it is possible..... Thanks. Jr

  • Initialize FACTOR in Data Allocation

    Hi All, I need to initialize Factor value to something like, FACTOR=1+USING/TOTAL in data allocation logic in SAP NW 7.0 SP02 version. its throwing error like its not valid even if am using this with various combinations of [] or () for the expressio