BDC problem with F-30

Hi All,
I want to record a BDC for F-30 to clear the deduction line items for a Document. These deduction line items have a "Reason code" with it... When I select a Document Number in F-30, it displays all the line items in a table control.. I need to select and clear only those items with "Reason code" in that...
How can I select a line item from the table control and clear it based on the reason code in a BDC?
I have looked at the previous posts... I have seen a solution provided by filling the structure BSELP. How this can be included in the program and how to fill the values... Is there any limit for the values to get it filled?.. Because I could see
FELDN_1 to FELDN_18 in BSELP structure.....
BDC problem in F-30
BSELP-FELDN_1 = "BELNR"
BSELP-SLVON_1 = "00002222221997003"
How the rfbibl00 program works?
Thanks for the help,
Asha

Hi,
    Use BAPI_PAYIT_POST_CLEARING
or  FM POSTING_INTERFACE_CLEARING
or
try this code for transaction fb05:
DATA: BEGIN OF bkey OCCURS   0,
        belnr LIKE bseg-belnr,
        gjahr LIKE bseg-gjahr,
        buzei LIKE bseg-buzei,
      END OF bkey.
*Dynpro 122 - Header
    PERFORM bdc_dynpro USING 'SAPMF05A' '0122'.
    PERFORM bdc_field USING 'BKPF-BLDAT' agz-datum.
    PERFORM bdc_field USING 'BKPF-BLART' augblart.
    PERFORM bdc_field USING 'BKPF-BUKRS' htab-bukrs.
    PERFORM bdc_field USING 'BKPF-BUDAT' agz-datum.
    PERFORM bdc_field USING 'BKPF-WAERS' t001-waers.
    IF t003-xmref = 'X'.
      IF htab-xblnr <> space.
        PERFORM bdc_field USING 'BKPF-XBLNR' htab-xblnr.
      ELSE.
        PERFORM bdc_field USING 'BKPF-XBLNR' text-aag.
      ENDIF.
    ENDIF.
    UNPACK vorgang TO zeile.
    PERFORM bdc_field_loop USING zeile 'RF05A-XPOS1' 'X'.
    PERFORM bdc_field USING 'BDC_OKCODE'     'SL'.
    LOOP AT itab WHERE marked = 'X'.
*Dynpro 0710 -
      PERFORM bdc_dynpro USING 'SAPMF05A' '0710'.
      PERFORM bdc_field USING 'RF05A-AGKON' agku-kunnr.
      PERFORM bdc_field USING 'RF05A-AGBUK' agku-bukrs.
      PERFORM bdc_field USING 'BDC_OKCODE'     'SLB'.         "ins
*Dynpro 0733 - insert fi-document-nr.
      PERFORM bdc_dynpro USING 'SAPMF05A' '0733'.
      CLEAR:   zeile, cnt.
      LOOP AT htab WHERE agzif = agc-nr AND xfeld = 'X'
                    AND bukrs = agku-bukrs AND kunnr = agku-kunnr.
        CLEAR bkey.
        cnt = cnt + 1.
        UNPACK cnt TO zeile.
        PERFORM bdc_field_loop USING zeile 'RF05A-FELDN' 'BELNR'.
        MOVE-CORRESPONDING tab TO bkey.
        PERFORM bdc_field_loop USING zeile 'RF05A-SEL01'  bkey.
      ENDLOOP.
<b>Reward points</b>
Regards

Similar Messages

  • BDC -Problem with mode 'N'

    Hi
    BDC with mode 'A'  is working correctly  but when I make the mode 'N' it gives a dump.
    With mode 'A' the record is updated , what may be the cause?
    Thanks

    I am using the tcode 7kE1 for bdc , it works perfectly with mode 'A' , but not with mode 'N', It give error  'Message_Type_Unknown' .
    there is no problem with the file as values are going correctly in tcode
    Edited by: Puneeta Parnami on Jun 12, 2009 12:57 PM

  • BDC problem with back button

    Hi all,
    i have idoc number in alv output.when the user clicks on this ,it should take the control to BD87 transaction with idoc number getting transferred there .also BD87 screen has changed on select option where the default is sy-datum .i need to clear this along with transfer of idoc number.
    i tried using submit statement,but its not working.
    then i used call transaction in error mode to acheive this functionality and i was sucessful.
    beloe is my code:
       REFRESH bdcdata.
            READ TABLE t_out INTO wa_out INDEX rs_selfield-tabindex.
            DATA: lv_mode(1) TYPE c VALUE 'E'.
            PERFORM bdc_dynpro      USING 'RBDMON00' '1100'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'SX_UPDDA-HIGH'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=CRET'.
            PERFORM bdc_field       USING 'SX_DOCNU-LOW'
                                          wa_out-docnum.
            PERFORM bdc_field       USING 'SX_CRETI-LOW'
                                          '00:00:00'.
            PERFORM bdc_field       USING 'SX_CRETI-HIGH'
                                          '00:00:00'.
            PERFORM bdc_field       USING 'SX_UPDDA-LOW'
            PERFORM bdc_field       USING 'SX_UPDDA-HIGH'
            PERFORM bdc_field       USING 'SX_UPDTI-LOW'
                                          '00:00:00'.
            PERFORM bdc_field       USING 'SX_UPDTI-HIGH'
                                          '00:00:00'.
            PERFORM bdc_call_transaction USING 'BD87' lv_mode 'N'.
    So,the control directly takes me inside the BD87 screen just after the screen which we get after execting the selection screen of bd87 with idoc details
    the problem is whn i click on back button or F3,the control does not take me back to the ALV output screen rather it takes me to the selection screen of BD87.
    So,any way out to solve the back button problem???
    Thanks

    Hi Kunal,
    That's a really tough report to handle by submit.
    You can try to call the transaction in error mode and place one moment to force the screen to appear. Then complete the BTCI with the last steps to exit the selection screen.
    Try it like this:
    REFRESH bdcdata.
    READ TABLE t_out INTO wa_out INDEX rs_selfield-tabindex.
    DATA: lv_mode(1) TYPE c VALUE 'E'.
    PERFORM bdc_dynpro USING 'RBDMON00' '1100'.
    PERFORM bdc_field USING 'BDC_CURSOR' 'SX_UPDDA-HIGH'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=CRET'.
    PERFORM bdc_field USING 'SX_DOCNU-LOW' wa_out-docnum.
    PERFORM bdc_field USING 'SX_CRETI-LOW' '00:00:00'.
    PERFORM bdc_field USING 'SX_CRETI-HIGH' '00:00:00'.
    PERFORM bdc_field USING 'SX_UPDDA-LOW' ''.
    PERFORM bdc_field USING 'SX_UPDDA-HIGH' ''.
    PERFORM bdc_field USING 'SX_UPDTI-LOW' '00:00:00'.
    PERFORM bdc_field USING 'SX_UPDTI-HIGH' '00:00:00'.
    *btci is interrupted in presentation of the result screen
    *last steps to exit selection screen
    PERFORM bdc_dynpro   USING 'RBDMON00' '1100'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '/ECBAC'.
    PERFORM bdc_field       USING 'BDC_CURSOR' 'SX_UPDDA-LOW'.
    *use error mode in call transaction
    CALL TRANSACTION 'BD87' USING bdcdata MODE 'E'.
    *PERFORM bdc_call_transaction USING 'BD87' lv_mode 'N'.
    hope it helps,
    Edgar

  • Problem with BDC on VA02

    Hi All,
    I am facing a problem with bdc on va02. After hitting enter on the first screen it pops an info message "consider subsequent douments". It doesn't get recorded in recorded. Hence I am not able to run the transaction with no screen mode. Please help me to suppress the info message
    Navin

    Hi Navin,
    These kind of messages and pop ups are precisely the reason why use of BDC for updating transactions is NOT advisable.
    If you were to bypass such messages, you would have to put a check to see why the message appears (in this case probably because the sales document flow for the sales order in table VBFA has some documents) and then write a logic to either handle the message or not.
    Instead i would recommend you use the BAPI functions provided by SAP to change the sales order.
    Have a look the BAPI for sales order change attached to the business object BUS2012. For this goto transaction SWO1 and enter the BUS2012 business object. Then goto methods and look for the "change" method. Double click on the method and look at the BAPI used to implement the method. Go ahead and use this method in your program as against a BDC.
    I am sure it will be a much better option.
    Otherwise if you still want to proceed with a BDC, please debug at the point where the message/pop up appears to ascertain reason for the same and then incorporate the same check in your program to handle the pop up.
    Regards,
    Aditya

  • Bdc upload file data into internal table problem with gui_upload fm

    Hello experts,
    my coding is like this ..
    data : begin of itab occurs 0 .
    field1 like mara-matnr,
    field2......
    etc,
    end of itab.
    data: file1 type string.
    parameter :file like rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
    static = 'X'
    mask = space
    field_name = 'FILE'
    CHANGING
    file_name = file.
    START-OF-SELECTION.
    FILE1 = FILE . "HERE I AM PASSING INTO STRING
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = FILE1
    FILETYPE = 'ASC'
    has_field_separator = 'X'
    TABLES
    data_tab = itab. " here the data is not populating from the file , it is giving the error like speified table not found.
    HERE i am getting the message like "specified table name not recgonised" . the data is not populating into the itab from the file.
    file structure is same as the internal table.
    I stored the file as .txt( ie in notepad).
    my file is like this..
    10000 200 323 sunndarrr.......
    i had a problem with this bdc , i am getting like "specified table name not recgonised" in the fm gui_upload while debugging.
    when i am using the ws_upload it is working fine.
    please guide me where i have done the mistake.
    thank you so much for all the replies.

    Hi,
    Have a look on the following code.
    TABLES: kna1.
    DATA: BEGIN OF itab1 OCCURS 0,
          str(255),
          END OF itab1.
    DATA: itab2 TYPE kna1 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'WS_UPLOAD'
      EXPORTING
        filename                = 'D:\ABAP EVE\ffile1.txt'
        filetype                = 'ASC'
      TABLES
        data_tab                = itab1
      EXCEPTIONS
        conversion_error        = 1
        file_open_error         = 2
        file_read_error         = 3
        invalid_type            = 4
        no_batch                = 5
        unknown_error           = 6
        invalid_table_width     = 7
        gui_refuse_filetransfer = 8
        customer_error          = 9
        no_authority            = 10
        OTHERS                  = 11.
    IF sy-subrc <> 0.
      WRITE:/ 'sorry'.
    ELSE.
      LOOP AT itab1.
        SPLIT itab1-str AT ',' INTO itab2-kunnr itab2-name1.
        APPEND itab2.
      ENDLOOP.
      IF sy-subrc = 0.
        LOOP AT itab2.
          WRITE:/ itab2-kunnr,itab2-name1.
          INSERT INTO kna1 VALUES itab2.
        ENDLOOP.
        IF sy-subrc = 0.
          WRITE:/ 'inserted'.
        ELSE.
          WRITE:/ 'not inserted'.
        ENDIF.
      ELSE.
        WRITE:/ 'fail'.
      ENDIF.
    ENDIF.
    Flat file:
    10001,Sadney
    10003,Yogesh
    20005,Madan
    1.U need to define internal table with one field of max size
    2.upload the flat file data into that internal table
    3.split that internal table data into another internal table(having fields)
    <REMOVED BY MODERATOR>
    thanks,
    Chandu
    Edited by: Alvaro Tejada Galindo on Apr 30, 2008 12:17 PM

  • Transaction AIAB (Auc Settlement) -  Problem with BDC

    Dear Friends,
              Problem: I am trying to distribute the amount of a asset (Auc) to other assets on line item basis by using BDC for transaction AIAB. I am facing problems when using amount based through BDC.
           Can you please suggest ASAP if any FM or BAPI's available to achive this for transaction AIAB?
    Thanks,
    Ram.

    Hi Ravi,
    Thanks for your valuable reply..
    Everything is fine if i run the transaction in ALLSCREEN mode, but iam facing the problem with the same after running it in NOSCREEN mode 'N'..
    Pls help..

  • Strange problem with backgroung processing of BDC for Transcation CLMM

    Folks,
    I have encountered strange problem with BDC.I created an ALV report from output i select any number of rows and hit insert class button on top. If i select less than 10 row and use this statement
    call transaction 'CLMM' mode 'N'
    ,it works fine but if i select more than 10 rows ,the sy-subrc after this statement  
    call transaction 'CLMM' mode 'N'
    is 1001 means an error. I cant understand this problem of Mode N. if  i put statement
    call transaction 'CLMM'
    (foreground processing) here ,everything works fine. Do you have any idea?
    Nirad

    Hi,
    The problem is due to the screen size which can differ between foreground and background mode.
    A screen with 10 table rowsin foreground does not necessarily mean same number of rows would be available in background mode.
    Hence its always better to create recording with Simulate Background Mode as checked.
    When you enter transaction code 'CLMM' in SHDB transaction and start recording, check Simulate Background Mode.
    Hope this helps!
    Cheers,
    Vikram

  • Problem with the table control BDC in FV60 transaction

    Hi All,
    I got the problem with the table control in FV60 transaction.
    This is working for 900 line items.After 900 line items it is giving the problem like it is 1000th line item.You can post only 999 line items.
    I know we can post only 999 line items,but in my file only 920 line items.
    Please give me solution,if anybody come across this situation.
    Thanks & regards,
    rakesh.

    Hello Rakesh ,
    your file may have only 920 line items , but based on those line items, SAP may create few more  new lines ( based on the clearing recon accounts , inter company transaction ...etc )...
    regards
    Prabhu

  • Problem with BDC- file transfer

    I am able to open the file but the Contents of a file are not read.

    Hi,
    I think you are looking for BDC Problem, Its wrong forum to dicuss about it.
    Refer - this could help you
    How to upload  excel file
    data set problem bdc
    Thanks
    swarup

  • Problem with SET GET parameters

    Hi all,
    I am facing a problem using SET and GET parameters.
    There is a Z transaction(Dialog program) where some fields of screen are having parameter ID's. That transaction is designed to diaplay/change status of only one inspection lot at a time.
    Now I need to call that transaction in a loop using BDC. I mean i need to update the status of multiple inspection lots(one after the other). Before calling the transaction I am using
    SET PARAMETER ID 'QLS' FIELD lv_prueflos.
    Unfortunately the transaction is only changing the first inspection lot. When I debugged I found that the screen field is changing in PAI. Even though in PBO it shows the next value, when it goes to PAI it is automatically changing to the first value(inspection lot).
    Example: Inspection Lots : 4100000234
                                               4100000235
                                              4100000236
    Now first time when the call transaction is being made the status of insp lot 4100000234 is changed. For the second time when insp lot 4100000235 is being passed in PBO ican see this. But the moment it enters PAI the screen field changes to 4100000234.
    Could you pls help me in solving this issue.
    Thanks,
    Aravind

    Hi,
    Problem with SET GET parameters
    Regarding on your query. Follow this below link.
    It will help you.
    Re: Problem with Set parameter ID
    Re: Problem in Set parameter ID
    I Hope it will helps to you.
    Regards,
    Sekhar

  • Problem with checkbox in the selection screen

    Hi guys,
    I have a problem with the check box in the selection screen.When i select a check box then a field in the selection screen should be enabled for entering a value.Again if i unselect the checkbox then the field should be disabled for entering a value.I have written the code in at selection-screen output.
    The problem is when i select the check box ,the field is not enabled.But when i press enter after selecting the checkbox then the field is enabled for input.It is the same when i unselect the checkbox,after i press enter only the field is getting disabled.What could be the problem.Any suggestions please?
    Thanks.

    Hi d p
                 Please try this code . I think this code have some way that you would like.
    REPORT  zdownload_to_application_server.
    TABLES : caufvd, jest.
    I N C L U D E  P R O G R A M                                        *
    *INCLUDE znrpstnd.
    Selection Screen                                                    *
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
    PARAMETERS: p_outb RADIOBUTTON GROUP g1 USER-COMMAND outb DEFAULT 'X' ,
                p_inb RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK b3.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETERS : p_werks LIKE caufvd-werks MODIF ID a.        " Plant   "OBLIGATORY
    SELECT-OPTIONS  :  s_auart FOR caufvd-auart MODIF ID a,       " Order Type
                       s_aufnr FOR caufvd-aufnr MODIF ID a.       " Order number
    PARAMETERS: p_path TYPE string DEFAULT 'C:\SchedulerInterface-OutboundTextFile\' MODIF ID a,
                p_actual AS CHECKBOX MODIF ID a.                  " Transfer Actual
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
    PARAMETERS : p_werks2 LIKE caufvd-werks MODIF ID b,   " Plant   "OBLIGATORY
                 p_path2 TYPE string DEFAULT 'C:\SchedulerInterface-InboundTextFile\' MODIF ID b,
                 p_path3 TYPE string DEFAULT 'C:\SchedulerInterface-InboundTextFile\' MODIF ID b,
                 p_sessio TYPE apqi-groupid MODIF ID b.   " BDC Session
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN OUTPUT.
      IF p_outb EQ 'X'.   " Outbound --> Hide inbound
        LOOP AT SCREEN.
          "IF screen-name = '%BT02011_BLOCK_1000'.
          IF screen-group2 = 'BLK'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'A'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'B'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          "IF screen-name = '%BT01004_BLOCK_1000'.
          IF screen-group3 = 'BLK'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'A'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'B'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path2.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_path         = 'C:\SchedulerInterface-InboundTextFile\'
          mask             = ',Text Files,.txt,All files,.*.'
        IMPORTING
          filename         = p_path2
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path3.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_path         = 'C:\SchedulerInterface-InboundTextFile\'
          mask             = ',Text Files,.txt,All files,.*.'
        IMPORTING
          filename         = p_path3
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
    TOP-OF-PAGE.
    START-OF-SELECTION.
    Regards
    Wiboon

  • Problem with SUBMIT report [ WITH SELECTION-TABLE ] or [ IN range ]

    Hello Everybody,
    I am trying to call transaction F.80 for mass reversal of FI documents by using SUBMIT sentence and its parameters like this:
      LOOP AT i_zfi013 INTO wa_zfi013.
        PERFORM llena_params USING 'BR_BELNR' 'S' 'I' 'EQ' wa_zfi013-num_doc ''.
    range_line-sign   = 'I'.
    range_line-option = 'EQ'.
    range_line-low    = wa_zfi013-num_doc.
    APPEND range_line TO range_tab.
    endloop.
    Line: -
          SUBMIT sapf080
            WITH br_bukrs-low = p_bukrs
            WITH SELECTION-TABLE it_params  [ same  problem with -  WITH BR_BELNR IN range_tab]
            WITH br_gjahr-low = p_an1
            WITH stogrd = '05'
            WITH testlauf = ''
            AND RETURN.
    My problem is that  when the report is executed the BR_BELNR only delete one document of the all the inputs in the selection criteria from the loop. if I add the statement [ VIA SELECTION-SCREEN] in the SUBMIT if open the multiple selection criteria in the screen I can check that all the documents are set in it from the ABAP code in the loop from it I just need to push F8 to copy them and run the program processing all the documents normally .
    Can some one help me with this? is there a way to execute the transaction BY the SUBMIT with the multiple selection criteria for the Document Number working well?
    Thank for you time and help.

    This is my code:
      TYPES: BEGIN OF T_ZFI013,
              BUKRS     TYPE BUKRS,
              GJAHR     TYPE GJAHR,
              MONAT     TYPE MONAT,
              ANLN1     TYPE ANLN1,
              ANLN2     TYPE ANLN2,
              NUM_DOC     TYPE BELNR_D,
              DATE     TYPE DATUM,
              TIME  TYPE UZEIT,
              USER     TYPE SYUNAME,
             END OF T_ZFI013.
       DATA: I_ZFI013  TYPE STANDARD TABLE OF T_ZFI013,
             WA_ZFI013 TYPE T_ZFI013,
      DATA: br_belnr       TYPE BELNR_D,
            rspar_tab  TYPE TABLE OF rsparams,
            rspar_line LIKE LINE OF rspar_tab,
            range_tab  LIKE RANGE OF br_belnr,
            range_line LIKE LINE OF range_tab."range_tab.
      LOOP AT i_zfi013 INTO wa_zfi013.
        range_line-sign   = 'I'.
        range_line-option = 'EQ'.
        range_line-low    = wa_zfi013-num_doc.
        APPEND range_line TO range_tab.
      ENDLOOP.
      SUBMIT sapf080
        WITH br_bukrs-low = p_bukrs
        WITH br_belnr IN range_tab
        WITH br_gjahr-low = p_an1
        WITH stogrd = '05'
        WITH testlauf = ''.
    This is the RANGE_TAB table before submit:
    1     I     EQ     1001xxxxxx
    2     I     EQ     1002xxxxxx
    3     I     EQ     1003xxxxxx
    4     I     EQ     1004xxxxxx
    5     I     EQ     1005xxxxxx
    6     I     EQ     1006xxxxxx
    7     I     EQ     1007xxxxxx
    8     I     EQ     1008xxxxxx
    I think this wont work for some reason so I will start to do this by a BDC.
    Many thanks for your help.

  • Problem with a view in XK01 transaction

    Hi All,
    I am working on upload conversion for Vendor Master. While doing conversion, i am getting a problem with a Contact person view in XK01 transaction. In contact person view the telephone field column sometimes allowing to add data ,sometimes it's not allowing data which results an error in conversion program saying that the telephone field in not an input field. I don't know why the view is showing the telephone field like that.
    Can any one suggest the solution for this problem. I know this is configuration problem with a view but i posted in ABAP forums.
    Thanks

    Hi Ben,
    I assume that you are writing a BDC program to upload contact person information. If so, you are trying to populate a table control here. Please check to see if you are calculating the index to assign values to the correct rows.
    if you are calculating index in your program then i think it should be configuration problem as you said.
    Thanks,
    Ganesh.

  • Problem with GET PARAMETER in "O4K_LICENSE" Transaction

    Hi folks,
    I am facing a problem with the usage of "GET PARAMETER ID" in the transaction O4K_LICENSE (IS-oil).
    I have written a BDC which feeds in the License Type, External License type and a few other Mandatory fields to the Transaction, and on saving the transaction, SAP generates an "Internal License Number". This field has a Parameter ID "OIH", and I am using the command
    GET PARAMETER ID 'OIH' FIELD lw_licin.
    For the first pass of the loop, there is a value coming into lw_licin, but in the later loops this Value is not refreshing and the value which is coming into lw_licin is not changing. But the Database table OIHL is getting updated with the correct Internal License number values.
    So, my question is, is there anyway by which i can refresh the SAP Global Memory after every loop pass?
    Or, is there any way out to get the new generated values into lw_licin ?
    Thanks in advance,
    Vijay.

    Hi
    If you clear the parameter, you should transfer a blank value to it:
    DATA: NO_VALUE.
    SET PARAMETER ID <ID> FIELD NO_VALUE.
    Now the problem is this statament should be into loop and i think the transaction only does the GET PARAMETER.
    If transaction doesn't do the SET PARAMETER yuo can do anything.
    In your standard program there should be something like:
    LOOP...
    IF SY-TABIX > 1.
      SET PARAMETER ID <ID> FIELD NO_VALUE.
    ENDIF.
    ENDLOOP.
    but I think it's very hard there is a piece of code like that, and you can do nothing, because you can only set the parameter before calling the transaction (in bdc mode) and after calling the transaction but not while the transaction is working.
    You should change the standard program to do this.
    Max
    Message was edited by: max bianchi

  • Problem with CJ02

    hi
    i am doing a BDC to post the settlement rules using CJ02 tcode
    but the problem is, some of the fields in screen 300 of CJ02 (GBISP GBISJ GABPE GABJA ) are not accepting any inputs in production but every thing is fine in quality
    message is some thing like this 'Fields GBISP is populating with data.
    can any one tell me what can be the problem

    Hi Ravi,
    Thanks for your valuable reply..
    Everything is fine if i run the transaction in ALLSCREEN mode, but iam facing the problem with the same after running it in NOSCREEN mode 'N'..
    Pls help..

Maybe you are looking for