Populate PR number for PO outbound

Hi All,
we have a requirement to  send  PR number to legacy system.
while creating IDOC ORDERS05(outbound i.e. PO details), we need one field value EKPO-BANFN to be sent in the IDOC...std ALE doesn't send this info
While creating IDOC orders05 (outbound) E1EDP01 segment is populated for each line item of PO.
there is another segment called E1EDP02,  
1. QUALIF = 011
2. BELNR = EKPO-BANFN.
but where to add this code in for IDOC_OUTPUT_ORDERS,
is there any exit or Enhancement spot is there?
Regards,
DSK

Hi!
Yes of course there are many exits in the code. If you check out the FM with sE37 transaction, you'll see the user-exits.
Here's one, I think this will be good for you:
FUNCTION EXIT_SAPLEINM_011.
*"*"Lokale Schnittstelle:
*"       IMPORTING
*"             VALUE(DEKKO) LIKE  EKKO STRUCTURE  EKKO OPTIONAL
*"             VALUE(DPEKKO) LIKE  PEKKO STRUCTURE  PEKKO OPTIONAL
*"             VALUE(CONTROL_RECORD_OUT) LIKE  EDIDC STRUCTURE  EDIDC
*"                             OPTIONAL
*"             VALUE(DOBJECT) LIKE  NAST STRUCTURE  NAST OPTIONAL
*"       TABLES
*"              DEKPO STRUCTURE  UEKPO OPTIONAL
*"              DPEKPO STRUCTURE  PEKPO OPTIONAL
*"              DEKET STRUCTURE  UEKET OPTIONAL
*"              DESLL STRUCTURE  ML_ESLL OPTIONAL
*"              DINT_EDIDD STRUCTURE  EDIDD
*"       EXCEPTIONS
*"              ERROR_MESSAGE_RECEIVED
*"              DATA_NOT_RELEVANT_FOR_SENDING
INCLUDE ZXM06U33 .
ENDFUNCTION.
Regards
Tamá

Similar Messages

  • Change Ship to party number for outbound delivery

    Hi guys
    I have a problem 
    We need to change Ship to party number for outbound delivery
    Any suggestions
    Any Table level changes posibility???
    Thanks
    SAP MM

    Hi,
    You cannot change the ship to party in delivery, nor should you change it.
    If you really want to change the SH in delivery, please delete the delivery (after cancelling the picking) and then go to sales order in change mode and then change the ship to party there. After doing this, create the delivery once again with the new SH.
    It is not advisable even through programatically to change SH in delivery. This will have lot of implications in the further processes like PGI, Proof of Delivery and so on.

  • How to populate the data for additional fields in custom report of fbl5n tr

    hallo friends,
    i ha ve to add some fields to the output of custome report of transaction FBL5N.
    Till now i have only added the fields to the output.
    Now i have to write the code to populate the data for those fields in the program.
    1.     Customer Credit Group(ACM/RCM): (Table: KNKK; Field Name: VKORG )
    2.     Credit Representative Group: (Table: KNKK; Field Name: SBGRP)
    3.     Customer Account Number(CAN#): (Table: KNKK; Field Name: KNKLI)
    4.     Alternative Payer(ALTP#) : (Table: KNA1; Field Name: KUNNR)
    5.     Risk Category: (Table: KNKK; Field Name: CTLPC)
    6.     Credit Info Number: (Table: KNKK; Field Name: KRAUS)
    7.     Rating: (Table: KNKK; Field Name: DBRTG)
    8.     Payment Index: (Table: KNKK; Field Name: DBPAY)
    9.     Credit control area: (Table: KNKK; Field Name: KKBER)
    10.     Company code: (Table: KNB1; Field Name: BUKRS)
    11.     Sales Organization: (Table: KNVV; Field Name: VKORG)
    These are al fields i have to populate in the program..
    MY ATTEMPTS:
    I tried getting the data for KNKK table by GET KNKK ,but it is giving some garbage values...
    And Logical database used here is DDF,and i have to add the VKORG of KNVV too...but KNVV is not there in DDF...
    Can anybody tell me how should i proceed..
    thanks in advance.

    Thnx Andreas,
    i have following doubts again..
    I have to add sales organisation field to the selection screen...(this is given in the req.)
    now if i will say GET KNKK...it would not keep account of this 'sales organisation' field...so how should i fetch the data with these input data( i.e. 'compny code' and 'customer' are the fields given by LDB and 'sales oraganisation' is the field i put it on the selection screen)
    And what about the KNVV-VKORG ,because the KNVV is not present in the LDB.

  • Populate PO number  in the FI document

    Hi,
    I want to populate PO number in the assignment field of FI document.
    I  tried sort key 010, it has populated PO number on second line item (i.e. GR/IR account line item) but not populated on first line item (i.e. Vendor line item).
    Please let me know solution for this ....
    Thank You,
    Archana

    Hi,
    I tried Substitute, but not worked.
    Please help me to solve this issue.
    Thank You,
    Archana Ugale

  • How to get Get IDOC Number for Inbound IDOCS

    Hi,
    I am using the FM -- IDOC_INPUT_HRMD for creating Inbound IDOCS.
    I populate the values for Control Record and Data Record and the IDOC is posted successfully and i get the status 53 in the status Table.
    But the problem is the field for IDOC number(DOCNUM in IDOC_STATUS Table of the FM ) is empty.
    How can i get the DOCNUM for the IDOC posted as a result of this FM ?
    regards,
    Siddhartha

    Hi Siddhartha,
    I think you cannot call IDOC_INPUT_HRMD fm directly from the external program as this fm only handles the application logic part and not the idoc number generation and save part.
    So I think you have to call IDOC_INBOUND_SINGLE from your external program and then get the IDOC number.
    Then if you need the status records then you need to call another fm and feed IDOC number that you have got from IDOC_INBOUND_SINGLE (there is one IDOC_READ_COMPLETELY but it is not a remote enabled fm)
    <b>OK, I just found one RFC enabled fm which you can use,
    <b>EDI_DOCUMENT_READ_ALL_STATUS</b></b>
    Hope this helps..
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • How to Populate Materialk number in special ledger

    Hi,
       We have special ledger ODS where we have material number as data field. But its not getting populated. The table in R/3 used for special ledger extractor doesnt have Material number. How to populate  material number in BW for special ledger?
    Thanks

    Hi Rajesh,
    I am using PEXR2002 format for Idoc. Problem is i want Cheque number to populate in the Idoc for assigned payment method. For that i have assigned payment method for the cheque lot using t-code FCHI. After this i created proposal and run the payment. Status shows 1 generated, 1 completed. But the Idoc doesn't get created.Whats the problem. Can someone help me in this issue.
    Thanks,
    Shilpa
    Edited by: Shilpa Korad on Jan 20, 2010 9:29 AM
    Edited by: Shilpa Korad on Jan 20, 2010 9:48 AM

  • Populate partner number from return IDOC.

    Hi Experts,
    I have a requirement where I need to populate partner number from return IDOC to the delivery document. The partner number will not be necessarily have a master data in SAP.Example: I will get a forwarding agent number which will not have a master data created in R/3, but still SAP should allow me to save the delivery with the number that I put in the delivery header-partners with appropriate partner funtion defined by us. Ideally my IDOC will carry any number which I need to populate under header partners in the delivery with out getting any error message saying "No master record exists for XXXXXX". Please provide your expert opinion.
    Regards,
    Emaya

    Emaya,
    You cannot save a Partner Function with a Partner Number that doesn't already exist in SAP. Therefore you either need to have the partner(s) created in SAP, or find somewhere else to store the data. There are a few free-format fields in LIKP that may suit your purpose, alternatively you could extend the iDoc & table LIKP to incorporate a new field.LIKP-LIFEX is a good candidate if you're not using it already, or of course there's always a text field.
    Cheers, Paul.

  • RFC For IDoc outbound processing

    I am creating an RFC for BDC for call transaction we19
    input as : idoc number
    and output:-.. iDoc Outbound processing done
    so:-
    I go to we19> give iDoc Number (say, some number for ALEREQ01), and execute> click on Outbound processing-->click enter -->enter
    in this way, I can process any iDoc from SAP system to outbound.
    I want  to create RFC for the same.
    Problem:-
    when i am executing that RFC, and when I check the iDoc status in we05, that iDoc shows status as Idoc ready to dispatch( its in yellow color).. Its not showing green color and not saying that IDoc passed OK
    when I try manually ,I see the status green..OK..successfully
    Any idea why I am getting this problem??
    Is there any problem in my BDC recording?..but when I run that recording for Process, i dont see any problem,it executes successfully.. but when I copy the Code from BDC and make a RFC using that code, its giving problem as mentioned.

    Hi Ankit,
    Theorotically it should work.... but I'll suggest not to use BDC here. What you can do is,
    1. You have Idoc number..Right?
    2. Read control record from EDIDC and data record from EDID4.
    3. Then call Master_idoc_distribute.
    4. This will again distribute the same IDoc with same control and data record as a new one. It will be same as WE19 , but without WE19.
    Please check and confirm.
    Regards,
    Audy.

  • Need sample programs for inbound & outbound interfaces in abap hr?

    hi friends
    i need sample programs for inbound & outbound interface programs in hr abap . any one send me pls
    thanks & regards
    deepurd

    &u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014
    *& Report ZPROG65_11 *
    &u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014
    REPORT zprog65_11 .
    TABLES : lfa1.
    TYPES : BEGIN OF ven ,
    lifnr LIKE rf02k-lifnr,
    bukrs LIKE rf02k-bukrs ,
    ekorg LIKE rf02k-ekorg,
    ktokk LIKE rf02k-ktokk,
    name1 LIKE lfa1-name1,
    sortl LIKE lfa1-sortl,
    land1 LIKE lfa1-land1,
    spars LIKE lfa1-spras,
    akont LIKE lfb1-akont,
    fdgrv LIKE lfb1-fdgrv,
    waers LIKE lfm1-waers,
    anred LIKE lfa1-anred ,
    END OF ven .
    DATA : t_ven TYPE TABLE OF ven WITH HEADER LINE ,
    t_bdc LIKE TABLE OF bdcdata WITH HEADER LINE .
    DATA : v_file TYPE string ,
    v_temp TYPE i ,
    v_lifnr(10) TYPE n,
    v_hdate LIKE sy-datum.
    DATA : c_tcode LIKE sy-tcode .u201Dvalue u2018XK01u2032.
    PARAMETERS : p_file(30) DEFAULT u2018c:\vendor1_11.txtu2019,
    p_group LIKE apqi-groupid.
    START-OF-SELECTION .
    MOVE p_file TO v_file .
    PERFORM file_upload TABLES t_ven USING v_file .
    v_hdate = sy-datum - 1.
    CALL FUNCTION u2018BDC_OPEN_GROUPu2019
    EXPORTING
    client = sy-mandt
    DEST = FILLER8
    group = p_group
    holddate = v_hdate
    keep = u2018Xu2019
    user = sy-uname
    IMPORTING
    QID =
    EXCEPTIONS
    client_invalid = 1
    destination_invalid = 2
    group_invalid = 3
    OTHERS = 11
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT t_ven .
    clear lfa1.
    v_temp = 0.
    MOVE t_ven-lifnr TO v_lifnr.
    SELECT SINGLE * FROM lfa1 INTO lfa1 WHERE lifnr =
    v_lifnr.
    IF sy-subrc = 0.
    WRITE :/ u2018foundu2019.
    v_temp = 1.
    else.
    write: / u2018not foundu2019.
    ENDIF.
    IF v_temp = 0.
    c_tcode = u2018xk01u2032.
    PERFORM fill_ddc_table .
    ELSEIF v_temp = 1.
    c_tcode = u2018xk02u2032.
    PERFORM fill_bdc_table .
    ENDIF.
    CALL FUNCTION u2018BDC_INSERTu2019
    EXPORTING
    tcode = c_tcode
    TABLES
    dynprotab = t_bdc
    EXCEPTIONS
    internal_error = 1
    OTHERS = 7.
    REFRESH t_bdc .
    ENDLOOP .
    CALL FUNCTION u2018BDC_CLOSE_GROUPu2019
    EXCEPTIONS
    not_open = 1
    queue_error = 2
    OTHERS = 3.
    &u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014
    *& Form file_upload
    &u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014
    text
    u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014-
    u2013>P_T_VEN text
    u2013>P_V_FILE text
    u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014-
    FORM file_upload TABLES p_tven STRUCTURE t_ven
    USING p_vfile.
    CALL FUNCTION u2018GUI_UPLOADu2019
    EXPORTING
    filename = p_vfile
    filetype = u2018ASCu2019
    has_field_separator = u2018Xu2019
    IMPORTING
    FILELENGTH =
    HEADER =
    TABLES
    data_tab = p_tven
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    OTHERS = 17
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. u201D file_upload
    &u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014
    *& Form FILL_DDC_TABLE
    &u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014
    text
    u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014-
    u2013> p1 text
    <u2013 p2 text
    u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014-
    FORM fill_ddc_table .
    SCREN 100
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180100u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018RF02K-LIFNRu2019.
    t_bdc-fval = t_ven-lifnr .
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018RF02K-BUKRSu2019.
    t_bdc-fval = t_ven-bukrs.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018RF02K-EKORGu2019.
    t_bdc-fval = t_ven-ekorg.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018RF02K-KTOKKu2019.
    t_bdc-fval = t_ven-ktokk.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018/00u2032.
    APPEND t_bdc. CLEAR t_bdc.
    110
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180110u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFA1-NAME1u2032.
    t_bdc-fval = t_ven-name1 .
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFA1-SORTLu2019.
    t_bdc-fval = t_ven-sortl.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFA1-LAND1u2032.
    t_bdc-fval = t_ven-land1.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFA1-SPRASu2019.
    t_bdc-fval = t_ven-spars.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018/00u2032.
    APPEND t_bdc. CLEAR t_bdc.
    120
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180120u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018/00u2032.
    APPEND t_bdc. CLEAR t_bdc.
    130
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180130u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018=ENTRu2019.
    APPEND t_bdc. CLEAR t_bdc.
    210
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180210u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFB1-AKONTu2019.
    t_bdc-fval = t_ven-akont .
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFB1-FDGRVu2019.
    t_bdc-fval = t_ven-fdgrv.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018/00u2032.
    APPEND t_bdc. CLEAR t_bdc.
    215
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180215u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018/00u2032.
    APPEND t_bdc. CLEAR t_bdc.
    220
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180220u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018/00u2032.
    APPEND t_bdc. CLEAR t_bdc.
    310
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180310u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFM1-WAERSu2019.
    t_bdc-fval = t_ven-waers .
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018/00u2032.
    APPEND t_bdc. CLEAR t_bdc.
    320
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180320u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018=UPDAu2019.
    APPEND t_bdc. CLEAR t_bdc.
    ENDFORM. u201CFILL_DDC_TABLE
    u201D FILL_DDC_TABLE
    &u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014
    *& Form FILL_BDC_TABLE
    &u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014
    text
    u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014-
    u2013> p1 text
    <u2013 p2 text
    u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014-
    FORM fill_bdc_table .
    SCREN 101
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180101u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018RF02K-LIFNRu2019.
    t_bdc-fval = t_ven-lifnr .
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018RF02K-BUKRSu2019.
    t_bdc-fval = t_ven-bukrs.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018RF02K-EKORGu2019.
    t_bdc-fval = t_ven-ekorg.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018/00u2032.
    APPEND t_bdc. CLEAR t_bdc.
    110
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180110u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018lfa1-anredu2019.
    t_bdc-fval = t_ven-anred .
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFA1-NAME1u2032.
    t_bdc-fval = t_ven-name1 .
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFA1-SORTLu2019.
    t_bdc-fval = t_ven-sortl.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFA1-LAND1u2032.
    t_bdc-fval = t_ven-land1.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018LFA1-SPRASu2019.
    t_bdc-fval = t_ven-spars.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018/00u2032.
    APPEND t_bdc. CLEAR t_bdc.
    300
    t_bdc-program = u2018SAPMF02Ku2019.
    t_bdc-dynpro = u20180300u2032.
    t_bdc-dynbegin = u2018Xu2019.
    APPEND t_bdc. CLEAR t_bdc.
    t_bdc-fnam = u2018BDC_OKCODEu2019.
    t_bdc-fval = u2018=YESu2019.
    APPEND t_bdc. CLEAR t_bdc.
    ENDFORM. u201D FILL_BDC_TABLE
    Best Regards

  • How i can change the phone number for face time in iPhone 6

    plas i want change my old number to new number for face time in iPhone

    Go into Settings, turn FaceTime off. Power the phone off/on. Go back into Settings, turn on FaceTime and let it activate. The phone number comes from the SIM and the activation message. It should populate the correct number.

  • Serial Number for the invoiced item

    Hi All,
    I need to find out the serial number for the invoiced item. For ex: I have an order with an item with qty 3 and they all the received in the inventory (drop ship case). But I have invoiced only one qty of the item and I need to find out serial number for this specific item.
    I am using the query below but getting the sr no for all the 3 qty of the item.
    SELECT rct.trx_number,rctl.customer_trx_id, rctl.customer_trx_line_id
    ,ii.instance_number
    ,ii.serial_number
    ,ool.ordered_item
    ,ool.inventory_item_id
    FROM csi.csi_item_instances ii,
    apps.oe_order_lines_all ool,
    apps.ra_customer_trx_lines_all rctl,
    apps.ra_customer_trx_all rct
    WHERE ii.last_oe_order_line_id = ool.line_id
    AND ii.inventory_item_id = ool.inventory_item_id
    AND rct.customer_trx_id = rctl.customer_trx_id
    AND rct.org_id = rctl.org_id
    -- AND UPPER( ii.serial_number) NOT LIKE ('PEND%')
    AND rctl.interface_line_context = 'ORDER ENTRY'
    AND rctl.interface_line_attribute6 = TO_CHAR(ool.line_id)
    AND NVL(ool.cancelled_flag,'N')= 'N'
    AND ool.flow_status_code = 'CLOSED'
    AND ool.org_id = rctl.org_id
    AND rct.customer_trx_id = :p_trx_id
    AND rctl.customer_trx_line_id = :p_trx_line_id
    Thanks,
    Rahul

    Hello Sandeep,
    I am looking for any pre-exisitng link between these entities. If it doesn't exist or is not possible at all without any customization, just wanted to confirm it.
    Also, when records are interfaced to the AR and autoinvoicing is run, we may populate any attribute column to capture the sr.# but again, how can we specifically determine the sr. no. for the item being invoiced. I think we'll have to pick anyone out of the 3 generated in the above example. Similarly, if we invoice the rest 2 items later, then we'll have to assign the remaining 2 sr. #s to each of these 2 items in any order.
    Please let me know if this is what you meant.
    Thanks,
    Rahul

  • BAPI for creating outbound delivery

    Hi,
    Can anyone please let me know the bapi for creating outbound delivery.I have checked for few bapi's like
    BAPI_OUTB_DELIVERY_SAVEREPLICA
    BAPI_DELIVERPROCESSING_EXEC
    If i use the first one i would like to know whether i need to do the PGI seperately by using any bdc or is it taken care in the same bapi.
    Its basically for the workflow task werein we have all the required parameters like delivery numb, sales order num ...etc
    Iam new to BAPI's.Please consider my request and let me know the details for the same.
    thanks
    keith

    The below is for creating delivery for STO's.
        Delivery creation
          call function 'SHP_VL10_DELIVERY_CREATE'
            exporting
              IF_LEDAT           = I_LFDAT
              IF_NUR_VORGABE_POS = YES
              IT_KEY_ENQUE_READ  = IT_KEY_ENQUE_READ
              IT_KOMDLGN         = IT_KOMDLGN
            changing
              CX_SD_ORDER        = XS_SD_ORDER
              CT_VBSK_ALL        = XT_VBSK_ALL
              CT_VBLS            = XT_VBLS
              CT_KEY_LATE        = XT_KEY_LATE.
    Message was edited by: Anurag Bankley

  • How to get the serial number for bundled software (sony vaio notebook)

    Hi, bought a laptop from sony (vaio fit (multiflip) 11a and it had photoshop elements preinstalled. I want now a clean, fresh windows and will so reinstall windows from a clean image. but then i wont have photoshop elements, so i need the serial number for my preinstalled photoshop elements. i registerd it online via my adobe id, but it wont show up there. i could extract a key, with belarc adviser (software) but this key does not work if i try to download the trial from adobe.com and try to register it with this key. also i tried to ad new software at my online adobe.com account, with this serial, and it said "already registered" but it wont show up in my account. Whats wrong here?
    Will send the serial/key if needed by pn.
    Greetings
    Immscha

    Is the key you’re trying to use for the same version of PSE that you have installed on your laptop, i.e. 10, 11, 12?
    Do you see anything on your Adobe account for registered software?  Be aware that the page takes some seconds or 10s of seconds to populate with your products so will look empty for a while.  This is the page I'm talking about:
    https://www.adobe.com/account/my-products-services.html

  • What is the correct part number for dvi to vga adapter for macbook pro model A1260

    Can someone tell me the Apple part number for the DVI to VGA adapter that came with a Macbook Pro model A1260? (Early 2008)
    My adapter has reached the end of useful life.
    Thanks!

    You have a MacBook Pro 15" Early 2009 (MacBook Pro 4,1)
    The Mac's port is a Dual-link DVI (VGA, Composite and S-video with adapter)
    The DVI connector  connects to the Dual link-DVI port,thus you need a DVI to VGA adapter.
    http://eshop.macsales.com/item/Micro%20Accessories/DVIVGA/
    You also can search the Apple store online for the part, but it's so basic and simple that paying more for Apple's version is just for looks.

  • My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    http://support.apple.com/kb/TS2005
    http://support.apple.com/kb/HT1861
    https://ssl.apple.com/support/proapps/serialnumbers/

Maybe you are looking for

  • Is There A Way for Windows Outlook to SEE & RESPONSE to iCal/Mail's Invites

    Hello all. I apologised first for sending out a similar topic again so soon. I "was" using Mail and iCal in the office and the 'rest' of my 90% colleagues are on PCs with Windows Outlook. When I create a new event in iCal and send an invite either by

  • You know ill never understand Verizon

    Over the lst few months i have been reading things online about users worried verizion may axe thier unlimted data plan for *using to much* also other users blaming users who use 50+ GB of data a month for why they are no longer offering unlimted dat

  • JCo 3.0  - RFC call from EJB with SSO

    Hello, I am trying to call abap using JCo 3.0 from EJB (NW CE 1.0). I have configured destination on server with authentication method to use SAP Logon tickets. But when I call my EJB method that looks like this: JCoDestination dest=JCoDestinationMan

  • I cant receive mail on any device

    all of a sudden my email address wont receive any emails, when i try to send email from another email address i get a delivery notification sayinf delivery has failed and the reason is "over quota"

  • What is Nokia's own statement of direction regardi...

    I've been told Nokia is ditching the brand "OVI", in favor of a brand called "Nokia" or alike. Does this mean that a new application will replace OVI Suite? What is Nokia's own stand on OVI suite vs. PC Suite?