VL02N Batch INPUT, change field LFIMG

HI gurus,
On a selection screen i have those:
parameters: p_vbeln
select-options: s_posnr
parameter: p_lfimg
I did a BATCH input on VL02N on a delivery that has 2 items. When i'm trying to change the delivery quantity using the parameters and the select options on the selection screen i can't modify the field LFIMG with the value of parameter p_lfimg.
PERFORM bdc_dynpro      USING 'SAPMV50A' '4004'.
  PERFORM bdc_field       USING 'BDC_CURSOR' 'LIKP-VBELN'.
  PERFORM bdc_field       USING 'BDC_OKCODE' '=ENT2_T'.
  PERFORM bdc_field       USING 'LIKP-VBELN'  <b>wa_lips-vbeln. </b>  "aici
  PERFORM bdc_dynpro      USING 'SAPMV50A' '1000'.
  PERFORM bdc_field       USING 'BDC_OKCODE'  '=SICH_T'.
PERFORM bdc_field       USING 'LIPS-POSNR'  wa_lips-posnr.
PERFORM bdc_field       USING 'BDC_CURSOR' <b>'LIPSD-G_LFIMG(01)'.</b>
  PERFORM bdc_field       USING 'LIPSD-G_LFIMG(01)' p_lfimg.  "aici
THE PROBLEM is that vl02N modifies only the field 01 , although i want to modify the quantity for the position posnr that i've selected in select-options. How can i tell SAP to go and modify delivery quantity for the position that i;ve selected in select-options?
Pls help.

Previous answer was copy pasted from LSMW loading multiple structured records..

Similar Messages

  • Batch input, test field value

    Hi all,
    Is it possible to test if field value is editable while running a batch input?
    For example if screen has a date field which is not editable - how can I test this in my program?
    tia,
    Ville Leivo

    One option is to check the field status group as mentioned by Andreas above in case of FI Xns.
    Another one is that in case you encounter an error for this in BDC ...then you can check from the error message ( & ID combination ) as which field is throwing this error and then re-populate the BDCDATA withouht including this field and then reprocess.
    You should be able to identify the field using exact error msgid and message variables for encountered error.
    Cheers,
    Ram

  • Length error in Batch input (ME12).

    Hello all,
    I've create a report which generate a batch input for transaction ME12. The batch input changes the conditions for inforecord.
    The error occurs when the field <b>Rate</b> is filled : <b><i>Field KONP-KPEIN(1) input value is longer then screen field</i></b>.
    I've try different ways to assign value to this field ( even of  length 1), but still get the same error. I think this is because the field BDCDATA-FVAL is of 132 chars.
    Do you know why this is happening? Or how to solve it? or some FM's to change inforecord conditions?
    Thank you a lot!
    A beautiful day!
    Bogdan

    Hi,
    for p - fields try in such a way:
    data char5(5).
    write KONP-KPEIN to char5.
    -> use char5 for bdc-val
    Andreas

  • Batch input with customer fields

    I have to create a batch input process that post documents through FB01L.
    As the lines of each document have been added customer fields, when I tried to go from one line of the document to the following one, a screen appears when I have to introduce some data (two of the fields are mandatory). I had solved these issue by ending with a "Call Transaction" with option "No batch input" = 'X'. This way, these customer fields appear directly in the screen, and not in a popup screen, so the batch input process was very easy.
    But, I have been told that I don't have to use "Call transacion", I have to create a session, and the user will post the document by launching it in SM35. This way, even adding "No batch input" = 'X' in the options of "BDC_INSERT", the popup screen appears when running the session.
    So, is there any way of running the session in SM35 with the option "No batch input"? If it's not possible, which is the best option of dealing with these popup screens? I have been able to go from one dynpro to another, and to open that popup screen, but I can't fill the mandatory fields.
    I hope you understand my problem, please excuse my English.

    Hi ,
    Go to the T code Mass , put the object as KNA1 for customers .
    Execute the same and you will find all the option available for making mass changes .
    In case if your requirement does not meet here then you will have to go for a LSMW .
    Regards ,
    Dewang T

  • BAdI: Field LIFNR not ready to accept input (Change will not be adopted)

    Dear Guruz...\
    given below is the warning with message number
    BAdI: Field LIFNR not ready to accept input (Change will not be adopted)
    Message no. MIGO050
    while i am trying to enter the batch name for removal for scrapping and clicking check this warning is being displayed.
    KIndly if you are having any other solutions in customizing other than using BADI... pl discuss..

    Hi,
    You must have some kind of BAdI (probably MB_MIGO_ITEM_BADI och MB_MIGO_BADI) that places a value in the field LIFNR (vendor). However, this field is not open for entry and hence SAP ignores the value provided by the BAdI.
    Either correct your BAdI so it doesn't populate the field when the latter is not available (e.g. based on the mvt /special stock ind.) or live with this warning message - it is harmless.
    BR
    Raf

  • Change EKPO-KZWI6 in Batch input

    Hi experts.
    I'm creating a PO in ME21 via batch input and need to change the field EKPO-KZWI6, but I can't find this field in the transaction screens.
    How would you guy suggest me to do it?
    Thanks in advance,
    Alm.

    Hi
    That is a field for the subtotal of the pricing, so it's not available in the screens:
    here the system save a subtotal of a certain number of conditions: the rule is decided in the customizing of the price.
    So you need to change those conditions in order to modify your field
    Max

  • Batch Input - Fill hidden fields

    Hello to all,
    I've got a selection screen with 2 fields like:
    SELECT-OPTIONS s_docnum FOR edidc-docnum NO INTERVALS.
    PARAMETERS p_wfst TYPE c NO-DISPLAY.
    The parameter p_wfst isn't displayed on the selection screen.
    Now I want to call this screen via
    CALL TRANSACTION 'ZPROGRAM' USING lt_bdcdata .
    but I get an error:
    field P_WFST is not found on dynpro ZPROGRAM 0100
    How can I fill this hidden field?
    Regards Christian

    You cannot pass a parameter that is not input-enabled by batch-input, you must look for an other soluition.
    Some proposals :
    - Use a SUBMIT of your Z-program (if there are only data for first screen in the Batch Input data)
    - Change the called program to look for the hidden parameter in memory (Use a IMPORT from memory or a GET PARAMETER in the INITIALIZATION block, and an EXPORT or SET PARAMETER in the calling program.)
    Regards,
    Raymond

  • ADF Mobile: How to change the font size of an Input Text field in .amx view

    Is there a way to change the font size of the input data (not the label) in a text field? Changing the font size in the Style Font/Text settings doesn't seem to do anything for the label or the value in the input text field. Is this a bug or is there a way to get this to work?

    Hi Anna,
    depending on the UI element there are a range of ways. (and I'm sure people will post plenty of answers to tell you how).
    However, if generically the fonts in you portal/wd applications are too small, you should consider changing your theme so as to have larger texts. Otherwise you will either need to customise all your applications, or you will get quite a lot of inconsistency of presentation between your various WDA applications.
    Do a search on "themes for Web Dynpro ABAP" and you'll find loads of resources.
    Hope this helps,
    Cheers,
    Chris

  • Is it possible to input a value in an output field in a batch input sessio?

    Hi everybody
    A quick question
    I wanted to know if theres a way to put a value in an output field when doing a batch input?
    I think its not possible but Im not sure
    PLease do confirm

    Hi sia,
    1. Ofcourse not
    2. BCOS
    3. Batch input
       indirectly is nothing
       but SIMULATION / EXACT COPY OF MANUAL ENTRY
       of that particular transaction.
    4. If the transaction does not allow
       entry in manual mode,
       then it won't allow even in batch input/sessoin/bdc mode.
    regards,
    amit m.

  • How to change height of Input/output field in dialog program

    How to change height of Input/output field in dialog program.
    I want to big message text box like e-mail message box.
    so could anybody help me on this please
    Thanks
    Basu

    Hi,
        This is not possible directly.Place the icon button in the table field.when u click on that button a popup window will appear in that window place the text editor there u can write text and u can save it ok..
    Award points if helpful.
    Kiran Kumar.G.A

  • Batch Input for user defined fields (SRM 4.0)

    Hello.
    Now in my project,we are developping Batch Input function about PO,CONF in SRM 4.0.
    and in this time, we will use over 20 user defined fields.so we have to enter the value to user defined fields by using Batch Input function.
    But if we will enter over the 10 value for user defined fields,we have to scroll the screen.
    How do I scroll in SRM?(What's the command to scroll in SRM)
    Regards
    Ogiwara

    better lock the user since he may some business documnt open and you can not proceed further.
    br
    muthu

  • Fill user defined fields via batch input

    Hello All,
    In CJ01 I have added certain new fields using the enhancements CNEX0006 and CNEX0007.
    Now I need to do a conversion to upload project system data to SAP, I am using BDC for that. The following is the piece of code.
          PERFORM bdc_dynpro   USING  'SAPLCJWB' '0100'.
          PERFORM bdc_field       USING  'BDC_CURSOR' '*PROJ-PSPID'.
          PERFORM bdc_field       USING  'BDC_OKCODE' '=MDTB'.
          PERFORM bdc_field       USING  '*PROJ-PSPID' fs_proj_final1-proj_def.
          PERFORM bdc_field       USING  'RCWBS-PROFL' fs_proj_final1-profl.
          l_proj_profl   = fs_proj_final1-profl .
          PERFORM bdc_dynpro   USING  'SAPLCJWB' '0998'.
          PERFORM bdc_field       USING  'BDC_OKCODE' '/00'.
          PERFORM bdc_field       USING  'PROJ-POST1' fs_proj_final1-post1.
          PERFORM bdc_field       USING  'BDC_CURSOR' 'PROJ-PRCTR'.
          PERFORM bdc_field       USING  'PROJ-VERNR' fs_proj_final1-vernr.
          PERFORM bdc_field       USING  'PROJ-VBUKR' fs_proj_final1-vbukr.
          PERFORM bdc_field       USING  'PROJ-STORT' fs_proj_final1-stort.
          PERFORM bdc_field       USING  'PROJ-PRCTR' fs_proj_final1-prctr.
          PERFORM bdc_field       USING  'PROJ-PRCTR' fs_proj_final1-prctr.
          PERFORM bdc_field       USING  'PROJ-PLFAZ' w_strt_dt.
    New Fields
          PERFORM bdc_dynpro   USING  'SAPLCJWB' '0215'.
          PERFORM bdc_field       USING  'BDC_OKCODE' '/00'.
          PERFORM bdc_field       USING  'PROJ-ZZACC_EXEC' fs_proj_final1-                                                                               
    zacc_exec.
          PERFORM bdc_field       USING  'PROJ-ZZBUS_DIR'  fs_proj_final1-zzbus_dir.
          PERFORM bdc_field       USING  'PROJ-ZZOPS_DIR'  fs_proj_final1-
                                                                                    zzops_dir.
          PERFORM bdc_dynpro   USING  'SAPLCJWB'  '0998'.
          PERFORM bdc_field       USING  'BDC_OKCODE' '=LETB'.
    I am getting an error message -
    "Currency copied from company code,No batch input data for screen SAPLCJWB
      0998"
    How to avoid this error? Please suggest.
    Thanks
    Indrajit

    Hello All,
    In CJ01 I have added certain new fields using the enhancements CNEX0006 and CNEX0007.
    Now I need to do a conversion to upload project system data to SAP, I am using BDC for that. The following is the piece of code.
          PERFORM bdc_dynpro   USING  'SAPLCJWB' '0100'.
          PERFORM bdc_field       USING  'BDC_CURSOR' '*PROJ-PSPID'.
          PERFORM bdc_field       USING  'BDC_OKCODE' '=MDTB'.
          PERFORM bdc_field       USING  '*PROJ-PSPID' fs_proj_final1-proj_def.
          PERFORM bdc_field       USING  'RCWBS-PROFL' fs_proj_final1-profl.
          l_proj_profl   = fs_proj_final1-profl .
          PERFORM bdc_dynpro   USING  'SAPLCJWB' '0998'.
          PERFORM bdc_field       USING  'BDC_OKCODE' '/00'.
          PERFORM bdc_field       USING  'PROJ-POST1' fs_proj_final1-post1.
          PERFORM bdc_field       USING  'BDC_CURSOR' 'PROJ-PRCTR'.
          PERFORM bdc_field       USING  'PROJ-VERNR' fs_proj_final1-vernr.
          PERFORM bdc_field       USING  'PROJ-VBUKR' fs_proj_final1-vbukr.
          PERFORM bdc_field       USING  'PROJ-STORT' fs_proj_final1-stort.
          PERFORM bdc_field       USING  'PROJ-PRCTR' fs_proj_final1-prctr.
          PERFORM bdc_field       USING  'PROJ-PRCTR' fs_proj_final1-prctr.
          PERFORM bdc_field       USING  'PROJ-PLFAZ' w_strt_dt.
    New Fields
          PERFORM bdc_dynpro   USING  'SAPLCJWB' '0215'.
          PERFORM bdc_field       USING  'BDC_OKCODE' '/00'.
          PERFORM bdc_field       USING  'PROJ-ZZACC_EXEC' fs_proj_final1-                                                                               
    zacc_exec.
          PERFORM bdc_field       USING  'PROJ-ZZBUS_DIR'  fs_proj_final1-zzbus_dir.
          PERFORM bdc_field       USING  'PROJ-ZZOPS_DIR'  fs_proj_final1-
                                                                                    zzops_dir.
          PERFORM bdc_dynpro   USING  'SAPLCJWB'  '0998'.
          PERFORM bdc_field       USING  'BDC_OKCODE' '=LETB'.
    I am getting an error message -
    "Currency copied from company code,No batch input data for screen SAPLCJWB
      0998"
    How to avoid this error? Please suggest.
    Thanks
    Indrajit

  • XD01 Batch Input Program RFBIDE00  Some fields not seeing in Structure Mapp

    Hi,
       I'm using Batch input for customer master Uploading ... Some fields like Mobile Number , Email which is there when i go through XD01 TCode is  not showing in any of the structures like BKNA1,BKNB1.. Can anyone plz give a solution for this ...
    Is this possible through Standard Batch to map these fields or i need to go for any other method ..,.....

    They should appear in structure BIADDR2
    Regards,
    Raymond

  • Greyed out screen field in transaction but modifiable by batch input

    Hi Gurus,
    I have a requirement where a custom screen field in a transaction (FK01/FK02/XK01/XK02) has to be greyed out when a user access these transactions. However, these fields will have to be modifiable when LSMW/batch input is being done.
    I hope someone can advise how I can do this.
    I'll definitely reward points for helpful answers.
    Thanks so much.
    Rgds,
    Joyie

    Declare on your layout input is 0. Or the field cannot be filled by value.
    After you have done that, create some code like this:
    Loop at screen.
         IF sy-batch is not initial or sy-binpt is not initial.
                if screen-group1 = 'ANL'
                   screen-input = '1'.
                endif.
            endif.
    endloop.
    Hope it helps solve your problem.

  • Field Exit for Batch Input creation from LSMW

    Hi all,
    I am having problems getting a field exit to work for validation of user id in the "Create Batch Input Session" step of LSMW.
    Program: /SAPDMC/SAP_LSMW_BI_RECORDING
    Screen:  1000
    Data Element: SYUNAME
    Any help would be appreciated.
    Regards,
    Jason
    Message was edited by: Jason Lante

    Field exits are not supported after 4.6 yes, but they still work. I found the reason why my field exit wasn't working; it related to the fact that the field I am applying it to is not directly related to a dictionary object. Meaning I cannot apply a field exit.
    So my question now is what other ways are there to enhance LSMW?
    Regards,
    Jason

Maybe you are looking for

  • F spec- UR presence required

    HI Experts, The below i have mentioned is requirement from my client.Can any one give some idea how to fulfill his requirement. The sequence number is a key field required for leveling the capacity load. The sequence number is a field in the process

  • Output not printing correctly for BI Publisher report.

    Hi All, We have a BI Publisher report which is printing correctly on one printer but not on another printer. The top and right side of the output are getting truncated. Printer type for both the printer is same that is "--PASTA Universal Printer Type

  • Importing public key certificate from external application

    Hello! I am trying to implement the following scenario: 1. External client application sends it's public key certificate to SAP WAS 2. SAP imports this certificate into its PSE 3. External client application sends digitally signed messages to SAP (wi

  • Using JMS Event Generator w/ remote WebLogic 8.1 queue

    Hello, I'm trying to create a workflow that is started by a JMS message queue event. I'm trying to use the WLIJMSEventGenTool in WebLogic 8.1 to listen to a queue on a remote WebLogic 8.1 installation, publish the incoming messages to a channel, then

  • Turn radio buttons off after exporting to Acrobat from InDesign

    I created radio buttons in InDesign using the Buttons and Forms tool, however when clicking them in Acrobat, they won't turn off!! How can I turn them off without having to clear the whole form? Thanks!