In Capital P.O - Multiple asset number in a single line item

Hi friends,
My Client is using SAP 4.7. In capital P.O selecting account assignment as 'A'  asset and entering in description as Laptop 5 Qtys in a single line item. in item details account assignment tab its asking to enter asset. I'm able to select only one asset number. But my client requirement is it should ask to enter 5 asset number....
Pls anyone give solution for the above scenario....
very urgent.... pls

Hi,
1st check in OME9 t.code for account assignment A, the selection of 2(Multiple account ***)in field ID: AcctAssgt Scrn and Distribution field as 1 and save.
Then during capital P.O. creation for single line item & in Item details TAB, in account assignment segment, you can enter qty with asset number (A1) with G/L account for 1st Line and for 2nd line keep qty. with asset number(A2) with G/L account ( different G/L Account) OR enter qty with asset number (A1) with G/L account for 1st Line and for 2nd line keep qty. with another asset number(A2) with G/L account (same G/L Account)
Option-1----> In account assignment segment , As you needed
G/L account----
Asset
12345u2026u2026u2026u2026u2026u2026u2026u2026A1
12346u2026u2026u2026u2026u2026u2026u2026u2026A2
12347u2026u2026u2026u2026u2026u2026u2026u2026A3
12348u2026u2026u2026u2026u2026u2026u2026u2026A4
12349u2026u2026u2026u2026u2026u2026u2026u2026A5
Having a concept that GR is non-valuated and accounting entries in invoice (without tax) are:
Vendor A/C: Cr
G/L account (12345): Dr
G/L account (12346): Dr
G/L account (12347): Dr
G/L account (12348 ):Dr
G/L account (12349 ):Dr
Option-2---> In account assignment segment , You can have also
G/L account----
Asset
12345u2026u2026u2026u2026u2026u2026u2026u2026A1
12345u2026u2026u2026u2026u2026u2026u2026u2026A2
12345u2026u2026u2026u2026u2026u2026u2026u2026A3
12345u2026u2026u2026u2026u2026u2026u2026u2026A4
12345u2026u2026u2026u2026u2026u2026u2026u2026A5
Having a concept that GR is non-valuated and accounting entries in invoice (without tax) are:
Vendor A/C: Cr
G/L account (12345): Dr
Regards,
Biju K

Similar Messages

  • Asset Creation in PR and PO and MIGO as a single Line item with "N" qty

    Hi All,
    In Purchase requestion ME51N
    Now we are creating "n" number of assets ( All are same item but "s.no" will vary) with "n" number of line item.
    Instead of this I have to enhance to create only one line item( For same item) with "n" quantity.
    for the ASSET account Assignment we have to create Asset(Temp no) for the each item/quantity(if the same item).
    as well as if they are going to create a PO with ref to PR they have to see all the "n" number of asset no.
    In MIGO creation for each asset we have to assign S.No and Asset Tag.
    How enhance the functionality in PR,PO and MIGO as well as in Invoice.
    Is it any User Exit/BADI is available for PR/POand MIGO to show all the "n" number of assets for a single line item.
    Kindly help me to give details to proceed further.
    Thanks in advance.
    sharma

    Hi Sharma,
    What i understand from your question is, you want to create a single line item in PR and PO. But the qty would be > 1.
    Each single qty would have its own asset number in account asssignment tab of item details of PR & PO.
    This is what you are expecting...Right???????????????
    Then this is possible with certain limitations.
    While creating PR, enter only one item with more qty.
    In item details section, in account assignment tab, on top left corner, there will be a button called Multiple account assignments.
    Click on it, then it looks like a table, where you can enter more than one line. (each line will have its own asset no)
    And choose option Distribute on qty basis for field Distribution.
    So that you can enter 1 qty for each line. ( Ex: if you created one line item in the item level with 10 qty, you need to maintain 10 line here, each qith 1 qty and diff asset no).
    The only limitation to this is, the GRN would be treated as non valueted. So when you make GRN there wwould not be any accounting doc. ( means no use of GR/IR clearing account as like normal for POs)
    when you prepare MIRO, all the assets will be capitalised and vendor credited.
    But in case if you receive partial invoice, then you have choose manually in MIRO. which asset is ot be capitalised.
    After entering the PO number in MIRO, there will be one line will be appeared with full qty. in the same line, move till the end of line, there you will have one button called Account assignments.
    Choose and go there, here you can choose which individual asset line to be considired.
    This will resolve your issue.
    Thanks,
    Srinu
    SRBORIGI_MULTIPLE ACCOUNT ASSIGNMENTS

  • Single line item for multiple line item payment.

    Hi
    I have booked the 3 vendor invoices (in FB60) for a single vendor. Now today i paid (with F-53) all the three invoices together. One payment document number was generated.
    However when i saw the vendor line item, i saw that three debit line items was generated for the clearing the open invoices (i..e 3 credit line items). so when i say vendor line item report, there were total 6 cleared line items (3 for credit i.e invoice and 3 for debit i.e. payments)
    But is it possible to get  single debit line item for all the three invoices cleared. If yes, please let me know how i can get it.
    If i will have one single line item for payment, vendor report would be simpler. Please help

    Hi,
    1. If you do payment through F-53, then each invoice have separate payment line item. This is not avoidable. If you do payment through F110, then you can group the line items for payment, so there only one payment line item for many number of invoices.
    2. While clearing through F-44, system is generating automatic line items because, there are exchange rate fluctuations. You can't avoid these line items, as these automatic line items only match Debit and Credit amounts in order to post the document.
    Rgds
    Murali. N

  • Is it possible to create a form with multiple form fields on a single line?

    Is it possible to create a form with multiple form fields on a single line?  I can't find anything in the documentation or a template that does this.
    I am trying to create a "documents received" checklist with a check box on the left margin, a date-received field to the right of the check box and and a description of the document (Formatted Text) on the far right.
    In the past I have entered the Fixed Text with a word processor, published it to a PDF file, then added the check box and date fields with the Acrobat Forms editor.  I would prefer to use FormsCentral if it is possible.

    We now support multiple fields on one line. This post provides a brief overview.
    Give it a try and send us your feedback.
    Sorry it took so long.
    Randy

  • Reference document number field on Invoice line item

    Can anyone please tell me , where in customization , do i define what should get copied in the reference document number field on the line item of an invoice.
    Currently in our system, credit memo request number is getting populated for a credit memo.
    Thank you for your help in advance.

    Hi,
    If you are talking about line item level, then it is called Allocation Number. At the header level, it is called Reference number.
    This is controlled using the copy control for billing - at the header level control.
    The reference number & allocation number once maintained in the configuration, will show up in the Accounting doc - header level & item level, respectively.
    For example - if the customer payment always refers to his PO number, then it really helps to use the allocation number for the accounting doc line items - which helps in clearing incoming payment faster. In this case, the reference number could be our delivery number. This is one of the examples for using both Ref & allocation #'s.
    Hope, this helps!
    S. Siva

  • Is it possible multiple line items debit & single line item credit and different cost centers and different profit centers in fbcj

    Hi all ,
    I have a requirement to Post Cash Journal Document using FBCJ tcode.
    Is it possible multiple line items debit & single line item credit and different cost centers and different profit centers
    for exp:
    pk   GL a/c   description       amount   cost center  profit center
    40  400101  telephone exp   500        1403            P 1000
    40  400101  telephone exp    100       1404            P 2000
    50  200100  cash in hand      600-                             
       This is My requirement  is it possible in fbcj
        Please suggest me.ASAP.
    Regards
       Naresh.

    Hi,
      This you can do it in two ways:
    1. Make three header under top level....one Product A, 2nd Product B ( as Billing element) and third as Common expense ( only cost). Now 1st & 2 nd WBS, you have to have sales order linking with individual lint item, for third you will accumulate all the common expense till the period end then make a reposting of the same in desired proportion to both products WBS hierarchy
    (This is if you want to have a track on the common expense as well.......like planning, budgeting & control)
    After this reposting, run RA for individual billing element and hence you will all the complement detailing and control over Revenue and expense with respect to Product A and Product B individually.
    2. If you don't want to maintain that kind of detailing the common expense and keep track of it through project, then have cost centers accordingly and make an assesment/ distribution with respect to expenses accumulated at those cost centers for the period to the respective WBS under each product. Then execute the period end processes for the project.
    Or
    You can try with have two more line items in the costing sheet as an overhead against common expenses with respect each product.
    I hope this should help you.
    Regards
    Avisek Bhardwaj

  • Can we create multiple billing document from delivery with single line item

    can we create multiple billing document from delivery with single line item

    Hi
    Please check the link
    [can v create multiple billing document from delivery with single line item]
    and as Lakshmi said, check the forum before posting an issue.
    Regards
    AA

  • How to show logic of picking multiple stores to fulfill an order line item

    I'm still learning some basics with OPA.
    How do I represent the logic of picking multiple stores to fulfill an order line item when no one store has the requested quantity? A concrete example would be greatly appreciated as I'm still thinking procedurally for solutions.

    Hi!
    I believe this is following on from the thread:
    Calculating least cost of a product across stores using OPA
    So I'm assuming we're using a similar data model.
    If we want to involve quantity as well as cheapest price, then I'm assuming the requirement is:
    Find the cheapest price for the product from all the stores which still have quantity left of that product.
    This is where inferred relationships come in handy.
    Here is an example of what you can do with them to help solve this requirement.
    the store is a member of the product's stores if
    .ExistsScope(the store's prices)
    ..the price's product name = the product name
    the store is a member of the product's stores with remaining stock if
    .the store is a member of the product's stores and
    ..ExistsScope(the store's quantities)
    ...the quantity's product name = the product name and
    ...the quantity's amount > 0
    Then we basically want to pick the cheapest price for the product from the members of the relationship "the product's stores with remaining stock"
    Note that "the product's stores with remaining stock" could obviously be many instances, all with different prices. But for an order, a product needs to come from only one place! The deciding factor to "pinpoint" one place from this potential list of many could be based on anything, such as location, sales ranking, etc. But in this case Im going to assume lowest price is the decider.
    In the previous post we created a simple relationship between "the product" and "the prices" (which are contained by the store).
    We can make a more powerful relationship now:
    the price is a member of the product's available prices if
    ForScope(the price's store, the main store)
    .the main store is a member of the product's stores with remaining stock
    (I'm using an alias here to be 100% sure of which store is in scope)
    Now we can use the rules in the previous post, but change the relationship to the more advanced one we just created:
    the product's cheapest available price = InstanceMin(the product's available prices, the price's amount)
    Then
    the product's cheapest available store name = InstanceValueIf(the product's available prices, the price's store name, the price's amount = the product's cheapest available price)
    This is all psuedo code so many need some slight tweaks when you put it into OPM. Make sure you set up the relationships in a property file and declare all the attributes etc.
    Inferred relationships are really useful as "filters" sometimes. Here we first filtered all the stores which have prices for the product (i.e. have it in their catalogue). Then we filtered to get a list of all the stores which have stock remaining for the product. From that, we could find the cheapest available price.
    This is by no means the only way to do it! It's also by no means a simple problem but the great thing about OPA is that you can put all of the relationship config rules in the system rule folder / word doc, meaning that the source / business rules can still look relatively simple (in the end, it only took 2 lines of source rules to find the cheapest available price!). Once you've got the right set up and invested time in designing your data model, you will find it much easier to solve seemingly complex problems across entities.
    One word of warning though: if you have thousands of instances of prices, stores, products etc. then there is a performance impact of using many inferred relationships and alternatives should also be considered.
    Hope this helps!
    Feel free to contact me for more help on this. If you are relatively new to OPA and trying to tackle this you should consider investing in some training.
    Cheers,
    Ben

  • GR can not printed for PO-Multiple account assignment on single line item ,

    Hi!
    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.
    Can I make a valuted GR against PO line item with multiple account assignment.
    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.
    Can you please let me have the solution ?
    Thank snd regards,
    Suranjana

    > 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.

  • How to unlock sales order number after changing its line item statuses.

    hi all,
            my requirement is i am changing the status of the double
           clicked sales order which is showing in ALV grid display
           before that i am locking that sales order using FM
           CALL FUNCTION 'ENQUEUE_EVVBAKE' and for
           changing the status i am using FM
            CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            which doesnt have commit statement inside this FM so
           i have explictly written this commit statement if this FM
           gives SY-SUBRC = 0 but with this statement it unlock my
           sales order because of the commit functionality.
    also this FM is in loop for all line items for that sales order
    please help me with that!!!!

    Hi,
    I have created delivery against sales order.
    While picking (during delivery PGI), I selected two batches to suffice the delivery qty. Please refer the example quoted below.
    Sales order (SO1) - Material (Mat1) - qty (15 ea)
    Delivery against sales order (Del1) - batch split: batch1 - 10 ea
                                                                         batch2 - 5 ea
    In table LIPS: when I enter delivery number as "Del1" and execute, I get 2 records:
       del no.     Item No.      Material   Qty       Batch no       Sales Order no     Sales Order Item no
    1. DEL1       10              Mat1        10 ea    batch1          SO1                    10
    2. DEL1       20              Mat1         5 ea     batch2         ______                 ____
    Thus in the 2nd record, the Sales order no.(LIPS-VGBEL) and sales order item no. (LIPS-VGPOS) does not get updated.
    I have to develop a report to display the Sales Order number and sales order line item number for each batch of the Delivery for the same item number. Please guide me to know how I can get the same.
    Hope this clarifies the issue faced.
    Regards,
    Ankush

  • Problem:ABAp list to pdf :downaloading single line item instead of multiple

    Hi all,
             my requirement is converting the report output as pdf and download. if user enter multiple vendors, we have to download vendor data based up on vendor as separate pdf file. for this i used NEW PAGE PRINT ON. everything i'm downaloding fine.but my problem is when vendor have multiple line items ,it is downloading only one line item that is lastline item. but i need total line items have to download.I'm pasting my code here. Can Anyone suggest.
    TYPES: BEGIN OF type_data,
           lifnr TYPE ekko-lifnr,
           matnr TYPE lips-matnr,
           vgbel TYPE lips-vgbel,
           vgpos TYPE lips-vgpos,
           mfrgr TYPE lips-mfrgr,
           vbeln TYPE ekes-vbeln,
           erdat TYPE ekes-erdat,
           lfdat TYPE ekes-eindt,
           lgort TYPE lips-lgort,
           verur TYPE ekes-xblnr,
           lfuhr TYPE ekes-uzeit,
           lfimg TYPE lips-lfimg,
           meins TYPE lips-meins,
           posnr TYPE lips-posnr,
           kdmat TYPE lips-kdmat,
           dabmg TYPE ekes-dabmg,
           eindt TYPE eket-eindt,
    * Add by liza DEVK989704
           park TYPE ZPO_PARK-menge,
    * End by liza DEVK989704
           END OF type_data.
    DATA: gt_data TYPE STANDARD TABLE OF type_data.
    DATA: gw_data LIKE LINE OF gt_data.
    Data : BEGIN OF t_data OCCURS 0,
           lifnr like ekko-lifnr,
           matnr like lips-matnr,
           maktx like makt-maktx,
           vgbel like lips-vgbel,
           vgpos(6),      " like lips-vgpos,
           mfrgr like lips-mfrgr,
           vbeln like ekes-vbeln,
           erdat like ekes-erdat,
           lfdat like ekes-eindt,
           lgort like lips-lgort,
           verur like ekes-xblnr,
           lfuhr like ekes-uzeit,
           lfimg(15) type p decimals 0,    "like lips-lfimg,
           meins(3),     " like lips-meins,
           posnr(6),     "like lips-posnr,
           kdmat like lips-kdmat,
           dabmg(15) type p decimals 0,    " like ekes-dabmg,
           menge(15) type p decimals 0,
           eindt like eket-eindt,
           adv(3),
           adrnr type lfa1-adrnr,
           EMAIL type zmamm_dt1002-EMAIL,
    * Add by liza DEVK989704
           PARK(15) type p decimals 0,
    * End by liza DEVK989704
           END OF t_data.
    FORM FM_DOWNLOAD_DATA .
      data: wa_pri_params like pri_params.
    data: w_valid(1).
    data: w_tabix type c.
    data: w_rqident type rspoid.
      data: list_name like PRI_PARAMS-PLIST.
          l_x = 'X'.
      caLL FUNCTION 'GET_PRINT_PARAMETERS'
       EXPORTING
         NO_DIALOG                      = L_X
       IMPORTING
         OUT_PARAMETERS                 = wa_pri_params
         VALID                          = w_VALID
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
       wa_pri_params-PAART = 'X_65_80'.
          wa_pri_params-LINSZ = '185'.
    IF w_valid EQ 'X'.
    * WAIT UP TO 1 SECONDS.
    CONCATENATE 'E'
    w_tabix
    sy-datum+4(4)
    sy-uzeit INTO
    wa_pri_params-plist.
    ENDIF.
      DATA: lv_maktx   TYPE makt-maktx,
            lv_adv(01) TYPE c.
      DATA: lv_menge TYPE zomm_t0104m-menge.
    *-- Set titles
      title1 = 'Panasonic HA Air-Conditioning (M) Sdn Bhd, Shah Alam'.
      title2 = '(Formerly Known As Matsushita Industrial Corp. Sdn. Bhd.)'.
      title3 = sy-title.
      IF NOT pa_fax IS INITIAL.
        NEW-PAGE LINE-SIZE 120 LINE-COUNT 44.
        title3 = 'Outstanding shipping notifications by supplier'.
      ENDIF.
      SORT gt_data BY lifnr lfdat matnr vgbel vgpos eindt.
      LOOP AT gt_data INTO gw_data.
    NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.
        AT NEW lifnr.
          NEW-PAGE.
          sy-pagno = 1.
    *-- Get the vendor name
          CLEAR: gv_name1,
                 gv_telf1,
                 gv_telfx.
          SELECT SINGLE name1 telf1 telfx
                 INTO (gv_name1, gv_telf1, gv_telfx)
                 FROM lfa1
                 WHERE lifnr = gw_data-lifnr.
    ENDAT.
    at new matnr.
    *-- Get the material description
          CLEAR lv_maktx.
          SELECT SINGLE maktx INTO lv_maktx
                 FROM makt
                 WHERE matnr = gw_data-matnr
                   AND spras = sy-langu.
    endat.
    *-- If "only pending shipping notifications" is selected, remove all
    *   entries with no pending quantity
        IF gw_data-lfimg LE gw_data-dabmg AND
           pa_pend = 'X'.
          CONTINUE.
        ENDIF.
    *-- Highlight entries where the SN delivery date is before the PO
    *   delivery date
        IF gw_data-lfdat < gw_data-eindt.
          FORMAT INTENSIFIED ON.
          lv_adv = 'X'.
        ELSE.
          FORMAT INTENSIFIED OFF.
          CLEAR lv_adv.
        ENDIF.
        lv_menge = gw_data-lfimg - gw_data-dabmg.
    * Add by liza DEVK989704
        clear: PARKING, T_PARK.
        refresh: T_PARK.
        Select * from ZPO_PARK into T_PARK
        where vbeln = gw_data-vbeln
        and lifnr = gw_data-lifnr
        and matnr =  gw_data-matnr.
          Append T_PARK.
        Endselect.
        Loop at T_PARK.
          PARKING = PARKING + T_PARK-menge.
        Endloop.
        gw_data-park = PARKING.

    IF pa_fax IS INITIAL.
          WRITE:/2(18) gw_data-matnr,
                  (40) lv_maktx,
                       gw_data-vgbel,
                       gw_data-eindt,
                  (04) gw_data-mfrgr,
                  (18) gw_data-verur,
                       gw_data-vbeln,
                       gw_data-lfdat,
                  (07) gw_data-lfimg UNIT gw_data-meins,
                  (07) gw_data-dabmg UNIT gw_data-meins,
                  (07) lv_menge UNIT gw_data-meins,
                       gw_data-lgort,
                       gw_data-erdat,
                  (01) lv_adv,
    * Add by liza DEVK989704
                  (08) gw_data-park.
    * End by liza DEVK989704
        ELSE.
          WRITE:/2(12) gw_data-matnr,
                  (26) lv_maktx,
                       gw_data-vgbel,
                  (16) gw_data-verur,
                       gw_data-vbeln,
                       gw_data-lfdat,
                  (07) gw_data-lfimg UNIT gw_data-meins,
                  (07) gw_data-dabmg UNIT gw_data-meins,
                  (07) lv_menge UNIT gw_data-meins,
                       gw_data-lgort.
        ENDIF.
        PERFORM write_vline.
    *    AT END OF lifnr.
           If pa_dtim NE '000000'.
            ULINE.
            SKIP.
            WRITE:/12 TS_VEND.
            WRITE:/12 TS_ATT.
            WRITE:/12 TS_FROM.
            SKIP.                                               "D01K934099
            WRITE:/12'DELIVERY TIME:',pa_dtim.                  "D01K934099
            SKIP.                                               "D01K934099
            WRITE:/12 TS_TEXT1.
            WRITE:/12 TS_TEXT2.
            WRITE:/12 TS_TEXT3.
            WRITE:/12 TS_TEXT4.
          Else.
            ULINE.
            SKIP.
            WRITE:/12 TS_VEND.
            WRITE:/12 TS_ATT.
            WRITE:/12 TS_FROM.
            WRITE:/12 TS_TEXT1.
            WRITE:/12 TS_TEXT2.
            WRITE:/12 TS_TEXT3.
            WRITE:/12 TS_TEXT4.
          Endif.
        move-corresponding gw_data to t_data.
        move : lv_maktx  to t_data-maktx,
               lv_menge  to t_data-menge,
               lv_adv    to t_data-adv,
    * Add by liza DEVK989704
               parking   to t_data-park.
    * End by liza DEVK989704
        append t_data.
      IF sy-subrc NE 0.
        MESSAGE i999(sa) WITH 'No data found'.
      ENDIF.
    NEW-PAGE PRINT OFF.
    * To fetch the spool number from TSP01 table
      sELECT rqident
    FROM tsp01
    INTO w_rqident
    *UP TO 1 ROWS
    WHERE rq2name = wa_pri_params-plist.
    ENDSELECT.
    * /*--------Convert Spool to PDF-----------/
      IF wa_pri_params-PDEST IS INITIAL.
        wa_pri_params-PDEST = 'LOCL'.
      ENDIF.
      CONCATENATE P_DEST T_DATA-LIFNR '.PDF' INTO G_FILENAME.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID                    = w_RQIDENT
         NO_DIALOG                      = SPACE
       IMPORTING
         PDF_BYTECOUNT                  = G_BYTECOUNT
       TABLES
         PDF                            = T_PDF
       EXCEPTIONS
         ERR_NO_ABAP_SPOOLJOB           = 1
         ERR_NO_SPOOLJOB                = 2
         ERR_NO_PERMISSION              = 3
         ERR_CONV_NOT_POSSIBLE          = 4
         ERR_BAD_DESTDEVICE             = 5
         USER_CANCELLED                 = 6
         ERR_SPOOLERROR                 = 7
         ERR_TEMSEERROR                 = 8
         ERR_BTCJOB_OPEN_FAILED         = 9
         ERR_BTCJOB_SUBMIT_FAILED       = 10
         ERR_BTCJOB_CLOSE_FAILED        = 11
         OTHERS                         = 12
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *   /*---------download to specified folder--------/
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          BIN_FILESIZE            = G_BYTECOUNT
          FILENAME                = G_FILENAME
          FILETYPE                = 'BIN'
        TABLES
          DATA_TAB                = T_PDF
        EXCEPTIONS
          FILE_WRITE_ERROR        = 1
          NO_BATCH                = 2
          GUI_REFUSE_FILETRANSFER = 3
          INVALID_TYPE            = 4
          NO_AUTHORITY            = 5
          UNKNOWN_ERROR           = 6
          HEADER_NOT_ALLOWED      = 7
          SEPARATOR_NOT_ALLOWED   = 8
          FILESIZE_NOT_ALLOWED    = 9
          HEADER_TOO_LONG         = 10
          DP_ERROR_CREATE         = 11
          DP_ERROR_SEND           = 12
          DP_ERROR_WRITE          = 13
          UNKNOWN_DP_ERROR        = 14
          ACCESS_DENIED           = 15
          DP_OUT_OF_MEMORY        = 16
          DISK_FULL               = 17
          DP_TIMEOUT              = 18
          FILE_NOT_FOUND          = 19
          DATAPROVIDER_EXCEPTION  = 20
          CONTROL_FLUSH_ERROR     = 21
          OTHERS                  = 22.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endloop.
    ENDFORM.

  • Multiple PO's created for a SC with a Single line item except delvery date

    Hi Experts,
    I have one issue ... SRM - Classic scenario
    One Shopping Cart created with one line item ... but generated two PO's EX - First one  - A and Sec - B
    Almost the  data is ame except the delivery date .
    There can be a possibility that it was splitted into two PO's .. I will accept it ... but the problem I am facing is different ...
    When I am trying get the PO details in SRM side .. using Tcode BBP_PD ... I am able to see two PO's ...
    But when I am trying get the PO details using the FM - BBP_PD_PO_GETDETAIL .. here I am able to see only one PO that is B here ...
    I am not able to find PO - A in SRM Side ...
    But I can See in the backend sys .. R/3 ... TWO PO's (A and B) are available ......
    IN backend system we are having one Report Program Which will display the Shopping cart number for the perticular PO number ... when I am trying to execute this report to get the Shopping cart number for A Purchage Order ... I am not able to get the Shopping cart number ... message is Shopping cart does not exist ... in this program we have used the standard FM only ... there is no problem with this report ...
    My Question is Why I am not able to see the first PO ( A ) at SRM end  ... there is table where the PO's get stored at SRM end  BBP_PDBEI .. in this table also I can see only the PO - B not A .
    1.Please let me know what can be the problem ... and guide me to find the PO at SRM end ...
    2. Why the Shopping cart converted into Multiple PO .. when thr is only one line item ...
    3. I think PO cannot be split into multiple PO's based on Delivery date ...
    We have not done any splitting criteria in our system ... everything is standard only ...

    hi Hari
    only one PO is possible . check the item both are same or not.
    for eg. one sc created and went to cockpit for vendor assignment - PO will created from purchase rside
    in the mean time end user change the material in the cart via check status and assign valid source of supply and PO will create.
    1 sc- 2 POs created in my past experience.
    and deleted which PO i dont like.
    in BBP_PD you can not see PO docs, since you are in classic ? you can see if it is order as direct material since PO will create in SRM  though it isa classic..
    what really happened in your system,
    po split for delivery date means how did you get different dates.
    br
    muthu
    Edited by: Muthuraman Govindasamy on Oct 27, 2009 12:10 PM

  • Can v create multiple billing document from delivery with single line item

    can v create multiple billing document from delivery with single line item

    Dear Sandesh
    Go to VOV7, select your item category.  In this maintain K  for Billing Relevance
    Now go to VF01, give the delivery number and do not press Enter.  Instead click on Selection list on the next screen, select the items you want to bill and click copy and continue if necessary
    thanks
    G. Lakshmipathi

  • GR Printing For Single Line Item With Multiple Account Assignment.

    Hi All,
    There is PO for projects (Account Assignment -P - Network) in which in a single item consist of multiple account assignment.
    Noe while entering the GR I select "Collective Slip" option but when the GR is posted system automatically select option "Individual slip" and seprate line item are printed for each account assignment.
    The printing program is standard SAPM07DR. The SAP version is 4.7. Can anyone tell what is ther any setting in configuration or is it problem in program or smart form
    Thanks & Regards,
    Omkar

    hi
    please check your form and routine used to print.

  • Availability Check at Multiple Plants for the Sales Order line Item.

    Hi Friends,
    We are having two plants, Plant A and Plant B. Plant A is used to issue the orders to the vendors and stock them, while Plant B is used to manufacture the Product and Stock.
    When we create the sales order, we want to check the Current Stock Plus Incomming Purchase order stock for plant A and also check current stock plus Production orders in plant B.
    for ex if the current stock is 100 in Plant A and No physical stock in Plant B but there are some production orders for 400 Qty which will be ready in 1 week.
    If i create a sales order for 500 qty which is scheduled for delivery 10 days later.  then we want to commit to the customer ( Looking at both the plants stock situation )  the system should check the stock availability for both the plants and automatically create two different line items , Line item 1 for plant A and line item 2 for plant b.
    I know there is a user exit for Multiple plant selection USEREXIT_PLANT_SELECTION  in program RV03VFZZ. The Description of the USer exit says ( This user exit may be used to provide a list of plants for which availability is to be checked)  But we have never used this one. Will this user exit do exactly what i want ??
    Did any of you, have used the above User exit in your implementations ? If so please let me know whats the purpose of this user exit
    Your reply is much appreciated.
    Thanks & Regards
    Srinivas

    Hi
    I dont know about the userexit which you are referring about
    But this is not available in R3 The system makes a Availability Check only in the plant which has got determined in the item details shipping tab and stops there
    The same is available in APO
    If there are 2 plants say 1000 and 2000
    In sales order the plant determined is 1000 and there is no stock
    In R3 system stops there
    But in APO  system checks the plant 2000 and if stocks are available it creates an STO in the background automatically from 2000 to 1000 if configured accordingly
    Even if the material is maintained in 10 plants the system will make a  Availability Check at all 10 plants and act accordingly
    Regards
    Raja

Maybe you are looking for

  • Upgraded to TimeCapsule and now issues with AirPrint from iPhone and iPad

    Okay.  I bought a HP 210a air print printer.  It was working great with my Linksys router and my iPad and iPhone worked with it perfectly.  Since that time I have recently bought a new new 2TB Time Capsule and just recently set it up.  The old router

  • Automatic absolute to relative paths conversion

    Hi, I have a bunch of Flash (.fla) files where I need to convert all absolute (root) target paths in timeline scripts to relevant relative ones. Doing it manually in Flash CS4 is very tedious work and using "replace" action is tedious too as there ar

  • How do I fix Adobe Reader?

    This is the the error message that pops up after it tells me there the program needs to shut down. Problem signature:   Problem Event Name:          APPCRASH   Application Name:          AcroRd32.exe   Application Version:          10.1.4.38   Applic

  • AP 802.1X switched port-authentication

    Hi, I've setup EAP authentication (PEAP) to authenticate WLAN client on an AP. The AP is connected to a switch where the port is not configured for 802.1X. On this switched port I enabled, in multi-host, 802.1X to authenticate also the AP as a client

  • Can I prevent 'Creating Slides..' message appearing in FMR slides?

    Hi, After recording in FMR mode,  to stop capturing I press <End> key. This brings up a  'Creating Slides and Objects...' window, which becomes part of the FMR  slide. I then have to trim that end bit. Is this how it should work? Or  can I suppress t