Uploading Service POs....

Hi All,
I am trying to upload open purchase orders and service POs using BDC. If any one can provide the info regarding the coding part it would be helpful to me as it is urgent.
regards
PSNG

Hii,
This is standard process
If you want to restrict, you use any exit to control this.
Regards,
Kumar

Similar Messages

  • Creation of Service POs using BAPI_PO_CREATE1

    Hi Friends,
    I am trying to create service POs through BAPI (BAPI_PO_CREATE1). I am facing different errors like Please maintain service or limits eve though I am providing the details in POSERVICES. Can any one suggest me the fields which we have to provide for creating the service POs.
    I am using this BAPI in LSMW.
    Thanks,
    Gagan Chodhry

    Check this it may help u.
    DATA: BEGIN OF po_header OCCURS 0.
    INCLUDE STRUCTURE BAPIEKKOC.
    DATA: END OF po_header.
    DATA: BEGIN OF po_iteam OCCURS 10.
    INCLUDE STRUCTURE BAPIEKPOC.
    DATA: END OF po-items.
    DATA: BEGIN OF PO_ITEM_SCHEDULES OCCURS 0.
    INCLUDE STRUCTURE BAPIEKET.
    DATA: END OF PO_ITEM_SCHEDULES.
    DATA: BEGIN OF I_BAPIRETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRETURN.
    DATA: END OF I_BAPIRETURN.
    CALL FUNCTION 'BAPI_PO_CREATE'
    EXPORTING
    PO_HEADER = PO_HEADER
    SKIP_ITEMS_WITH_ERROR = 'X'
    TABLES
    PO_ITEMS = PO_ITEMS
    PO_ITEM_SCHEDULES = PO_ITEM_SCHEDULES
    RETURN = I_BAPIRETURN
    EXCEPTIONS
    OTHERS = 1.
    Regards

  • PO item overview with item details for service POs

    Hi experts,
    Is there any standard report to see the PO Item overview short description data with Item-services details in case of service POs.
    We raise the service pos with service short description in  Item overview and against that short description we maintain service nos in item-services.
    we want to see the PO wise item overview short description with item services in one report.
    we have already seen ME2S,MSRV1 to 6,ME80FN, but its not serve our purpose.

    hi
    go to me80fn
    here press shift F4
    then u will get fields to add here at item level select the item cat and acct assignment
    now give item cat 9 and acct assignment as k
    then execute
    now u will get the report ,choose po histry mode here u will get what u want
    similarly u can try it with me2n
    regards
    kunal

  • Enter Invoice before Service Entry for Service POs?

    Hi,
    I have a question that I am hoping someone can answer.
    As per standard process, in order to enter an invoice for a service PO, the service entry should be posted and accepted.  This is the standard service procurement process, i.e. a 3 way match process for service POs (PO - Service Entry - Invoice).
    We have a request to be able to enter an invoice for a service PO (that will go on block) before entering the service entry sheet; once the service entry sheet is entered and accepted, the invoice should be unblocked and paid.
    Currently, based on our testing in ECC 5.00, the system does NOT allow the user to enter an invoice for a service PO unless:
    1.  the service entry has been posted and accepted in the system (when using GR-IV checked, GR checked); or
    2.  the service PO is created such that the GR is non-valuated (where GR-IV is unchecked):
         a.  GR-IV unchecked
         b.  SR-IV unchecked
         c.  GR checked
         d.  GR non-valuated checked
    In option 2 above, since it is GR non-valuated, as soon as the invoice is posted, the consumption account is hit, and offset by the vendor account (the GR/IR account is not impacted in this scenario).  When the service entry is created and accepted, no accounting postings are made as it is GR non-valuated.  Therefore, it looks very similar to a 2 way match process.
    We also read in SAP Note 1166693 that says an invoice cannot be entered before service entry unless you activate Enterprise Public Sector, however, this conflicts with option 2 mentioned above.
    Has anyone come across a similar requirement, implemented Public sector, option 2 above, or have any other solutions?  Does anyone see any negative impacts with implementing option 2 above?
    Cheers,

    Hi,
    I think you can use this functionality using LIV tolarance key DW ,please explore Spro>MM>LIV>Invoice block>set tolerence limits
    By creating PO IV based you can block invoice till GR is posted, check it
    Thanks
    Diwakar

  • Pricing procedure for service pos

    Hi guys,
    WE have defined two pricing procedures i.e. for domestic and for import.  When we create a service PO, domestic pricing procedure is being populated.  Is this the standard functionality or do we need to use a separate pricing procedure for service POs?  If that is the case, how to do it?
    We are using the same document type and same purchase organisation for purchase order for services and materials
    thanks in advance

    Normaly the std domestic price will work for the service but you have service pricing also,
    for the std service pricing
    SPRO-MM-External service management-Maintain conditon for services
    here you will find the service schema and which will defualt in the service PO
    If want to see the service condtion
    go to PO service tab and click on condition icon at the bottom of the screen and it will show you the service conditon with schema

  • Tax calculation in Service POs

    Dear All,
    While creating a service PO I am maintaining Tax code at invoice Tab. But while clicking on Taxes button to see the tax calculation it is not apperaing. Also at condition tab total taxes condition type showing no amount.
    For the same tax code if i create a Material PO then system is showing tax calculation after clciking on Taxes button also i can see the same amonunt at condition tab against condition type.
    is it stnadard that we can not see tax calculation in service POs, only while doing SES we can see the tax calculations.
    If not what could be the reason that i couldnt see tax calculations in service POs.
    Please guide
    Regards,
    Rakesh

    Hi,,
    Check you are doing service PO  and this require Account assignmnet cat-K  and Itemcat-D
    and mandatory is -Material Group.
    If you are using TAXINN  -Then you need to maintain Service tax -conditions like,-Example -JSRT,JEC3,JSE3-
    Service tax  ,Ecess on service tax,SHECess on service tax  has to maitain for
    Plant and material Group Access sequence . in FV11.
    Then only you can get.
    where as for the material you are already conditions are maitained so you are getting the tax details.
    If you are using TAXINJ- For blank  you maintain chaper ID with Plant in J1ID  then you will get the taxdetais.
    i think you are clear what i mean to say
    with regrads
    Shrinivas Gangoor

  • Keeping control over large service POs

    Hi everybody,
    In our organization, we are implementing a shared service center, and I was wondering if you had any ideas about the handling of large service POs.
    We are using a three way match for almost all purchasing. The order and receipts are booked in individual plants, and the invoices will be booked in the SSC.
    A good example to illustrate the problem is transportation. Usually, a large service PO is created for a longer period of time, e.g. 6 months. When the goods receipt is booked using the invoice, how do you know the invoice is thoroughly checked? The receipient might not do a good job here, and if he/she doesn't, this will result in the payment of the said invoices.
    This is a pretty significant risk, given the large number of service POs and their large values. I was hoping you might have some ideas to tackle this problem, while keeping the auditors and the purchases happy.
    Regards,
    Richard

    If you just want to know where the allocation is coming from, it could
    be possible to find that using JRA.
    Create a JRA recording. Make sure the JRA recording covers one of your
    large allocation events. Open the JRA recording and look at the GC
    General tab.
    Now, you should be able to find the stack trace for your large
    allocation in the "Garbage collection call tree" pane.
    If your JVM terminates due to OOME when the large allocation happens, I
    don't know whether or not the GC will be part of the JRA recording.
    Regards //Johan
    Marko Milicevic skrev:
    Is there any support in Mission Control (or JRockit itself), to help identify the root cause of large transient memory allocations?
    eg. There is a service request that is allocating a set of large temporary buffers (>200megs). Once the call competes, the memory is no longer reachable (is collectable).
    Ideally i would like to be able to create an alert that fires if the amount of reachable memory has increase by X-megs over Y-time interval. The alert would also include a heap dump for offline analysis, or at least a dump of all the current stack traces.
    A similar feature seems to be available for Weblogic.
    http://e-docs.bea.com/wls/docs92/ConsoleHelp/taskhelp/monitoring/LogLowMemoryConditions.html
    Is this Weblogic feature inherited from Mission Control, JRockit, or something unique to Weblogic?
    Thank you.

  • FM to get service POs

    Hi,
    Is there any FM available in SRM to get all the service POs created in system during a specified time period.
    We are in ECS SRM 4.0 .
    Thanks in advance
    Prasad

    I don't think there is readily available FM for your purpose. It might be better off for you to write your own routine by searching through DB table, such as BBP_PDIGP (with product_type = 02, among other criteria you might have).

  • GR for Service POS

    HI i would like to know the GR process for Services pos (standard )
    thank you
    ash

    HI  Ashok,
    During Vendor code creation in T-code XK01 of Purchasing  Data Screen under Control Data TAB the following option to be tick marked are as follows.
    GR - Based Inv.Verif.      to be tick marked
    Srv.Based Inv.Ver           to be tick marked
    then the purchase order creating for that vendor and the PO - Item Detail menu Invoice TAB the following option automatically ticked marked based on the above vendor creation option ticked are as follows.
    GR-Bsd IV
    S.Based IV
    After that PO released, if supply PO - GRN made using T-code MIGO and if service PO - Service Entry Sheet (SES) made using T-code ML81N. Based on the above option tick marked GR process internally made for service PO's.
    Hope, it is very useful for you.  
    Regards,
    K.Rajendran

  • BAPI to upload service line to Quotation

    Hi,
    I'm using BAPI_QUOTATION_CREATEBOS for uploading Service lines into BOS
    Qoutaion. We are able to upload single level service lines successfully
    using the above BAPI. We are facing lot of difficulty on building up
    multiple level upload through interface using the above BAPI. Can you
    please help us in finding out the interface which can upload multiple
    levels using the bapi or if there is any standard interface which can
    be used for the same. Thanks in advance.
    Regards,
    Venu

    Hi Vishal,
    Here multiple line means what? Subitem functionality?
    Sanjeev

  • ICloud Photo Library with automatic photo upload services such as Dropbox and Google

    After enabling iCloud Photo Library in iOS 8, do automatic photo upload services such as Dropbox and Google+ still upload photos in full resolution?
    Or do they upload the low resolution file?

    About iCloud Photos Library Beta, it is yet more a preview than a beta
    Do not rely on it to store full res Photos/Videos even if you have a 200GB iCloud Store
    Major Bugs (according to help description of fonctionality):
    -only IOS8 Photos manually edited are uploaded full res from IOS ! If you do not edit you get low res photos in iCloud Library
    -uploaded 1080p videos from IOS are converted to 720p 5mb/s as in existing Photo Sharing and not originals.
    -No upload button in web iCloud photo Client on MAC for many (all?) users
    Also very slow and very often stuck doing nothing.
    I am afraid we would have to wait for next year... or later
    What is unbelievable is that there are no information at all by Apple about what should word on the beta, and known problems, nor any release date, that is definitely not a beta, just powerpoint preview. I am very angry after all the fuss they have done around "new" iCloud and my 200GB monthly payment that I cannot use.

  • GR Based IV Tick for SERVICE POs

    Hi Friends,
    How can we avoid GR Based IV Tick tht is defaulted by system for SERVICE POs with item category D.
    When i tried to remove this Tick, system given error message, ": Combination of GR/IR Control not allowed for valuated GR"
    I want to remove this GR Based IV Tick for service PO to enable successful automatic removal of invoice blocking for such POs when GR is posted for required balance qty in system after 1st invoice is blocked by system for Price variance.
    in short, how can we have SERVICE PO without GR Based IV Tick ?

    1 ) when we remove GR Tick& GR Based IV Tick,
    If you dont want to post GR and GR Based IV Tick, is required for post the invoice.Practically this combination is not possible.
    2 ) When we tick Non valuated GR & Remove GR Based IV Tick
    .if you want to post GR and you dont want to any accounting document for perticular GR.Remove GR Based IV Tick will help you PO based invoice verfication.

  • Wrong 'Still to be delivered' & 'Still to be invoiced' quantities against service POs in ME2* reports

    Hello All,'
    I have come across some strange issue in all ME2* reports when I am checking the service POs.
    Few of the service POs are showing zero quantity for still to be delivered & invoiced when the service entry sheet is yet to be created & invoice has to be posted. However the amount for both i.e. still to be delivered & still to be invoiced are showing for those POs. In few of the POs where the service entry sheet has been created the still to be invoiced is showing as zero. The 'Delivery Schedule' tab page it shows correct open quantity.
    Please do note that we have indicator ' service-Based invoice verification' is marked & GR non valuated is not marked. Delivery completed & final invoice indicators are not set.
    I have searched the forum as well as SAP market place & came across few threads & notes but non of them has helped yet. The details are as follows,
    Notes-
    1855902
    706149
    1336237
    1449459
    1852810
    Threads
    ME2K - Still to be Invoice.........
    ME2N Report was showing wrong info
    Timely help will be appreciated.
    Manoj P.

    Hi Dev,
    Thanks for the information.
    ME2S won't be of much help for us as we want to know the pending quantity or still to be delivered quantity on item level & not on services level in one go for all the POs (including service, material POs too).
    Pleas find the screen shots below,
    Also check out the details in the 'Delivery schedule' tab page.
    Thanks
    Manoj P.

  • Problem creating Service POs with BAPI_PO_CREATE1

    Hi.
    I'm trying to create service POs with data that i read from an excel file, to do this I'm using the bapi: <b>BAPI_PO_CREATE1</b> I'm passing the following parameters:
    IMPORT:
    - poheader
    - poheaderx
    TABLES:
    - return
    - poitem
    - poitemx
    - poaccount
    - poaccountx
    - poservices
    - posrvaccessvalues
    - poservices text
    - extensionin
    When I execute the bapi, I'm getting the following messages into table return:
    <i>W - Error transferring ExtensionIn data for enhancement CI_EKKODB
    E - No instance of object type PurchaseOrder has been created. External reference:
    E - PO header data still faulty
    E - Purchase order date is in the past
    I - Change WBS Element could not be effected
    E - You cannot maintain service specs. due to incomplete transfer structure</i>
    Can anybody, please say me what am i doing wrong? How this bapi works?
    Regards.
    Gregory.

    Hello My friend
    Check this code:
    Code listing for: LZMMIUP001F01
    Description: Include LZMMIUP001F01
    ***INCLUDE LZMMIUP001F01 .
    *&      Form  fill_item
          text
         -->P_WA  text
    FORM fill_item  TABLES:  poitem STRUCTURE bapimepoitem "Item Data
                             poitemx STRUCTURE bapimepoitemx "Item Data (Change Parameter
                    USING wa STRUCTURE zlo_mmcnv009
                          package.
    item number
      poitem-po_item = wa-itemnum.
      poitemx-po_itemx = 'X'.
      poitemx-po_item = wa-itemnum.
      IF package <> ''.
        poitem-pckg_no = package.
        poitemx-pckg_no = 'X'.
      ENDIF.
    *Account Assignment Category
      IF wa-category <> ''.
        poitem-acctasscat = wa-category.
        poitemx-acctasscat = 'X'.
      ENDIF.
    *Item Category in Purchasing Document
      IF wa-itemcat <> ''.
        poitem-item_cat = wa-itemcat.
        poitemx-item_cat = 'X'.
      ENDIF.
    *Short Text
      IF wa-sortxt <> ''.
        poitem-short_text = wa-sortxt.
        poitemx-short_text = 'X'.
      ENDIF.
    *Material Number
      IF wa-material <> ''.
        poitem-material = wa-material.
        poitemx-material = 'X'.
      ENDIF.
    Unit of Measure
      IF wa-undmesure <> ''.
        poitem-po_unit = wa-undmesure.
        poitemx-po_unit = 'X'.
      ENDIF.
    *Purchase Order Quantity
      IF wa-quantity <> ''.
        poitem-quantity = wa-quantity.
        poitemx-quantity = 'X'.
      ENDIF.
    *Net Price in Purchasing Document
      IF wa-netprice <> ''.
        poitem-net_price = wa-netprice.
        poitemx-net_price = 'X'.
      ENDIF.
    *Plant
      IF wa-plant <> ''.
        poitem-plant = wa-plant.
        poitemx-plant = 'X'.
      ENDIF.
    *Material Group
      IF wa-matgrp <> ''.
        poitem-matl_group = wa-matgrp.
        poitemx-matl_group = 'X'.
      ENDIF.
    *Free Item
      IF wa-free <> ''.
        poitem-free_item = wa-free.
        poitemx-free_item = 'X'.
      ENDIF.
      APPEND poitem.
      APPEND poitemx.
    ENDFORM.                    " fill_item
    *&      Form  fill_header
          text
         -->P_WA  text
    FORM fill_header  USING wa STRUCTURE zlo_mmcnv009
                        poheader STRUCTURE bapimepoheader "Header Data
                        poheaderx STRUCTURE bapimepoheaderx. "Header Data (Change Toolbar)
      DATA: dia(2), mes(2), ano(4),
            vendor(10) TYPE n.
      dia = wa-docdate(2).
      mes = wa-docdate+2(2).
      ano = wa-docdate+4(4).
      CONCATENATE ano mes dia INTO wa-docdate.
      dia = wa-datestart(2).
      mes = wa-datestart+2(2).
      ano = wa-datestart+4(4).
      CONCATENATE ano mes dia INTO wa-datestart.
      dia = wa-datend(2).
      mes = wa-datend+2(2).
      ano = wa-datend+4(4).
      CONCATENATE ano mes dia INTO wa-datend.
    Document Type
      IF wa-doctyp <> ''.
        poheader-doc_type = wa-doctyp.
        poheaderx-doc_type = 'X'.
      ENDIF.
    vendor number
      IF  wa-vendor <>  ''.
        IF NOT ( wa-vendor CA sy-abcde ).
          vendor = wa-vendor.
          poheader-vendor = vendor.
          poheaderx-vendor = 'X'.
        ELSE.
          poheader-vendor = wa-vendor.
          poheaderx-vendor = 'X'.
        ENDIF.
      ENDIF.
    Document Date
      IF wa-docdate <> ''.
        poheader-doc_date = wa-docdate.
        poheaderx-doc_date = 'X'.
      ENDIF.
    purchasing organization
      IF wa-organiz <> ''.
        poheader-purch_org = wa-organiz.
        poheaderx-purch_org = 'X'.
      ENDIF.
    Purchasing Group
      IF wa-purgroup <> ''.
        poheader-pur_group = wa-purgroup.
        poheaderx-pur_group = 'X'.
      ENDIF.
    Start of Validity Period
      IF wa-datestart <> ''.
        poheader-vper_start = wa-datestart.
        poheaderx-vper_start = 'X'.
      ENDIF.
    End of Validity Period
      IF wa-datend <> ''.
        poheader-vper_end = wa-datend.
        poheaderx-vper_end = 'X'.
      ENDIF.
    Company Code
      IF wa-compcode <> ''.
        poheader-comp_code = wa-compcode.
        poheaderx-comp_code = 'X'.
      ENDIF.
      Status of Purchasing Document
      IF wa-status <> ''.
        poheader-status = wa-status.
        poheaderx-status =  'X'.
      ENDIF.
    ENDFORM.                    " fill_header
    *&      Form  fill_account
          text
         -->P_WA  text
    FORM fill_account  TABLES  poaccount STRUCTURE bapimepoaccount
                               poaccountx STRUCTURE bapimepoaccountx
                       USING wa STRUCTURE zlo_mmcnv009.
      DATA: account(10) TYPE n.
      poaccount-po_item = wa-itemnum.
      poaccountx-po_item = wa-itemnum.
    *Cost Centre
      poaccount-costcenter = wa-coscenter.
      poaccountx-costcenter = 'X'.
    *Order Number
      poaccount-orderid = wa-ordernumb.
      poaccountx-orderid = 'X'.
    *"G/L Account Number
      IF wa-accnumb <> ''.
        account = wa-accnumb.
        poaccount-gl_account = account."wa-accnumb.
        poaccountx-gl_account = 'X'.
      ENDIF.
      IF NOT ( wa-coscenter = '' AND
         wa-ordernumb = '' AND
         wa-accnumb = '' ).
        APPEND poaccount.
        APPEND poaccountx.
      ENDIF.
    ENDFORM.                    " fill_account
    *&      Form  fill_schedule
          text
         -->P_WA  text
    FORM fill_schedule  TABLES  poschedule STRUCTURE bapimeposchedule
                                poschedulex STRUCTURE bapimeposchedulx
                        USING wa STRUCTURE zlo_mmcnv009.
      DATA: dia(2), mes(2), ano(4).
      dia = wa-delivdate(2).
      mes = wa-delivdate+2(2).
      ano = wa-delivdate+4(4).
      CONCATENATE ano mes dia INTO wa-delivdate.
    *Delivery Date
      poschedule-po_item = wa-itemnum.
      poschedulex-po_item = wa-itemnum.
      poschedule-delivery_date = wa-delivdate.
      poschedulex-delivery_date = 'X'.
      IF NOT wa-delivdate = ''.
        APPEND poschedule.
        APPEND poschedulex.
      ENDIF.
    ENDFORM.                    " fill_schedule
    *&      Form  fill_header_contract
          text
         -->P_WA  text
         -->P_HEADER  text
         -->P_HEADERX  text
    FORM fill_header_contract  USING wa STRUCTURE zlo_mmcnv009
                                 coheader STRUCTURE bapimeoutheader
                                 coheaderx STRUCTURE bapimeoutheaderx.
      DATA: dia(2), mes(2), ano(4).
      dia = wa-datestart(2).
      mes = wa-datestart+2(2).
      ano = wa-datestart+4(4).
      CONCATENATE ano mes dia INTO wa-datestart.
      dia = wa-datend(2).
      mes = wa-datend+2(2).
      ano = wa-datend+4(4).
      CONCATENATE ano mes dia INTO wa-datend.
    Purchasing Document Date
      coheader-doc_date = sy-datum.
      coheaderx-doc_date = 'X'.
    *Item Number Interval
      coheader-item_intvl = '10'.
      coheaderx-item_intvl = 'X'.
    Currency Key
      coheader-currency = 'BHD'.
      coheaderx-currency =  'X'.
    languaje
      coheader-langu = 'EN'.
      coheaderx-langu = 'X'.
    Document Type
      IF wa-doctyp <> ''.
        coheader-doc_type = wa-doctyp.
        coheaderx-doc_type = 'X'.
      ENDIF.
    vendor number
      IF  wa-vendor <>  ''.
        coheader-vendor = wa-vendor.
        coheaderx-vendor = 'X'.
      ENDIF.
    purchasing organization
      IF wa-organiz <> ''.
        coheader-purch_org = wa-organiz.
        coheaderx-purch_org = 'X'.
      ENDIF.
    Purchasing Group
      IF wa-purgroup <> ''.
        coheader-pur_group = wa-purgroup.
        coheaderx-pur_group = 'X'.
      ENDIF.
    Start of Validity Period
      IF wa-datestart <> ''.
        coheader-vper_start = wa-datestart.
        coheaderx-vper_start = 'X'.
      ENDIF.
    End of Validity Period
      IF wa-datend <> ''.
        coheader-vper_end = wa-datend.
        coheaderx-vper_end = 'X'.
      ENDIF.
    ENDFORM.                    " fill_header_contract
    *&      Form  fill_item_contract
          text
         -->P_WA  text
         -->P_COITEM  text
         -->P_COITEMX  text
    FORM fill_item_contract  TABLES: coitem STRUCTURE bapimeoutitem
                                     coitemx STRUCTURE bapimeoutitemx
                             USING  wa STRUCTURE zlo_mmcnv009.
    item number
      coitem-item_no = wa-itemnum.
      coitemx-item_no = wa-itemnum.
      coitemx-item_nox = 'X'.
    *Material Number
      IF wa-material <> ''.
        coitem-material = wa-material.
        coitemx-material = 'X'.
      ENDIF.
    *Target Quantity
      IF wa-quantity <> ''.
        coitem-target_qty = wa-quantity.
        coitemx-target_qty = 'X'.
      ENDIF.
    *Net Price in Purchasing Document
      IF wa-netprice <> ''.
        coitem-net_price = wa-netprice.
        coitemx-net_price = 'X'.
      ENDIF.
      APPEND coitem.
      APPEND coitemx.
    ENDFORM.                    " fill_item_contract
    *&      Form  fill_service
          text
         -->P_POSERVICES  text
         -->P_T_ITEM  text
         -->P_ITEMNUM  text
    FORM fill_service  TABLES   poservices STRUCTURE bapiesllc
                                t_item STRUCTURE zlo_mmcnv009
                                poservices_2  STRUCTURE  bapiesklc
                       USING    itemnum packno.
      DATA: line(10) TYPE n,
            service(18) TYPE n,
            packno2(10) TYPE n.
      poservices-pckg_no = packno.
      packno2 = packno.
      packno = packno + 1.
      poservices-line_no = '0000000001'.
      poservices-outl_ind = 'X'.
      poservices-subpckg_no = packno.
      APPEND poservices.
      line = '0000000002'.
      LOOP AT t_item WHERE itemnum = itemnum.
        IF t_item-activity <> ''.
          IF NOT ( t_item-activity CA sy-abcde ).
            service = t_item-activity.
            poservices-service = service.
          ELSE.
            poservices-service = t_item-activity.
          ENDIF.
        ELSE.
          poservices-service = t_item-activity.
        ENDIF.
        poservices-pckg_no = packno.
        poservices-line_no = line. "itemnum.
        poservices-ext_line = t_item-line.
        poservices-quantity = t_item-quantity1.
        poservices-base_uom = t_item-undmed.
        poservices-gr_price = t_item-price.
        poservices-short_text = t_item-shortxt.
        poservices-subpckg_no = '0000000000'.
        poservices-outl_ind = ''.
        APPEND poservices.
        poservices_2-pckg_no = packno.
        poservices_2-line_no = line.
      poservices_2-SERNO_LINE =
      poservices_2-SERIAL_NO =
        poservices_2-quantity = t_item-quantity1.
        poservices_2-net_value = t_item-price.
        APPEND poservices_2.
        line = line + 1.
      ENDLOOP.
    ENDFORM.                    " fill_service
    *&      Form  fill_pocond
          text
         -->P_POCOND  text
         -->P_POCONDX  text
         -->P_WA  text
    FORM fill_pocond TABLES  pocond      STRUCTURE bapimepocond
                             pocondx STRUCTURE bapimepocondx
                       USING wa STRUCTURE zlo_mmcnv009.
    *Net Price in Purchasing Document
      IF wa-netprice <> ''.
        pocond-itm_number = wa-itemnum.
        pocondx-itm_number = wa-itemnum.
        pocond-cond_value = wa-netprice.
        pocondx-cond_value = 'X'.
        pocond-currency = 'BHD'.
        pocondx-currency = 'X'.
        pocond-cond_type = 'PBXX'.
        pocondx-cond_type = 'X'.
    *COND_TYPE
        APPEND pocond.
        APPEND pocondx.
      ENDIF.
    ENDFORM.                    " fill_pocond

  • InDesign - need a "Fix my Corrupted File" Upload Service

    There are frequently posts on the forum for people who have corrupted INDD files. This means lost work and frustrated InDesign users.
    The Indesign team should offer a "Fix my File" upload link to its customers.
    For each corrupted file, you will help a customer, and in the process, hopefully improve the overall stability of the product (which has issues) and benefit everyone...
    Adobe: If you are afraid that you will be swamped with requests to "Fix my File", then you should probably just get out of the SW business now...

    Zak Williamson wrote: "If the documents are fundamentally corrupt in some way, theres no way to repair them." and then later "As I mentioned to Casey, it's rarely possible to repair a truly corrupt document"
    I definitely don't want this to sound like a flame or a whine, but I find that statement quite flabbergasting. Somebody at Adobe must understand the format of an InDesign file well enough to be able to edit out the specific element that is causing InDesign to complain about the document. I do file repair for another company (www.qsatoolworks.com) whose file format is probably more complex than an InDesign file. In over 10 years I've only had 1 or 2 files I could not repair at least to the point of recovering the textual data.
    What led me to this forum is that a customer contacted me to help them recover an InDesign file. They just migrated from a PowerMac G4 with CS2 to a Mac Pro with CS3 and a few of their files won't open. ("ID may not support the file format, a plug-in that supports the file format may be missing, or the file may be open in another application.")
    We have tried them on another Mac with CS2, and they won't open there either. "Something" must have gone wrong when the files were transferred to the new Mac.
    (Naturally, the old hard drive has already been reformatted.)
    Knowing what I do about file formats (but understanding that my knowledge is nearly worthless in an InDesign file) I have to assume an InDesign file contains an object map with pointers to the various objects in the document. The idea of telling the customer "your 32 page booklet is lost" when the problem could simply be a screwed up pointer is horrifying to me.
    Here at QSA ToolWorks we charge $120/hour for recovery service, success or failure. We've saved lots of people from their own recklessness, and created a passionate user base in the process. We've made our product more reliable (and fixed some bugs) based on the knowledge gained through file repair; Adobe could do the same, but if they don't want to provide such a service, perhaps they should consider training third parties to do it.
    I'd like to address one other comment above. Harbs wrote "I've been lead to believe that Adobe has utilities (which they use internally) to analyze and possibly fix corrupted files." Of course, I don't know whether Adobe has such utilities, but I suspect they don't. Because I can do Helix database repairs, people likewise assume I have "special utilities" that can fix corrupted files. (We've even been accused of keeping them secret so we can use file repair as a source of revenue!) I don't. What I do have is a deep understanding of the file format. Beyond that, a file editor and a couple of AppleScripts I wrote to display the object fields in a human-readable format are all the 'special' tools I have. If Adobe has any sort of tools for analyzing files, I suspect they are much the same. In other words, without extensive internal knowledge, they are worthless.

Maybe you are looking for