Skip to Content
author's profile photo Former Member
Former Member

FK02..hELP again..

Masters..

Im using FK02 for my bdc particularly in communication section ONLY. In the telephone fields you may click the arrow besides it and there will be a new window for telephone.It has an Id which is generated by the system automatically.

Now Im currently uploading my flat file one vendor code can have 1-10 tel numbers..meaning its Id will also have 1 id per telephone so the total would be 10.

it was successfully uploaded , my PROBLEM now is during its edit mode.If in case the Id in my flat file is alreadt existing in vendor master(fk02) It will just overwrite that particular line item.

I noticed that the order/sort of the Id's becomes UNSORTED.

Im asking for help to anybody to please advise me on how would I manage these scenario.I need to have those system generated ID's to be sorted or at least help me with my logic to properly overwrite those Id's that are existing already.

You may ask question to me to may it clear.

Please help me this is an urgent task help me SAPers!!!!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 05, 2007 at 01:34 AM

    Before passing the ID from your fiel, try to check wheather the id is already exits for that vendor.

    1. Go to LFA1 .. get the ADRNR

    2. Go to ADR2. put ADRNR and get the maximum CONSNUMBER field. This is internally generated ID. Say you got value as 5.

    3. So, change your data into your internal table so it can start form 6.

    ITAB-ID = ITAB-ID + CONSNUMBER.

    Regards,

    Naimesh Patel

    Add a comment
    10|10000 characters needed characters exceeded

    • I don't have any idea why it not going in sorted manner in BDC.

      Try to sort before going to BDC.

      Do one thing:

      Get all records from ADR2 into your internal table.

      Now, update this internal table with corresponding entry, if cirteria meets, from your file.

      Now you can delete all the telephones which are there in the popup by pressing "minus" (delete entry) button in the BDC. YOu need to press this button for all the records.

      After this put your records by pressing the "Plus" add entry button.

      Regards,

      Naimesh Patel

      Regards,

      Naimesh Patel

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.