BDC is skipping every seventh line item

Hi All,
I have a BDC program for FB60 tcode.
If line item is more than 6 in the file then its skipping no. seventh line item. If line item is less then 6 in the file then its working fine. What should i do to remove above problem. Should i use Table Control to solve that problem??  If yes then please give me some idea to proceed with Table Control.
Plz... help me on this.
Thanks in advance,
anu

Should i use Table Control to solve that problem??
Yes.
If yes then please give me some idea to proceed with Table Control.
Search in SDN with term BDC table Control there is more than enough code already posted.please searcht them accordingly.
Edited by: Ámit Güjärgoüd on Sep 27, 2008 10:18 AM

Similar Messages

  • Excise invoice getting split for every 2 line items in J1IS

    Dear Experts,
    While doing J1IS - Excise invoice getting split for every 2 line items.
    can anybody help me.
    regards,
    sri ram

    Hi,
    Please check the maximum number of line items per excise invoice under customizing
    logistics general->Tax on goods movement->India->Basic settings->Maintain excise registration->check for EI items.
    I think it is defined as 2.
    Regards,
    Krishna A S V

  • BDC for VA01 with multiple line items

    Hi,
    My client is 4.6c version, I have created a BDC program for transaction VA01 which will have multiple line items. I'm able to enter 12 items in the first instance, then 12 items next time. But I'm not doing any P+..System is automatically taking me to first item after reaching item 12 every time.
    But I have a doubt in production system also I will have only 12 items every time to enter..If not my program may not work..
    I'm calling BDC using following statment..
      CALL TRANSACTION 'VA01' USING BDCDATA
                        MODE 'N'
                        UPDATE 'S'
                        MESSAGES INTO lt_message.
    Please suggest me the solution.
    Regards
    Jaker.

    I had a similar problem with goods movements in a CO11N BDC I wrote.  Here's how it was fixed:
    DATA: lcl_opt     TYPE ctu_params.
    lcl_opt-defsize  = 'X'.
    CALL TRANSACTION 'CO11N' USING i_bdctbl OPTIONS FROM lcl_opt
                                 MESSAGES INTO messco11n.
    The option "defsize" makes sure that the screen always contains the same number of lines as it goes through the BDC.  That way, you can write in the paging logic without having to worry about the number of lines that appear on a user's screen as it may vary depending on how their screen resolution is set up.

  • BDC- problem in uploading more line items

    Hello friends,
    I am using BDC to upload data for TXN ME31L.
    At item level I am able to upload only 15 records. After that it gives error. While doing recording i have entered items only for two material  So can anyone help me?
    What i think is after 15 entries, i need to scroll up and then only i need to enter.
    I know that by putting OKCODE 'P' or 'P+' after entering each line item it'll search the next blank line available in table control and insert the record there. But I am still unable to get the required output.
    So can anyone give me a sample code describing how to use P++ or P. Or is there any way-around to do so without using P+ or P+ ????
    if there is then kindly assist with the same.
    thanks,
    Saurabh.

    Hi,
    Please note that no of items will very depending on the screen resolution. Hence the safest would be to follow the procedure:-
    1) Key in Item Details of the first Item i.e. Say Item 10, then key in 10 against the field 'Item' at the bottom of the screen. Then key in details of the Item 20 on the second line of the screen, once your are thru with it key in 20 against the field 'Item' at the bottom of the screen so that item 20 will be positioned at the top of the screen ( Item 10 will be scrolled up, thus paving the way for an addition record )
    e.g If you have got 5 records to be keyed in. Then after keying in each record always key in the same item no in the field 'Item' at the bottom of the screen. Continue this process till you are thru with all the items & finally press 'SAVE'.
    I hope this helps,
    Regards
    Raju Chitale

  • Problem in bdc for table control for line items

    Hi experts,
    I am runnig a bdc for ME52.
    i am just entering PR number, in the second screen i have got all the line items. I need to select these line item 10 and double click or hit enter, it takes me to screen 3, there im just checking a checkbox and saving.
    Again i need to select the line item 20 and double click or hit enter. again the same process.
    Again repeat for all the line items.
    But my problem is it is updating everytime for only line item  10. for line item 20 and others it say "no chnge in the data".
    I am pasting my code here. please check and revert me back .plz.
    DATA: w_output LIKE LINE OF i_output.
      REFRESH I_ITAB[].
      SELECT * FROM EBAN
               INTO TABLE i_itab
               WHERE banfn in s_banfn AND
                     bsart in s_bsart AND
                     bstyp in s_bstyp AND
                     matnr in s_matnr AND
                     werks in s_werks AND
                     lfdat in s_lfdat AND
                     pstyp in s_pstyp AND
                     knttp in s_knttp AND
                     estkz in s_estkz AND
                     loekz eq ' '.
      IF sy-subrc = 0.
        CLEAR: w_itab,
                 i_poitab[].
        SORT i_itab by banfn.
        LOOP AT i_itab INTO w_itab where menge GT eban-bsmng.
          IF p_close = 'X' AND p_rep = 'X'.
            IF w_itab-ebakz = 'X'.
              w_itab-ebakz = ' '.
              APPEND w_itab to i_poitab.
            ENDIF.
          ELSEIF p_open = 'X' AND p_rep = 'X'.
            IF w_itab-ebakz = ' '.
              w_itab-ebakz = 'X'.
              APPEND w_itab to i_poitab.
            ENDIF.
          ELSEIF p_close = 'X' AND p_repw = 'X'.
            IF w_itab-ebakz = ' '.
              APPEND w_itab to i_poitab.
            ENDIF.
          ELSEIF p_open = 'X' AND p_repw = 'X'.
            IF w_itab-ebakz = 'X'.
              APPEND w_itab to i_poitab.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
      LOOP AT i_poitab into w_output.
        APPEND w_output to i_output.
       PERFORM CALL_BDC.
      endloop.
    IF p_rep = 'X'.
    PERFORM CALL_BDC.
    ENDIF.
    ENDFORM.                    " GET_DATA
    *&      Form  CALL_BDC
          text
    -->  p1        text
    <--  p2        text
    FORM CALL_BDC.
    DATA: seltab(5) TYPE N,
          seltab1(2) TYPE N,
          tempvar(30) TYPE N,
          cnt TYPE N.
    LOOP AT i_output.
    clear: seltab,
           seltab1.
    seltab = i_output-bnfpo.
    seltab1 = seltab+2(2).
    perform bdc_dynpro      using 'SAPMM06B' '0105'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'EBAN-BANFN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'EBAN-BANFN'
                                  i_output-banfn.
    perform bdc_dynpro      using 'SAPMM06B' '0106'.
    clear tempvar.
    *cnt = 1.
    concatenate 'EBAN-BNFPO(' seltab1 ')' into tempvar.
    perform bdc_field       using 'BDC_CURSOR'
                                 'EBAN-BNFPO(seltab1)'.
                                    tempvar.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=DETA'.
    perform bdc_field       using 'RM06B-BNFPO'
                                  i_output-bnfpo.
    perform bdc_field       using 'RM06B-TCSELFLAG(seltab1)'
                                 'X'.
    perform bdc_dynpro      using 'SAPMM06B' '0102'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'EBAN-EBAKZ'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BU'.
    perform bdc_field       using 'EBAN-EBAKZ'
                                  i_output-ebakz.
    CALL TRANSACTION 'ME52' USING bdc_data MODE 'A'
                                   MESSAGES INTO i_bdcmsg.
        COMMIT WORK AND WAIT.
    ENDLOOP.
    ENDFORM.                    " CALL_BDC
    *&      Form  bdc_dynpro
          text
         -->P_0686   text
         -->P_0687   text
    FORM bdc_dynpro USING    program dynpro.
    CLEAR bdc_data.
      bdc_data-program  = program.
      bdc_data-dynpro   = dynpro.
      bdc_data-dynbegin = 'X'.
      APPEND bdc_data.
      CLEAR bdc_data.
    ENDFORM.   
    thanks,
    N

    Looks like table control logic is wrong -- do compare with below program...
    only table contril area
    REPORT ZPadmam
    NO STANDARD PAGE HEADING LINE-SIZE 255.
    DATA : BEGIN OF itab OCCURS 0,
    i1 TYPE i,
    lifnr LIKE rf02k-lifnr,
    bukrs LIKE rf02k-bukrs,
    ekorg LIKE rf02k-ekorg,
    ktokk LIKE rf02k-ktokk,
    anred LIKE lfa1-anred,
    name1 LIKE lfa1-name1,
    sortl LIKE lfa1-sortl,
    land1 LIKE lfa1-land1,
    akont LIKE lfb1-akont,
    fdgrv LIKE lfb1-fdgrv,
    waers LIKE lfm1-waers,
    END OF itab.
    DATA : BEGIN OF jtab OCCURS 0,
    j1 TYPE i,
    banks LIKE lfbk-banks,
    bankl LIKE lfbk-bankl,
    bankn LIKE lfbk-bankn,
    END OF jtab.
    DATA : cnt(4) TYPE n.
    DATA : fdt(20) TYPE c.
    DATA : c TYPE i.
    INCLUDE bdcrecx1.
    START-OF-SELECTION.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = 'C:\first1.txt'
    filetype = 'DAT'
    TABLES
    data_tab = itab.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = 'C:\second.txt'
    filetype = 'DAT'
    TABLES
    data_tab = jtab.
    LOOP AT itab.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'RF02K-KTOKK'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'RF02K-LIFNR'
    itab-lifnr.
    PERFORM bdc_field USING 'RF02K-BUKRS'
    itab-bukrs.
    PERFORM bdc_field USING 'RF02K-EKORG'
    itab-ekorg.
    PERFORM bdc_field USING 'RF02K-KTOKK'
    itab-ktokk.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFA1-LAND1'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'LFA1-ANRED'
    itab-anred.
    PERFORM bdc_field USING 'LFA1-NAME1'
    itab-name1.
    PERFORM bdc_field USING 'LFA1-SORTL'
    itab-sortl.
    PERFORM bdc_field USING 'LFA1-LAND1'
    itab-land1.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0120'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFA1-KUNNR'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKN(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    cnt = 0.
    LOOP AT jtab WHERE j1 = itab-i1.
    cnt = cnt + 1.
    CONCATENATE 'LFBK-BANKS(' cnt ')' INTO fdt.
    PERFORM bdc_field USING fdt jtab-banks.
    CONCATENATE 'LFBK-BANKL(' cnt ')' INTO fdt.
    PERFORM bdc_field USING fdt jtab-bankl.
    CONCATENATE 'LFBK-BANKN(' cnt ')' INTO fdt.
    PERFORM bdc_field USING fdt jtab-bankn.
    IF cnt = 5.
    cnt = 0.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKS(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=P+'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKN(02)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    ENDIF.
    ENDLOOP.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKS(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0210'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFB1-FDGRV'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'LFB1-AKONT'
    itab-akont.
    PERFORM bdc_field USING 'LFB1-FDGRV'
    itab-fdgrv.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0215'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFB1-ZTERM'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0220'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFB5-MAHNA'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0310'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFM1-WAERS'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'LFM1-WAERS'
    itab-waers.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0320'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'RF02K-LIFNR'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=YES'.
    PERFORM bdc_transaction USING 'XK01'.
    ENDLOOP.
    PERFORM close_group.
    Thanks
    Seshu

  • BAPI_PO_CREATE1 missing GL a/c no. and cost center in every 100th PO line item

    We have a strange issue. We are creating Service Purchase Orders by using BAPI_PO_CREATE1 function module. The source for creating PO is a Z table wherein it contains approximately 1000 records. We create one PO per Vendor and all POs are creating successfully but strangely GL account number and cost centers are missing in every 100, 200, 300, 400, 500, etc. line items and have NO issue with other line items. Our purchase order line item interval is 1 which means at every 100th line item we have an issue in missing GL account number and cost centers. We also checked by changing line item interval to '10' and still we have issue at every 1000th line item.
    We searched for OSS notes but no luck. Did anyone come across this kind of issue ? Could you please advise.
    Regards,
    Krish

    you can either share your code and your source file to have the people check if the error is on your part or you can directly contact SAP if you are the opinion that it is an error in their BAPI code.
    But without looking at code and source file it is not possible to do any evaluation except you are looking for clairvoyants

  • Bdc for multiple line items

    hi all,
    i am developing bdc program to upload multiple line items for ml10.
    i am uploading folling fields
    spec_no
    astyp
    txz01,
    sort1,
    waers,
    matkl,
    ekorg,
    srvpos ' service number
    menge. 'quantity
    service number and quantity are multiple line items.
    i have developed a code which is taking single record only, it is not working for multiple service no and quantity.
    include bdcrecx1.
    parameters: filename like rlgrap-filename.
    data: begin of record,
    SPEC_NO(10),
    ASTYP(4),
    TXZ01(40),
    SORT1(20),
    WAERS(5),
    MATKL(9),
    EKORG(4),
    NEW_ROW(10),
    SRVPOS(18),
    MENGE(13),
    end of record.
    data: itab_program like record occurs 0 with header line.
    At Selection Screen
    at selection-screen on value-request for filename.
    perform query_filename changing filename.
    *START-OF-SELECTION
    start-of-selection.
    *-- Upload flat data to ITAB.
    perform upload_to_itab.
    *{ chg001 -- modified as per requirement
    perform open_group.
    loop at itab_program.
    perform upload_programs.
    endloop.
    perform close_group.
    FORM UPLOAD_TO_ITAB *
    form upload_to_itab.
    call function 'WS_UPLOAD'
    exporting
    CODEPAGE = ' '
    filename = filename
    filetype = 'DAT'
    HEADLEN = ' '
    LINE_EXIT = ' '
    TRUNCLEN = ' '
    USER_FORM = ' '
    USER_PROG = ' '
    DAT_D_FORMAT = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = itab_program
    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
    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.
    write : 'File opening error.'.
    endif.
    endform.
    FORM QUERY_FILENAME *
    --> P_FILENAME *
    form query_filename changing p_filename.
    data : tmp_filename like filename.
    call function 'WS_FILENAME_GET'
    exporting
    def_filename = filename
    mask = ',.txt,.txt.'
    mode = 'O'
    title = 'Select the file to Upload'
    importing
    filename = tmp_filename
    exceptions
    inv_winsys = 01
    no_batch = 02
    selection_cancel = 03
    selection_error = 04.
    if sy-subrc = 0.
    filename = tmp_filename.
    endif.
    endform.
    *perform open_group.
    *& Form UPLOAD_programs
    text
    --> p1 text
    <-- p2 text
    form upload_programs.
    perform bdc_dynpro using 'SAPLMLSM' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'TEMP_SPEC-ASTYP'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'TMP_SPEC-SPEC_NO'
    ITAB_PROGRAM-SPEC_NO.
    perform bdc_field using 'TMP_SPEC-ASTYP'
    ITAB_PROGRAM-ASTYP.
    *****************************************************************SCREEN1
    perform bdc_dynpro using 'SAPLMLSM' '0200'.
    perform bdc_field using 'BDC_CURSOR'
    'TMP_SPEC-EKORG'.
    perform bdc_field using 'BDC_OKCODE'
    '=SRV'.
    perform bdc_field using 'TMP_SPEC-TXZ01'
    ITAB_PROGRAM-TXZ01.
    perform bdc_field using 'TMP_SPEC-SORT1'
    ITAB_PROGRAM-SORT1.
    perform bdc_field using 'TMP_SPEC-WAERS'
    ITAB_PROGRAM-WAERS.
    perform bdc_field using 'TMP_SPEC-MATKL'
    ITAB_PROGRAM-MATKL.
    perform bdc_field using 'TMP_SPEC-EKORG'
    ITAB_PROGRAM-EKORG.
    *****************************************************************END OF SCREEN2
    perform bdc_dynpro using 'SAPLMLSP' '0201'.
    perform bdc_field using 'BDC_OKCODE'
    '=BZE'.
    *perform bdc_field using 'RM11P-HEADTEXT'
    ITAB_PROGRAM-TXZ01.
    perform bdc_field using 'BDC_SUBSCR'
    'SAPLMLSP'.
    perform bdc_dynpro using 'SAPLMLSP' '0201'.
    perform bdc_field using 'BDC_OKCODE'
    '=BZE'.
    perform bdc_field using 'BDC_CURSOR'
    'ESLL-MENGE(01)'.
    perform bdc_field using 'ESLL-SRVPOS(01)'
    ITAB_PROGRAM-SRVPOS.
    perform bdc_field using 'ESLL-MENGE(01)'
    ITAB_PROGRAM-MENGE.
    perform bdc_dynpro using 'SAPLMLSP' '0201'.
    perform bdc_field using 'BDC_OKCODE'
    '=SAV'.
    perform bdc_field using 'BDC_SUBSCR'
    'SAPLMLSP'.
    perform bdc_transaction using 'ML10'.
    endform. " UPLOAD_programs
    can any body help me in this regard.
    thanks in advance
    siva

    Loop at itab_program.
    < Here will be your BDC Program>
    call transaction..... .
    endloop.
    and all the records in you internal table itab_program will get updated...
    Regards.
    Jayant
    <b>Please award if helpful</b>

  • Standard text entry for Service line items using BDC

    Hi,
         I want to enter standard texts for service line items of RFQ created using BDC, if it is a line item i can pass RFQ_number+line_item number as TDNAME in SAVE_TEXT function module, but for Service line item what value we need to pass in TDNAME.
    Is there anyway we can capture the package number in BDC of ME41?
    Regards
    Bala Krishna

    .

  • How to display line items in a script...

    Dear All,
    My internal table for script is having 5 line items.
    But in output of script I'm getting 5 line items, 1 each in 5 different pages of script.
    But I need them one below the other in the same page...
    Plz give step by step procedure for the above requirement.
    Thanks & Regards
    Nagaraj

    Hi,
    Did u call any new-page command for every new line item?
    KIndly provide the code...
    Rgds,
    Pavan

  • How to restrict vendor line items to be picked to 6 in f110 payment run?

    Hai
    how we can allow F110 programme to generate a clearing document for every 6 line items.Means if a vendor has 15 open items which are due for payment at the time of Automatic Payment Run . The System should generate 3 clearing documents. Means the split up should be 663. Means for the first 6 open items (1-6) one clearing document. For next 6 Open items (7-12) and for the last 3 Open Items(13-15) , One clearing Document to be generated.
    Kindly Advice me. Surely Iam going to reward the ponits.
    Thanks In Advance, Have A Great Day
    Akash Narayana

    1)block all doc's where count > 6 (per vendor) and do f110
    2)unlock and repeat 1)
    .. until all doc's are paid
    A.
    Message was edited by:
            Andreas Mann

  • How to Restrict Single Delivery Date for PO with Multiple Line Items

    Dear Experts,
    How to Restrict Single Delivery Date for PO with Multiple Line Items.
    System needs to through Error Message if User Inputs Different Delivery Dates for PO with Multiple Line Items in ME21N Tcode.
    Can we achive this by Some Enhancement in SAP or Not ???
    If so how to do it.
    Any Inputs is highly appreciated.
    Thanks and Regards,
    Selvakumar. M

    Hi Selvakumar,
    we can resrict the PO to have a single delivery date in all the line items by means of giving a error message or overwiting the delivery date keyed/determined in the line item.
    You can use the BADI -> ME_PROCESS_PO_CUST. In which you need to implement the method PROCESS_SCHEDULE.
    (for technical aid - This method will be called for each and every PO line item, From the imporing parameter im_schedule we can get all the details of current PO line, even we can change the data in the current PO line. )
    Regards,
    Madhu.

  • DESADV01 E1EDP07 segment per line item causes EDIFACT error

    When a Sales Order has the PO Number + Date populated, the subsequent outbound Delivery IDoc (DESADV01) contains a parent E1EDP07 segment for every child line item segment (E1EDP09).  For a SO without PO Date, the IDoc is created with a single E1EDP07 with multiple child E1EDP09 segments.  This is standard SAP - do you need to code around this?
    The first scenario causes an error in EDIFACT mapping, as a limit of 9 RFF segments is allowed (E1EDP07 is a level 1 segment).  Partner systems reject this.

    Hi,
    Segment field should be optional, so check the posting keys in OB41, check the GL account which hit this posting and check the FIeld status in OBC4 and make the segment field as optional.
    while posting the transactions you can check in more then Profit center and segment details will be updated in the postings.
    try out, this might help. check the new ledger document types also.
    Regards,
    Padma

  • Link between Delivery Line Item to DTR Line Item to Freight Unit Number?

    Dear All,
    I am creating DTR with reference to delivery from ECC. As per my logic in FUBR, I am creating separate Freight Unit for every DTR line item.
    Now how to identify (At Table Level) that which DTR line item belongs to which Delivery Line Item?
    Also how to determine which Freight Unit belongs to which DTR Line item?
    Request to please share the above flow at table level in SAP TM System.
    Regards,
    Vibhu Gupta

    Hi Vibhu,
    First, you know which DTR item you have on hand and then you can find the corresponding FU item by association(TOR ITEM from TRQ item to FU item), after retrieving the data of FU item you can find the root key of every result data entry(FU item data) and you can also get the DTR item key/FU item key pair(which DTR item/which FU item), actually the root key is the FU root key, then you can user service manager to retrieve the root data of corresponding FU root key.
    Hope this helps.
    BR, Dawson

  • XML shows multiple po distributions account for each po line item

    Hi, We have custome RDF created for Purchase Order Detail Report. Per the PO summary report, PO nubmer 30367 has two lines and each on has single distributions. Each line has different distributions. Line 1distribution account: 01.000.105.65020.00000.00 and Line 2 distribution account: 01.000.000.15020.00000.00. However when I run the XML for PO summary report, each line items contains the two account distributions. How do you make it sho it only show the account distribution pertain to the each line?
    **Please see xml below.**
    - <LIST_G_COMPANY>
    - <G_COMPANY>
    <C_COMPANY>CTI US Ledger</C_COMPANY>
    <C_ORGANIZATION_ID>83</C_ORGANIZATION_ID>
    <GL_CURRENCY>USD</GL_CURRENCY>
    <STRUCTURE_ACC>101</STRUCTURE_ACC>
    <STRUCTURE_CAT>101</STRUCTURE_CAT>
    <C_YES>Yes</C_YES>
    <C_NO>No</C_NO>
    <C_CATEGORY_SET_ID>1</C_CATEGORY_SET_ID>
    <BUSINESS_GROUP_ID>0</BUSINESS_GROUP_ID>
    - <LIST_G_HEADERS>
    - <G_HEADERS>
    <POH_REMARKS />
    <CREATION_DATE>01-SEP-10</CREATION_DATE>
    <STATUS>Approved</STATUS>
    <REV>0</REV>
    <PRINTED_DATE />
    <TYPE>Standard Purchase Order</TYPE>
    <BUYER>BUNTING, DOUGLAS</BUYER>
    <C_CURRENCY>USD</C_CURRENCY>
    <VENDOR>Softchoice Corporation</VENDOR>
    <ACCEPTANCE_DATE />
    <ON_HOLD />
    <VENDOR_SITE>SOFTCHOICE - PO</VENDOR_SITE>
    <ACCEPTANCE_REQUIRED>No</ACCEPTANCE_REQUIRED>
    <C_AMOUNT_AGR>2500</C_AMOUNT_AGR>
    <PO_HEADER_ID1>2790</PO_HEADER_ID1>
    <REVISED_DATE />
    <PO_NUMBER>30367</PO_NUMBER>
    <C_FND_PRECISION>2</C_FND_PRECISION>
    - <LIST_G_BREAK_LINES>
    - <G_BREAK_LINES>
    <LINE>1</LINE>
    <LINE_TYPE>GOODS</LINE_TYPE>
    <REV1 />
    <ITEM_DESCRIPTION>Test</ITEM_DESCRIPTION>
    <UNIT>EACH</UNIT>
    <PO_HEADER_ID>2790</PO_HEADER_ID>
    <UNIT_PRICE>500</UNIT_PRICE>
    - <LIST_G_SHIPMENTS>
    - <G_SHIPMENTS>
    <CLOSED_CODE />
    <LINE_CLOSED>N</LINE_CLOSED>
    <LINE_CANCEL>N</LINE_CANCEL>
    <NOTE_TO_VENDOR />
    <NEED_BY_DATE />
    <PROMISED_DATE />
    <SHIP_TO_LOCATION>CELL THERAPEUTICS INC</SHIP_TO_LOCATION>
    <QUANTITY_AMOUNT_ORDERED>1</QUANTITY_AMOUNT_ORDERED>
    <QUANTITY_AMOUNT_RECEIVED>0</QUANTITY_AMOUNT_RECEIVED>
    <QUANTITY_AMOUNT_CANCELLED>0</QUANTITY_AMOUNT_CANCELLED>
    <QUANTITY_AMOUNT_DUE>1</QUANTITY_AMOUNT_DUE>
    <QUANTITY_AMOUNT_BILLED>0</QUANTITY_AMOUNT_BILLED>
    <C_FLEX_CAT>COMPUTER SUPPLIES</C_FLEX_CAT>
    <C_FLEX_ITEM />
    </G_SHIPMENTS>
    </LIST_G_SHIPMENTS>
    - <LIST_G_CONCAT_SEGMENTS>
    - <G_CONCAT_SEGMENTS>
    <DELIVER_TO_PERSON_NAME>DOUGLAS BUNTING</DELIVER_TO_PERSON_NAME>
    <PO_HEADER_ID2>2790</PO_HEADER_ID2>
    <CONCAT_SEGMENTS>01.000.000.15020.00000.00</CONCAT_SEGMENTS>
    <PLL_LOCATION_ID>3053</PLL_LOCATION_ID>
    </G_CONCAT_SEGMENTS>
    - <G_CONCAT_SEGMENTS>
    <DELIVER_TO_PERSON_NAME>DOUGLAS BUNTING</DELIVER_TO_PERSON_NAME>
    <PO_HEADER_ID2>2790</PO_HEADER_ID2>
    <CONCAT_SEGMENTS>01.000.105.65020.00000.00</CONCAT_SEGMENTS>
    <PLL_LOCATION_ID>3052</PLL_LOCATION_ID>
    </G_CONCAT_SEGMENTS>
    </LIST_G_CONCAT_SEGMENTS>
    <C_FLEX_CAT_DISP>COMPUTER.SUPPLIES.</C_FLEX_CAT_DISP>
    <C_FLEX_ITEM_DISP />
    </G_BREAK_LINES>
    - <G_BREAK_LINES>
    <LINE>2</LINE>
    <LINE_TYPE>GOODS</LINE_TYPE>
    <REV1 />
    <ITEM_DESCRIPTION>test</ITEM_DESCRIPTION>
    <UNIT>EACH</UNIT>
    <PO_HEADER_ID>2790</PO_HEADER_ID>
    <UNIT_PRICE>1000</UNIT_PRICE>
    - <LIST_G_SHIPMENTS>
    - <G_SHIPMENTS>
    <CLOSED_CODE />
    <LINE_CLOSED>N</LINE_CLOSED>
    <LINE_CANCEL>N</LINE_CANCEL>
    <NOTE_TO_VENDOR />
    <NEED_BY_DATE />
    <PROMISED_DATE />
    <SHIP_TO_LOCATION>CELL THERAPEUTICS INC</SHIP_TO_LOCATION>
    <QUANTITY_AMOUNT_ORDERED>2</QUANTITY_AMOUNT_ORDERED>
    <QUANTITY_AMOUNT_RECEIVED>0</QUANTITY_AMOUNT_RECEIVED>
    <QUANTITY_AMOUNT_CANCELLED>0</QUANTITY_AMOUNT_CANCELLED>
    <QUANTITY_AMOUNT_DUE>2</QUANTITY_AMOUNT_DUE>
    <QUANTITY_AMOUNT_BILLED>0</QUANTITY_AMOUNT_BILLED>
    <C_FLEX_CAT>COMPUTER SUPPLIES</C_FLEX_CAT>
    <C_FLEX_ITEM />
    </G_SHIPMENTS>
    </LIST_G_SHIPMENTS>
    - <LIST_G_CONCAT_SEGMENTS>
    - <G_CONCAT_SEGMENTS>
    <DELIVER_TO_PERSON_NAME>DOUGLAS BUNTING</DELIVER_TO_PERSON_NAME>
    <PO_HEADER_ID2>2790</PO_HEADER_ID2>
    <CONCAT_SEGMENTS>01.000.000.15020.00000.00</CONCAT_SEGMENTS>
    <PLL_LOCATION_ID>3053</PLL_LOCATION_ID>
    </G_CONCAT_SEGMENTS>
    - <G_CONCAT_SEGMENTS>
    <DELIVER_TO_PERSON_NAME>DOUGLAS BUNTING</DELIVER_TO_PERSON_NAME>
    <PO_HEADER_ID2>2790</PO_HEADER_ID2>
    <CONCAT_SEGMENTS>01.000.105.65020.00000.00</CONCAT_SEGMENTS>
    <PLL_LOCATION_ID>3052</PLL_LOCATION_ID>
    </G_CONCAT_SEGMENTS>
    </LIST_G_CONCAT_SEGMENTS>
    <C_FLEX_CAT_DISP>COMPUTER.SUPPLIES.</C_FLEX_CAT_DISP>
    <C_FLEX_ITEM_DISP />
    </G_BREAK_LINES>
    </LIST_G_BREAK_LINES>
    <C_AMOUNT_AGR_ROUND>2500</C_AMOUNT_AGR_ROUND>
    <C_AMOUNT_AGR_DISP>2,500.00</C_AMOUNT_AGR_DISP>
    </G_HEADERS>
    </LIST_G_HEADERS>
    </G_COMPANY>
    </LIST_G_COMPANY>
    <XCOMPANY_NAME>CTI US Ledger</XCOMPANY_NAME>
    <YES>Yes</YES>
    <NO>No</NO>
    <ORG_ID>83</ORG_ID>
    <CAT_ID>1</CAT_ID>
    <COUNT_RECORDS>1</COUNT_RECORDS>
    </XXCTI_POXPOSTD_1>
    **Here is the Query for the RDF file...**
    SELECT pol.line_num Line
    , pol.closed_flag Line_Closed
    , pol.cancel_flag Line_Cancel
    , pol.closed_code
    , plt.line_type Line_Type
    , &P_FLEX_CAT C_FLEX_CAT
    , &P_FLEX_ITEM C_FLEX_ITEM
    , pol.item_revision Rev
    , pol.item_description Item_Description
    , pol.unit_meas_lookup_code Unit
    , pol.note_to_vendor Note_to_Vendor
    /* Bug: 141118 Take unit price from PO_LINES if there is no shipment */
    , to_number(decode(plt.order_type_lookup_code,
    'AMOUNT',null,
    nvl(pll.price_override,pol.unit_price))) Unit_Price
    , hrl.location_code Ship_To_Location
    , pll.promised_date Promised_Date
    , pll.need_by_date Need_By_Date
    , ROUND (DECODE (PLT.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', NVL(PLL.amount, POL.amount),
    'FIXED PRICE', NVL(PLL.amount, POL.amount),
    NVL(PLL.quantity, POL.quantity)), :p_qty_precision) Quantity_Amount_Ordered
    , ROUND (DECODE (PLT.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', NVL(PLL.amount_received, 0),
    'FIXED PRICE', NVL(PLL.amount_received, 0),
    NVL(PLL.quantity_received, 0)), :p_qty_precision) Quantity_Amount_Received
    , ROUND (DECODE (PLT.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', NVL(PLL.amount_cancelled, 0),
    'FIXED PRICE', NVL(PLL.amount_cancelled, 0),
    NVL(PLL.quantity_cancelled, 0)), :p_qty_precision) Quantity_Amount_Cancelled
    , ROUND (DECODE (PLT.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', NVL(PLL.amount, POL.amount) - NVL(PLL.amount_cancelled, 0)
    - NVL(PLL.amount_received, 0),
    'FIXED PRICE', NVL(PLL.amount, POL.amount) - NVL(PLL.amount_cancelled, 0)
    - NVL(PLL.amount_received, 0),
    NVL (PLL.quantity, POL.quantity) - NVL(PLL.quantity_cancelled, 0) - NVL(PLL.quantity_received, 0)),
    :p_qty_precision) Quantity_Amount_Due
    , ROUND (DECODE (PLT.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', NVL(PLL.amount_billed, 0),
    'FIXED PRICE', NVL(PLL.amount_billed, 0),
    NVL(PLL.quantity_billed, 0)), :p_qty_precision) Quantity_Amount_Billed
    , pol.po_header_id
    FROM po_line_locations pll
    , mtl_system_items msi
    , mtl_categories mca
    , po_lines pol
    , po_line_types plt
    , hr_locations hrl
    WHERE
    ROUND (DECODE (PLT.order_type_lookup_code,'RATE', NVL(PLL.amount, POL.amount) - NVL(PLL.amount_cancelled, 0) - NVL(PLL.amount_received, 0),'FIXED PRICE', NVL(PLL.amount, POL.amount) - NVL(PLL.amount_cancelled, 0) - NVL(PLL.amount_received, 0),NVL (PLL.quantity, POL.quantity) - NVL(PLL.quantity_cancelled, 0) - NVL(PLL.quantity_received, 0)), :p_qty_precision) > 0
    AND (ROUND (DECODE (PLT.order_type_lookup_code,'RATE', NVL(PLL.amount, POL.amount),'FIXED PRICE', NVL(PLL.amount, POL.amount), NVL(PLL.quantity, POL.quantity)),:p_qty_precision)) > (ROUND (DECODE (PLT.order_type_lookup_code,'RATE', NVL(PLL.amount_billed, 0),'FIXED PRICE', NVL(PLL.amount_billed, 0),NVL(PLL.quantity_billed, 0)), :p_qty_precision))
    AND pol.item_id = msi.inventory_item_id(+)
    AND nvl(msi.organization_id,:c_organization_id) = :c_organization_id
    AND pol.line_type_id = plt.line_type_id
    AND pol.category_id = mca.category_id
    /* Bug No 141118
    Added the outer join on po_line_id ,hrl.location_id and nvl on the shipment_type
    Also added nvl on quantity and price so as to select quantity and price if the PO
    has no shipments */
    AND pol.po_line_id = pll.po_line_id(+)
    AND pll.ship_to_location_id = hrl.location_id(+)
    AND pll.shipment_type in ('STANDARD', 'PLANNED')
    AND &P_WHERE_CAT
    AND &P_WHERE_ITEM
    ORDER BY pol.line_num

    > I made a pr with single line item with 3 account assignment on percentage basis.I created a PO against .GR non valuated was automatically ticked so no account assignment was created at the time of GR posting.
    When you are having the multiple account assignment, then the system will force you to have GR-non valuated indicator being flagged which results in the fact there is not any FI document at GR posting stage and this is the standard feature of SAP.
    > Can I make a valuted GR against PO line item with multiple account assignment.
    No, not at all. The disability of GR indicator can be set in OME9 with account assignment category
    > I faced another problem .I displayed the GR and after ticking out put check box in the general data page of the GR doc. the output is being saved but  the update is terminated immediately.and no output page is generated in this item level.This output problem is not there at the time of single account assignment at PO line item.
    In fact, it is possible to maintain multiple account assignment for each and every PO line item by selecting the 'Multiple Account Assignment' button in the 'Account Assignment' View of the Item Detail of PO. However, for such multiple account assignment selection, no accounting document will be generated upon GR maintenance. This can only be done during IR via LIV process.

  • Required Text Field for automatically generated line items

    Hi Experts,
    I have noticed that when additional line items is automatically generated by SAP, the line item text field becomes required for those items.  This happens regardless of the configuration made in the field status group....
    For example, when posting cross company code transactions using account assignment model, the balancing entries (automatically generated by SAP) requires an input for text field.  The same scenario happened when I run F-58 in background (BDC), and there are additional line items in my entry.
    Can you please share some insights on SAP's behavior.  And is it possible to turn it off?
    Thank you.
    Regards,
    Reiko
    Edited by: P. Reiko on May 16, 2011 10:25 AM

    Dear:
                  1st check out the configuration for text filed that whether it has been set mandatory in the following FSG
                   1.... Field status groups which we assign to Recon Accounts of customer--OBC4
                   2..... Posting keys---OB41
                  3....... Field status group for Customer account group
                  SPRO>> FA>> AP & AR>> Customer Acct >> Master Data >>Preparations for Creating Customer Master Data              Define Acct Groups with Screen Layout(Customers)
    See if it has been set mandatory there. Revert back in case issue is not resolved.
    Regards

Maybe you are looking for

  • A method to create halos on multiple lines without any visible overlap of the halos?

    I'm struggling to find an easier way to create a uniform halos on overlapping line. It needs to be reversible. Meaning I can change it whenever I can. Header 1 Header 2 Currently I am using a method that is time consuming, requires a lot of planning

  • NEED HELP: Where can I try out the iOS SDK in Melbourne, Australia?

    hey guys, i'd love to try developing for the iOS SDK and from what i can tell the only way i'll know if i can develop for it is actually doing it myself. i've been reading books about it, but i feel like this just isn't enough. the only problem is, i

  • No VGA input

    Compter model - HP Pavilion GG646AA Operating System - Windows Vista 32-bit Error message - on monitor, no VGA input Any changes made - no changes made  I've looked on the internet and it seems like I'm not the only HP user to encounter this problem.

  • I'm looking for software that can search wifi networks

    i just finished to install the network card i thought the software "wifi radar" should do it, but i don't see the option to search networks:/

  • Packing in Outbound Shipments

    Hi, I have to pack the materials belongs to deliveries in its existing shipment. The packing is done in a NO SAP system, and I have to pack all items in the same way into my SAP outbound shipment via interface. By the moment, I'm able to insert the p