While doing BDC in  VL02N , How do update POSNR

While doing BDC in VL02N how to update POSNR in BDC program.I need to choose purticular line number and should update that line item.kindly send me a BDC sample code for this .

You better use a BAPI like BAPI_OUTB_DELIVERY_CHANGE.
Else you could use function code POPO_T  "Place cursor" and then you will have to use field names like LIPSD-G_LFIMG(01) in your BDCDATA.
Regards

Similar Messages

  • Problem while doing bdc for fv60

    Hi frends,
       I got problem while doing BDC for fv60 tcode.i have given
    header items:
    vendor number
    invoice date
    posting date
    amount
    item data:
    g/l acc no: 100000
    amount 1000 whatever
    these are all given in recording
    in recording after all giving this data if we click on park it is telling "parking not possibe duiring batch input".
    can any body tell me the process for recording shdb and after that in bdc how can we give multiple line items for fv60
    thanks,
    naveen.

    I don't think you can use FV60 in batch input. Your options are to use transaction FBV1 or bapi BAPI_INCOMINGINVOICE_PARK.
    Rob

  • Error while doing BDC

    Hi,
    I am doing a bdc program on t.code MIR4 (Display invoice screen).The problem is this screen has a SGA/GPA set so that whenever you into this transaction the last entered value is shown in the first screen.
    While doing BDC i deleted the old invoice content (on the first screen) and entered my new invoice number and did the recording.
    Now when I run my call transaction using this BDC table the process get stopped in the first screen itself and the old value (set by SGA/GPA) is not removed and hence my bdctab value is not populated and it is showing a error "field 000 not present is program SAPMIR4"
    PS : after that i checked my recording and saw that the place where I am clearing the old value on the first screen and entering my new value, nothing is recorded in place of BDC_OKCODE, only bdc_fnam  and fval have my new entered value. Maybe it is because the clearing of data is not recorded by my recording...But to record that as there is no okcode for that?
    Please advise how to proceed?

    Hi priyasingh ,
    just go through the following Code .
    There is no problem in the flow .You just need th eclear the data in the internal table BDC_DATA  so that there are no prevoius values .
    form BDC_FIELD  using    FNAM FVAL.
    IF FVAL <> ''.
        CLEAR BDC_DATA.
        BDC_DATA-FNAM = FNAM.
        BDC_DATA-FVAL = FVAL.
        APPEND BDC_DATA.
      ENDIF.
    endform.
    and
    form BDC_DYNPRO  using    PROGRAM DYNPRO.
    CLEAR BDC_DATA.
      BDC_DATA-PROGRAM  = PROGRAM.
      BDC_DATA-DYNPRO   = DYNPRO.
      BDC_DATA-DYNBEGIN = 'X'.
      APPEND BDC_dATA.
    endform.
    Hope this may help you .
    Thanks and regards
    Aditi Wason

  • How to handle views in material master while doing BDC

    Hi,
    I am doing BDC for three material types and the views are different for all the three types. Please anyone tell me how to handle the views for all these three material types.
    Thanks in advance.

    Hi,
    Refer following code which i have used for MRP 1-2-3-4 view selection
                CALL FUNCTION 'MATERIAL_BTCI_SELECTION_NEW'
                  EXPORTING
                    MATERIAL                  = IT_UPLOAD-MATNR  " Material number
                    MATERIALART               = GI_MARA-MTART          " Material Type
                    SELECTION                 = 'D'              " PSTAT(maintenance status) value for MRP.
                    TCODE                     = 'MM01'           " Tcode where view's are called.
                  TABLES
                    BTCI_D0070                = IT_BDCDATA_VIEW
                  EXCEPTIONS
                    MATERIAL_NOT_FOUND        = 1
                    MATERIAL_NUMBER_MISSING   = 2
                    MATERIAL_TYPE_MISSING     = 3
                    MATERIAL_TYPE_NOT_FOUND   = 4
                    NO_ACTIVE_DYNPRO_SELECTED = 5
                    NO_AUTHORITY              = 6
                    OTHERS                    = 7.
                READ TABLE IT_BDCDATA_VIEW WITH KEY FVAL  = 'X'.
                IF SY-SUBRC = 0.
                  V_SELECTION = IT_BDCDATA_VIEW-FNAM.
                  VAR = IT_BDCDATA_VIEW-FNAM+17(2).
                  CONCATENATE 'MSICHTAUSW-KZSEL(' VAR ')' INTO VAR1."MRP1
                  PERFORM BDC_FIELD       USING VAR1 "'MSICHTAUSW-KZSEL(12)'
                                                'X'.
                  VAR = VAR + 1.
                  CONCATENATE 'MSICHTAUSW-KZSEL(' VAR ')' INTO VAR1."MRP1
                  PERFORM BDC_FIELD       USING VAR1 "'MSICHTAUSW-KZSEL(13)'
                                               'X'.
                  VAR = VAR + 1.
                  CONCATENATE 'MSICHTAUSW-KZSEL(' VAR ')' INTO VAR1."MRP1
                  PERFORM BDC_FIELD       USING VAR1 "'MSICHTAUSW-KZSEL(14)'
                                                'X'.
                  VAR = VAR + 1.
                  CONCATENATE 'MSICHTAUSW-KZSEL(' VAR ')' INTO VAR1."MRP1
                  PERFORM BDC_FIELD       USING VAR1 "'MSICHTAUSW-KZSEL(15)'
                                                'X'.
    Regards,
    Pritish

  • Error while doing PGI from VL02n Transaction.

    Hi..
    I am doing PGI from VL02n transaction and getting the following error. "Plant conversion Failed".
    Any idea what might be wrong.
    Thanks and apprecite ur help.

    PGI is the simplest BDC you can ever write. If you are getting this error, there must be something wrong with the data. Try doing the transaction call online in debug mode and see where the error comes from. You can then identify what needs to be done.

  • Error  While doing PGI from VL02n

    Hello all,
    Iam doing PGI from VL02n transaction and getting  the following error :
    E M7 055
    "G/L account 500001 does not exist in company code RB02."
    Please explain why is it going after G/L account 500001.
    Thanks & Regards,

    Hi,
    I think the cost centre has not been configured for the material.It is a functional issue so ask your functional consultant to configure it.
    Thanks,
    Sandeep.

  • How to give line items in flatfile while doing BDC for Table control

    Hi all,
    I am writing BDC for Multiple line items and Transaction  is : FSE5N.
    How do i give the data in the flat file. I mean how do we give the multiple line items in flat file , i.e for second line item again we have to header data or not ?
    ex:
    1015;ALL;demo;kr;INR;01;0001;3000172;100
    1015;ALL;demo;kr;INR;01;0001;3000172;200
    for first lineitem  : 3000172;100
    for 2nd line item : 3000172; 200.
    header data : 1015;ALL;demo;kr;INR;01;0001.
    Thanks in advance
    krupali

    Hii ,
    u can give in the same format as u have done in the example.
    A       B    C     D  E    F   G        H          I
    1015;ALL;demo;kr;INR;01;0001;3000172;100
    1015;ALL;demo;kr;INR;01;0001;3000172;200
    and while writing the loop u can give
    loop at it_head.
    loop at it_head where a = it_head-A and b = it_head-B ..........upto G = it_head-G.
      endloop.
    endloop.
    check this
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    Neeraj

  • How to specify the file path while doing bdc recording

    hi guys,
    using recording we specify transaction code where we enter all the details for the screen after that we get the recording program .....i have a doubt where can we specify the path for uploading a program from a local pc.......if possible can anyone provide a simple program to explain recording to upload an excel file from the system using recording

    Hi Gokul,
      You can use the following code to upload excel data into internal table.
       PARAMETERS: P_FILE LIKE RLGRAP-FILENAME.
        CALL FUNCTION 'WS_UPLOAD'
          EXPORTING
               CODEPAGE                = ' '
               FILENAME                = P_FILE
               FILETYPE                = 'DAT'
               HEADLEN                 = ' '
               LINE_EXIT               = ' '
               TRUNCLEN                = ' '
               USER_FORM               = ' '
               USER_PROG               = ' '
          IMPORTING
               FILELENGTH              =
           TABLES
                DATA_TAB                = IT_FILE
          EXCEPTIONS
               CONVERSION_ERROR        = 1
               FILE_OPEN_ERROR         = 2
               FILE_READ_ERROR         = 3
               INVALID_TABLE_WIDTH     = 4
               INVALID_TYPE            = 5
               NO_BATCH                = 6
               UNKNOWN_ERROR           = 7
               GUI_REFUSE_FILETRANSFER = 8
               CUSTOMER_ERROR          = 9
               OTHERS                  = 10
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        CLEAR IT_FILE.
      ENDIF.
    In SAP Enterprise edition, You can use FM : GUI_UPLOAD.
    From internal table, Data will be moved to BDCDATA and continue with BDC coding.
    Reward, if useful.
    Thanks,
    USR

  • Can't restore iPhone after turning off while doing the iOS 8.0.2 update

    I wanted to do the iOS 8.0.2 update. This didn't work and my iPhone 5 turned off. Now it says that I have to connect ti iTunes. I tried to restore it but it always says that a mistake appeared. Now i can't use my iPhone anymore and i don't know what to do

    it took me 5 hours to get iTunes to sort my phone out!!
    I have an iphone4 I updated to iOS8.2 this ruined my phone. The bloke in Apple store told me to reset my phone. Whilst it was in the reset mode it froze meaning it was a brick! I couldn't get rid of the apple logo and iTunes was not recognising my phone!!
    I changed the USB ports and that appeared to work. BUT once my phone was on it did not ask if I wanted to restore from icloud ...... So I've lost all my settings and text and have no clue how to get them back. My iPhone is like new, which is rubbish coz it took me over a year to get it how I liked it!!

  • Error while doing PGI via VL02n.

    Hi Gurus
           I am doing Cross-Company STO here. First i created a PO(me21n) with doc.type NB and del.type NLCC and did create an outbound delivery(VL10B) and trying to post goods issue for the same. That's where i got this error message. Please help me out what could be wrong?
    Fld select.for mvmt type 643 / acct 1201015 differs for Asset number / subnumber (024 )
    Need it very urgently.
    Thanks in advance and points will be rewarded for helpful answers.

    Pradheep,
    Please go through one of my previous responses to a similar question.
    Stock posting...
    Hope this helps.
    H Narayan

  • Aborted install process while doing a 10.4.6 combo update

    In another forum (http://discussions.apple.com/thread.jspa?messageID=2193395#2193395) I'm helping someone who has problems with mail.
    Cutting a long story short, he finally had to re-installed Mail from the orginal OSX DVD (intel Mini) and I need him to update now from 10.4.5 to 10.4.6 just for Mail.
    He downloaded the combo update for his particular Mini and the process aborts at 9% installation repeatedly. Suggestions for a workaround will be highly appreciated.

    Hi Sijmons.
    I was following that thread and I saw a couple of problems with the procedure followed there.
    For one thing, a system update shouldn't be installed blindly. It'd be better to tell the user to read something like this beforehand:
    Installing software updates
    Another problem is that the user mentioned that his/her "disks are 10.4.6" (yet his/her profile until that post said 10.4.5). Installing any update with the same version number as the original install disks is a mistake, combo or not:
    Don't install older versions of Mac OS than what comes with your computer
    What's a "computer-specific Mac OS X release"?
    Thus, after the update failure, the only safe thing to do would be to reinstall the system software using the original installation disks, as he/she did. If his/her install disks are indeed 10.4.6, nothing else can fix an "update" to the same version number. Fortunately, he/she had not been using the computer for too long, and this wasn't a big deal.

  • My iPhone 5 crashed last night while doing the ios 7.0.3 update, it shows the connect to iTunes and I have try to restore my phone from my computer but it won't do it. It will fail to restore the phone

    What do I do next?

    Start by providing specifics of what is occurring (including any error messages that are occurring) when attempting to restore the device.  That is if help is actually desired.

  • An error occurs that firmware file is corrupt while updating my iphone4 software.what does it mean and how it can be minimized.? plz help

    an error occurs that firmware file is corrupt while updating my iphone4 software.what does it mean and how it can be minimized.? plz help

    https://discussions.apple.com/message/6028012#6028012
    https://discussions.apple.com/message/7909876#7909876

  • Updating iphone 4 to iOS 5 - while doing the Backup I receive an error message no 402636788 - backup has failed. Can anybody tell me what this means or how I can fix this?

    Updating iphone 4 to iOS 5 - while doing the Backup I receive an error message no 402636788 - backup has failed. Can anybody tell me what this means or how I can fix this?
    I am working on a Win 7 Machine and I have disabled all Firewall and Antivirus Tasks as this caused problems on an other update.

    Well - I synced before - that was successful - but I am a bit scared to ignore this error and just to continue? You think I should ignore that?

  • My Iphone updated today with new IOS 6.1 and while doing that it has sync my phone number with my wife number in the same cloud that we have hence we receive each others SMS when we message each other. Anyone have idea how can I fix this issue in settings

    My Iphone5 updated today with new iOS 6.1 and while doing that it has sync my phone number with my wife number in the same icloud due to which we receive each others SMS when we message each other. Anyone have idea how can I fix this issue in settings etc
    Thank you

    My Iphone5 updated today with new iOS 6.1 and while doing that it has sync my phone number with my wife number in the same icloud due to which we receive each others SMS when we message each other. Anyone have idea how can I fix this issue in settings etc
    Thank you

Maybe you are looking for

  • Multiple counts in a single statement

    Hi, I am trying to get a total count of the number of employees in departments as well as the total numbers in specific salary ranges and display it all in one set of results. Here is the code I have so far: select distinct e.department_id, ct1.subct

  • Enhanced Infotype (IT0002) field in HRMD_A07 IDoc

    Hi All, I have enhanced SAP standard infotype 0002 (via PM01) to include one new field(NWFLD1). The infotype functions perfectly well with the new field(NWFLD1). I would now like to see this new field in the IDoc that is generated via change pointers

  • 6300 turn itself off.

    hi there, i'm newbie here. i have a n6300 about 1 month old.2 day ago this machine seem to have problems, it turn itself off. anyone can help?? thanks.

  • Sap Implentation for a Liquor-distillery comany

    Hi Experts Need help in the form of links, guidance/documents for SAP impelmentation for a Liquor manufacturing company. Regards Edited by: samuel mendis on Jun 22, 2009 2:21 PM

  • Keep On Getting A Error Every Time I Try And Install and Uninstall Flash/DreamW

    I need help I'm trying to install adobe dreamweaver and flash but every time i download, every time it completes its download it states that an error had occurred when downloading it. And the same goes for when i try to uninstall it from my laptop. I