Current Position:Home > Open Purchase Order UPload Using the BAPI 's

Open Purchase Order UPload Using the BAPI 's

Update:10-11Source: network consolidation
Advertisement
i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
Thanks & Regards
Raghu
<u>Field Name     Field Description                              Type     Length</u>
<b>EBELN             Purchasing Document Number                         CHAR     010          X
BUKRS             Company Code                                                     CHAR    004     MN10     C
EKORG             Purchasing Organization                              CHAR     004     MN00     C
EKGRP             Purchasing group                              CHAR     003          X
BSART             Order type (Purchasing)                              CHAR     004          X
LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
BEDAT             Purchase Order Date                              DATS     010          X
ZTERM             Terms of payment key                              CHAR     004          X
WAERS             Currency Key                                   CUKY     005          X
INCO1             Incoterms (part 1)                              CHAR     003          X
INCO2             Incoterms (part 2)                              CHAR     028          X</b>
EBELP             Item Number of Purchasing Document                    NUMC     005          X
EMATN             Material number                                   CHAR     018          X
WERKS             Plant                                        CHAR     004          X
LGORT             Storage location                              CHAR     004          X
EPSTP             Item category in purchasing document                    CHAR     001          X
KNTTP             Account assignment category                         CHAR     001          X
EINDT             Item delivery date                              DATS     010          X
MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
MEINS            Order unit                                   UNIT     003          X
NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
SAKTO            Cost element                                   CHAR     010          X
KOSTL              Cost Center                                   CHAR     010          X
VBELN          Sales and Distribution Document Number                    CHAR     010          X
VBELP          Sales document item                              NUMC     006          X
WEMPF          Goods recipient                                   CHAR     012          X
WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
SPINF          Indicator: Update info record                         CHAR     001          X
WEPOS          Goods Receipt Indicator                              CHAR     001          X
REPOS          Invoice receipt indicator                         CHAR     001          X

The Best Answer

Advertisement
i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
Thanks & Regards
Raghu
<u>Field Name     Field Description                              Type     Length</u>
<b>EBELN             Purchasing Document Number                         CHAR     010          X
BUKRS             Company Code                                                     CHAR    004     MN10     C
EKORG             Purchasing Organization                              CHAR     004     MN00     C
EKGRP             Purchasing group                              CHAR     003          X
BSART             Order type (Purchasing)                              CHAR     004          X
LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
BEDAT             Purchase Order Date                              DATS     010          X
ZTERM             Terms of payment key                              CHAR     004          X
WAERS             Currency Key                                   CUKY     005          X
INCO1             Incoterms (part 1)                              CHAR     003          X
INCO2             Incoterms (part 2)                              CHAR     028          X</b>
EBELP             Item Number of Purchasing Document                    NUMC     005          X
EMATN             Material number                                   CHAR     018          X
WERKS             Plant                                        CHAR     004          X
LGORT             Storage location                              CHAR     004          X
EPSTP             Item category in purchasing document                    CHAR     001          X
KNTTP             Account assignment category                         CHAR     001          X
EINDT             Item delivery date                              DATS     010          X
MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
MEINS            Order unit                                   UNIT     003          X
NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
SAKTO            Cost element                                   CHAR     010          X
KOSTL              Cost Center                                   CHAR     010          X
VBELN          Sales and Distribution Document Number                    CHAR     010          X
VBELP          Sales document item                              NUMC     006          X
WEMPF          Goods recipient                                   CHAR     012          X
WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
SPINF          Indicator: Update info record                         CHAR     001          X
WEPOS          Goods Receipt Indicator                              CHAR     001          X
REPOS          Invoice receipt indicator                         CHAR     001          X
  • Open Purchase Order UPload Using the BAPI 's Update:10-11

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code fo

  • PURCHASE ORDER UPLOAD THRU BDC Update:10-11

    HOW MANY FLAT FILES 'LL U UPLOAD FOR PURCHASE ORDER IN BDC ND BAPI. i.e., WILL U GIVE SEPERATE FILE FOR HEADER DATA AND ITEM DATA OR A SINGLE FILE FOR BOTH. GIVE ME SOME SAMPLE CODES.Refer the sample program in BDC: *& Report ZTRAINEE15_BDC * REPORT

  • How to create purchase order using VA01 for BAPI? Update:10-11

    how to create purchase order using VA01 for BAPI?Hi Arun, Please check this link Example Program for BAPI_PO_CREATE1 Re: BAPI_PO_CREATE1 Questions in BAPI_PO_CREATE1 Problem with BAPI_PO_CREATE1 *& Report BAPI_PO_CREATE * REPORT bapi_po_create. Input

  • PURCHASE ORDER CREATION USING ALE ( BAPI )... Update:10-11

    HI,       I DESPERATELY NEED SOME ADVISE IN CREATING A PURCHASE ORDER USING ALE....I AM VERY NEW TO ALE SO CAN ANYONE EXPLAIN IN STEPS WHAT TO BE DONE IN DETAIL....PLS HELP ME OUT IN THIS REGARD....I WILL GET SOME DATA AS INBOUND IDOCS AND I NEED TO

  • How create a purchase order without imputation using bapi: BAPI_PO_CREATE1 Update:10-11

    Hello Forum I have an request for purchase order with imputation K (cost center, EBAN-KNTTP). During the liberation of the request for purchase order, and using the Bapi: BAPI_PO_CREATE1, I want to create a Purchase Order without imputation (imputati

  • PURCHASE ORDER UPLOAD Update:10-11

    Hi,              My query:              How to upload Purchase order data from legacy to SAP. Bye...Hi check this example(explained step by step) Using Tcode MM01 -- Maintain the source fields are 1) mara-amtnr char(18) 2) mara-mbrsh char(1) 3) mara-

  • Regarding Purchase order upload Update:10-11

    Dear All,                        I have to upload the Purchase orders in to the SAP using DTW.i have fillled the follwing fields in to the opor and POR1 template but it is showing application error. OPOR Record Key Docentry address cardcode docduedat

  • Purchase order upload using LSMW Update:10-11

    Hi Can we use Basic type ORDERS05 in the IDOC method to upload purchase order using LSMW. This also can achieved using business object BUS2012 and basic type PORDCR05. Just wanted to what would be the difference between these two methods and possibli

  • Conifugarate item in purchase order by Function or BAPi Update:11-30

    Hello experts!, I have the following problem: I need to configurate de characterstics of a material at purchase order item level. But I can´t find any BAPI neither Function Module to perform this action. Has anyone done this before? Thank you for you

  • Standard purchase order upload to oracle Update:10-11

    hi, we are on oracle apps 11i, database 9i. I have a custom requirement that requires importing purchase orders to Oracle Apps through database. I was advised to use the following interface tables: PO_HEADERS_INTERFACE PO_LINES_INTERFACE PO_LINE_LOCA