BP and Item coding

Hi All!
What are the best practice or guidelines in generating business partner and item code for Business One?
Regards,
Icca

Hi Icca
Check it
Auto generation of Item Code And Business Partner
I think Gordon is right you go for Auto Code Generate
Thanks,
Srujal Patel

Similar Messages

  • Header and item data in LSMW

    How to distinguish between the header and item data from the given legacy excel file, so that I can correctly extract the Sales Order header and item level data while doing LSMW? Do we need to do any extra coding for doing that?

    Hi Diwakar,
    Please read below. This is the way to do it. It resolved my issue.
    Hi, I think you can use 1 file but with the record type identifier, the field will appear in all source strictures, in the Maintain Source Fields step amend field (double click) on it and point Identifying Field Content to appropriate level, e.g. 1 for header 2 for item. Your input file will look like:
    REC_TYPE….. FIELDS
    1 only fields relevant for the header and blanks for line items
    2 only fields relevant for the item data blanks for header fields
    2 …
    2 …
    1 Next record header
    2 next record item 1
    2 next record item 2
    1
    2
    2
    2
    2
    1
    2
    Diwakar,
    Please dont be oversmart and dont mislead people and hurt others by making nasty comments.
    Thanks,
    Raj.

  • Inserting PO and Item fileds in settlement rule in IW31/32/33

    Hi ,
    My requirement is as follows:
    I want to store a PO and PO Item to a CS Order (IW31/32/33) in Settlement rule screen  exclusively.
    I came to know that it is not possible to associate a purchase Order through configuration.
    Plz suggest the possible Enhancement / exits/BADIs or any other methd for inserting a PO and Item field in settlement rule in transaction IW32.

    Hi,
    I am unable to attach the Screen Shot for your refrence, Here SCN is not supporting me .
    So i have send you the Code:
    I created ztable name ZPM_TABLE
    with fields ZEBELN
                      ZEQUNR
                      ZTPLNR
    In which PO No Equipment No and Functional Location Data is stored..
    Then in Exit IWOC0003..
    I written Code to fetch the Po Vendor Details  for that particular Equipment No or Functional Location Value as follows :
    Please Note :
    In My Code I have used Submit Program Name to get the Po Item Values :
    Code as Follows:
    { if sy-tcode eq 'IW21' or
       sy-tcode eq  'IW31'.
    tables : ekko,
             lfa1,
             adrc,
             t005u,
             t005t,
             zpm_table.
    data : wa_lfa1 like lfa1 occurs 0 with header line,
           it_lfa1 like lfa1 occurs 0 with header line,
           wa_popup like zpm_table occurs 0 with header line,
           it_ekko like ekko occurs 0 with header line,
           wa_adrc like adrc occurs 0 with header line,
           po_serv type zpo_service1 with header line.
          it_ser  type zpo_service1 with header line.
    *data : text_val type string.
    data : begin of it_popup occurs 0,
           po_no like ekko-ebeln,
           po_no1 like ekko-ebeln,
           lifnr like lfa1-lifnr,
           name1 like lfa1-name1,
           mobile like lfa1-telf2,
           street1 like adrc-str_suppl1,
           street2 like adrc-str_suppl2,
           street like adrc-street,
           pin    like  adrc-post_code1,
           tel    like adrc-tel_number,
           fax    like adrc-fax_number,
           ext    like adrc-tel_extens,
           country like  t005t-landx,
           po_text(100) type c,
           end of it_popup.
    data : begin of it_ser occurs 0,
          extrow type string,
          SRVPOS type string,
          KTEXT1 type string,
           menge  type esll-menge ,
           meins  type esll-meins,
           netwr  type esll-netwr,
           end of it_ser.
    data : scrn_popup like it_popup occurs 0 with header line.
    data: po type string,
           text_val type string,
          ven_add type string,
          ven_no type string,
          ven_name type string,
           antwort(1) type c,
           answer(1) type c,
           choise type sy-tabix,
          text1 type  string.
    data: l_answer like sy-input.
    if i_equnr  is not initial.                           "here I_equnr is the Equipment No which flows in the Screen .
      select * from zpm_table into
               corresponding fields of table wa_popup
               where zequnr = i_equnr.
    elseif  i_equnr is not initial and i_tplnr  is not initial. "here I_tplnr is the FL No which flows in the Screen .
      clear : wa_popup.
      select * from zpm_table into
               corresponding fields of table wa_popup
               where zequnr = i_equnr and
                     ztplnr = i_tplnr.
    elseif i_tplnr is not initial.
      clear : wa_popup.
      select * from zpm_table into
               corresponding fields of table wa_popup
               where ztplnr = i_tplnr.
    endif.
    if wa_popup[] is not initial.
      read table wa_popup.
      select ebeln lifnr from ekko
        into corresponding fields of table it_ekko
        where ebeln = wa_popup-zebeln.
      if it_ekko[] is not initial.
        select * from lfa1 into
          corresponding fields of table wa_lfa1
          for all entries in it_ekko
          where lifnr = it_ekko-lifnr.
      endif.
    *endloop.
      loop at wa_lfa1 . "into it_lfa1 WITH TABLE KEY lifnr = it_ekko-lifnr.
        select * from adrc into
          corresponding fields of table wa_adrc
          where addrnumber = wa_lfa1-adrnr.
        data:wa_t005u type t005u occurs 0 with header line.
        select * from t005u into
              corresponding fields of table wa_t005u
                      where spras = 'EN'
                      and land1 = wa_adrc-country
                      and bland = wa_adrc-region.
        data:wa_t005t type t005t occurs 0 with header line.
        select * from t005t into
           corresponding fields of table wa_t005t
                    where spras = 'EN'
                    and land1 = wa_adrc-country.
        it_popup-po_no = wa_popup-zebeln.
        it_popup-lifnr  = wa_lfa1-lifnr.
        it_popup-name1  = wa_lfa1-name1.
        it_popup-mobile  = wa_lfa1-telf2.
        read table wa_adrc index 1.
        it_popup-street1 = wa_adrc-str_suppl1.
        it_popup-street2 = wa_adrc-str_suppl2.
        it_popup-street  = wa_adrc-street.
        it_popup-pin     =  wa_adrc-post_code1.
        it_popup-tel     = wa_adrc-tel_number.
        it_popup-fax     = wa_adrc-fax_number.
        it_popup-ext     = wa_adrc-tel_extens.
        it_popup-country = wa_t005t-landx.
        append it_popup.
      endloop.
      text1 =  'This Equip/Func.Location is Maintained or Service is undertaken by'.
      concatenate  'Vendor No      :  ' it_popup-lifnr
                   into ven_no  .
      concatenate  'Vendor Name   :   ' it_popup-name1
                   into ven_name  .
      concatenate it_popup-street1
                  it_popup-street2
                  it_popup-street
                  it_popup-pin
                  it_popup-country
                 'Mob:' it_popup-mobile
                 'Tel:' it_popup-tel '-' it_popup-ext
                      into ven_add  separated by space.
      concatenate  'Please Refer this PO No. :   ' it_popup-po_no
                   into po  .
    message 'Warning!!!' type 'I'.
      Function Module for Pop Up *
      call function 'POPUP_TO_CONFIRM_WITH_MESSAGE'
      exporting
    DEFAULTOPTION = 'Y'
       diagnosetext1 = text1
       diagnosetext2 = ven_no
       diagnosetext3 = ven_name
       textline1 = ven_add
       textline2 = po
       titel = 'Warning!!!'
    START_COLUMN = 25
    START_ROW = 6
        cancel_display = 'X'
       importing
        answer =  antwort.
      " Area for option Yes or No "" .  
      if antwort = 'J'.
        if it_popup-po_no is not initial.                      " Please Note here im checking for PO No
          export it_popup-po_no to memory id 'Memo1'.  "Po No is exported to another Program there i coded for Po items
          submit zpm_po_services and return.
        endif.
      else.
    *call TRANSACTION 'iw21'.
        call transaction 'IW21' and skip first screen.
      endif.
    endif. " End of  Total itab value/
    else.
    exit.
    endif.     }
    This is the Code for zpm_po_services
    For any Clarification Revert Back..
    With Regards,
    Vinu.R

  • Conflict between Client object model and Item Updated Event Receiver in sharepoint 2010

    Hello All,
    As per my requirement I have a two custom list.
    Agent Details
    Port Name
    Agent Details contains Agent code, Port Name,  email, address and phone of Agent. Its possible that one Agent Code is connected with multiple Port Name.
    Basically what I am doing is I am getting port name connected with Agent code, using jquery and bind those values with check box(using javascript created dynamically) and bind all with Div tag.
    Now when my custom edit form of Agent list open up it shows me different port name binding with checkbox group.
    when user select the check box and click confirm button my clicent object model script will run and add this selected value into Port Name list. 
    After confirm one more button named Save will enable asking user to edit the email, phone or address value and when I click on save my Item updated event fires which update the values of the selected port name(These port name I am getting from port
    name list) to Agent Details custom list.
    Now when I am trying to update the values my event receiver fires or some times it got stuck(not firing). So could you please help me the possible alternative for this requirements.
    Can we user the Ecma Script(Client object model to preserve the value of selectec port) and Item updated event receiver on the same time?
    Is anything am doing wrong then please guide me.

    Hi,
    As I understand, when you updated values in the agent details list the Item updated event receiver got stuck sometimes.
    The item update event receiver will fire after the item has been saved, and the client object model script or the Ecma Script runs before the item is saved, so there is no conflict between the client object model script and item update event receiver.
    You could find out the reason about the item update event receiver gets stuck by debugging the event receiver.
    When you want to debug your event receivers, you have to attach to OWSTIMER.EXE and wait till they are executed. You can control this behavior using the Synchronization attribute. Also, if you’re looking for an easy way to debug an event receiver without
    having to manually attach a debugger to your code, you can use the System.Diagnostics.Debugger.Launch() method.
    The articles below are about how to debug in the event receiver in SharePoint 2010.
    http://sharepoint-kings.blogspot.jp/2013/02/debugging-event-receivers-in-sharepoint.html
    http://chakkaradeep.com/index.php/event-receivers-in-sharepoint-2010/
    http://sharesaint.com/?p=77
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • On i-pad, when try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no my request and item not available in the U.S. store. WWJD?

    On i-pad, when I try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no to my request and, "item not available in the U.S. store." My Mac will not use update iTunes to any later version than the one I have because my os is also out of date, but when I try to update that i cant, so what do I have to do?  Please don't tell me I have to buy a new Mac to be up to date.

    On the iOS device you must be logged into the store with the exact same Apple ID you used to originally purchase the service. Go to Setting > iTunes & App Stores and if necessary sign out/in and then enable iTM.

  • Rororts on basis of vandor and item

    Hi All
    QUERY: I want a report where i will choose "vendor" and "item" and it will show me all the transactions with that particular vendor for a selected Item. Is there a process in standard feature or i hav to use drag and relate feature . Please help me out

    Hi Rahul
    There is a standerd report. Go to stock reports under inventory/Stock Management. The report is called "last prices report". Here you can say which BP and item and will give all transactions for that item.
    Hope this helps

  • Report to show the followup sales documents and items

    Sales had executed many sales quotations with customers over a period of time.
    Now the Sales Staff wanted to know how many sales documents and what/how many sales items are being purchased by the customer with respect to the quotation.
    Is there a report that list out the sales documents and items created w/respect to a particular quotation instead of looking at the document flow which is difficult to diagnose.
    Thanks

    hello, friend.
    you can try table VBFA, where you can see sales documents and their subsequent documents.
    for a general listing of quotations, use tcode VA25.
    regards.

  • Difference b/w Header and Item data........

    Hi,
        What is the difference between Header data and Item data ? Please tell me in detail.

    In SAP we have the various Level of Data...
    for example of a Sales Document.
    The Sales Header Data would Contain various bussiness flowws how the document should behave should it be a Sales Order or a Quotation or A frwee of charge delivery.
    Now the Item which you enter in the order the materails I mean will have the controls from the Item Data that you maintain in the Item categories.
    The Sales Order next to be delievered by a delivery so these data goes to the schedule line level control.....
    Hope you will get some light on what is explained above.
    regards,
    Amlan Sarkar

  • Get PO and Item number from FI Cleared Items

    Hi,
    I need to retrieve PO and item numbers from FI cleared items.
    So I retrieve the records for a particular GR/IR account from table BSIS.  Based on FI document number, item number, fiscal year and company code, I get the PO and item numbers from table BSEG.
    However, I cannot use BSEG in query i.e. SQ01.
    What is the easiest way for me to retrive PO and items numbers?
    Thanks.

    Hi,
    First of all, cleared items live in BSAS. BSIS is for the items that are still open.
    Goto SQ02 and make a direct table read to BSAS; click 'Extras' icon; on the right part of screen click 'Create' icon; give name BSEG and choose 'Additional table' radio button. The keys suggested by the system should be good.
    Regards,
    Ming

  • Report on delivery document and item

    Hi experts,
    I have some report requirements where i need delivery document number and item in the report. I wanted to hear some opinions on how to model this, i mean, should i add document number and item to the cube (0SD_C04) or should i build a DSo before and make the reporting over it?
    thanks in advance,
    Nuno
    @points assigned

    Hi,
    as usual it all depends on your requirements and the environment you are dealing with.
    a) how many documents are created daily/weekly/monthly? --> check the data volume
    b) what are the reporting requirements? --> will users expect lots of drill down/thru possibilities and short response times
    c) what is the time frame for keeping the doc numbers/items for reporting?
    I already added the doc no. to the cube for smaller companies creating may be a 2nd and 3rd cube after some time (2 - 3 years) combining them via multicube. In case you will have lots of drill downs/thrus this is may be the only performant solution because on a ods you might have to build tons of indexes to enable fast reporting. In case the documents are only relevant for a short period (e.g. the last 3 - 6 months) you might think about creating a ods and do selective deletions of the older data......
    regards
    Siggi

  • SAP SCRIPT Header text and Item text not printing in customized PO

    Hello Experts,
                          I have copied the standard MEDRUCK to ZMEDRUCK and customized the form according to the requirement.
    I want to print the header text and Item text in my form.
    For Header text I have used :
    /: INCLUDE &EKKO-EBELN& OBJECT EKKO ID F01
    Problem 1: The text what I enter in header text is flowing only when I hit on print preview without saving the form. Once I save the SAP SCRIPT  and click on print preview the field is appearing blank. I also tried to print the form, but the field is appearing blank even on the print out.
    Problem 2: For item text the field is concatenation of  EBELN & EBELP. Can anyone suggest me how to concatenate and fetch the text in item text.

    Hi,
        Im getting an error in my subroutine pool for i_xtline which is to fetch ITEM TEXT., It says its not a in any internal table nor defined as data. How can I proceed further. I have pasted my code below. Please check and revert ASAP
    PROGRAM  ZMEDRUCK_SUBP1.
    TABLES: EKPO, EKKO.
    FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
                                 out_tab STRUCTURE itcsy.
    data xname like THEAD-TDNAME.
    data i_xtline like xtline.
    clear i_xtline.
    refresh i_xtline.
    CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
    MOVE v_item_text to ITEMTXT.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        id                            = F01
        language                      = EN
        name                          = ITEMTXT
        object                        = EKPO
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      tables
        lines                         = i_xtline
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
      WRONG_ACCESS_TO_ARCHIVE       = 7
      OTHERS                        = 8
    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.

  • How to send Sales Document Number and Item to BAPI_ACC_DOCUMENT_POST?

    Hello SAPients,
    We are using BAPI_ACC_DOCUMENT_POST to create an accounting document similar to what FB01 does, in FB01 you can type the number and position of a Sales Document even if you are using an Account Receivable account number. But in the BAPI, the  ACCOUNTRECEIVABLE table doesn't have a field to include those numbers. How should I pass the sales order number and item to the BAPI? I have tried several things but every time I receive more complicated error messages.
    Thank you in advance for your kind help.

    Let me know if you have any questions:
    Loop through your records and fill in the appropriate structure based on record type (GL, Vendor or Customer)
    IF NOT pcard_post_rec-zlsapac IS INITIAL.
        gt_gl_item-itemno_acc   = ls_posnr.
        gt_gl_item-gl_account = pcard_post_rec-zlsapac.
        gt_gl_item-comp_code = pcard_post_rec-zlsapco.
        "gt_gl_item-pstng_date = pcard_post_rec-zlgpsdt.
        gt_gl_item-pstng_date = gv_posting_date.
        gt_gl_item-doc_type = doctype.
        gt_gl_item-alloc_nmbr = ls_assignment.
        gt_gl_item-ref_key_3 = pcard_post_rec-zlgvend.
        IF pcard_post_rec-zlsapac < 500000.
          gt_gl_item-item_text    = ''.
        ELSE.
          gt_gl_item-item_text    = pcard_post_rec-zlguser.
        ENDIF.
        gt_gl_item-costcenter = pcard_post_rec-zlsapcc.
        gt_gl_item-orderid = lv_ordnum.
        APPEND gt_gl_item.
      ELSEIF NOT pcard_post_rec-zlsapven IS INITIAL.
        gt_ap_item-itemno_acc = ls_posnr.
        gt_ap_item-vendor_no = pcard_post_rec-zlsapven.
        gt_ap_item-comp_code = pcard_post_rec-zlsapco.
        gt_ap_item-alloc_nmbr = ls_assignment.
        gt_ap_item-ref_key_3 = pcard_post_rec-zlgvend.
        IF pcard_post_rec-zlsapac < 500000.
          gt_ap_item-item_text = ''.
        ELSE.
          gt_ap_item-item_text    = pcard_post_rec-zlguser.
        ENDIF.
        APPEND gt_ap_item.
      ELSEIF NOT pcard_post_rec-zlsapcus IS INITIAL.
        gt_ar_item-itemno_acc = ls_posnr.
        gt_ar_item-customer = pcard_post_rec-zlsapcus.
        gt_ar_item-comp_code = pcard_post_rec-zlsapco.
        gt_ar_item-alloc_nmbr = ls_assignment.
        gt_ar_item-ref_key_3 = pcard_post_rec-zlgvend.
        IF pcard_post_rec-zlsapac < 500000.
          gt_ar_item-item_text = ''.
        ELSE.
          gt_ar_item-item_text    = pcard_post_rec-zlguser.
        ENDIF.
        APPEND gt_ar_item.
      ENDIF.

  • Difference between sales order schedule line and item level data

    Hi All,
    Could you please let me know what is the difference between sales order schedule line and item level data?
    Thanks,
    Ramya

    Hi Ramya,
    Sales order schedule line contains del date, order qty, rounded qty, confirmed qty, delivery qty, schedule line category, purchase requisition etc.,  ie It contains the full details of sales order data with respect to the scheduled line of delivery.  The total quantity of a sales order item can be subdivided into schedule lines that contain the various subsets with the corresponding delivering dates.
    Sales order Item level data contains details of the item in the sales order like material code, net price, net value, UoM, PO details, reason for rejection if any, material group,billing date, plant etc., ie this
    contains the full details of item irrespective of scheduled line.
    Regards,
    R. Senthil Mareeswaran.

  • Please help to get onhand stock report with last purchase and billed date warehouse and item wise

    please help to get onhand stock report with last purchase and billed date warehouse and item wise

    Hi Rajeesh Ambadi...
    Try This
    SELECT distinct T0.ITEMCODE , t1.ItemName, T0.ONHAND as 'Total Qty',  
      T1.LASTPURDAT ,t1.LastPurPrc
    FROM OITW T0 INNER JOIN OITM T1 ON T0.ITEMCODE = T1.ITEMCODE
    INNER JOIN OITB T2 ON T1.ITMSGRPCOD=T2.ITMSGRPCOD left join ibt1 t3 on t3.itemcode = t0.itemcode and t3.whscode = t0.whscode
    WHERE
    T0.ONHAND>0
    AND T0.WhsCode ='[%0]'
    Hope Helpful
    Regards
    Kennedy

  • How to create a new field for Q3 - QM notification in Header and item level

    Dear All,
    l
               Sub: How to create a new field for Q3 - QM notification in Header and item level
    Ref. the link --> Quality Notification
    We want to create a new field in header level and item level.
    As per the thread the solution is given below.
    In the IMG Config: Quality Management -> Quality Notification -> Notification Types -> Define screen areas for notification types Then Choose 'Define screen areas' Then Click on 'New entries' button Now, select the relevant Notification Type and click in 'Enter'. Select the 'Iten Cases' register and remember to setup the Tabstrip Header, Icon, etc. Set the 'Tabstrip active' flag. Then Save.
    Quality Notification -> Notification Types -> Define screen areas for notification types
    WE ARE UNABLE TO FIND IN CUSTOMIZATION PATH --> DEFINE SCREEN AREAS FOR NOTIFICATION TYPES.
    Please help.
    Question No. 2 :
    THE REQUIREMENT IS GIVEN BELOW.
    We want to hide the field in Q3 - QM Notification
    In header --> Reference tab --> Item (sub heading) --> "DEFECT LOCATION" FIELD TO BE ELIMINATED (HIDE)
    Ref the link --> Quality notification
    The solutiion is given below.
    Hi Sami,
    We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
    Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
    Hope this will suffice your requirement.
    Kindly ask me if you need any other details.
    Thanks & Regards,
    Srinivas.D
    Hi Sami,
    We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
    Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
    Hope this will suffice your requirement.
    Kindly ask me if you need any other details.
    Thanks & Regards,
    Srinivas.D
    By double clicking the "DEFECTIVE QUANTITY (EXTERNAL), WE COULD NOT GET --> field TXTCDOT .
    Plese do the needful.
    We are using ECC6.0 Ehp3 and Ehp4.
    With Best Regards,
    Raghu Sharma

    Dear Pushpa,
    Transaction Code :SHD0 is working fine.
    Please accept my sincere thanks for your sharing your Knowledge.
    I am able to fulfill my
    Regarding the enhancement, I have not tried.
    Once I will complete, I will award the fulll marks to you.
    With Best Regards,
    Raghu Sharma

Maybe you are looking for

  • Bridge CS3 crashes with RAW folder, CS2 doesn't

    I have this folder with all my recent RAW files, 319 shots. If I go to that folder with Bridge CS3, it crashes. I can however go to that folder with Bridge CS2 without it crashing, but I have to drag and drop the file to Photoshop CS3 to work on it.

  • Problem with SOAP Scenario

    Hi, I am trying a http to soap scenario. In the receiver soap adapter, I have specified the following: Target url: http://test.abc.com/ Action: handleLogin() When I send the request, I get a "time out error" as the response in the http client tool. H

  • Need HELP on upgrading to os 4.5!!!

    ok..this is my like second time trying to updrage my blackberry....my problem is that i just intalled my desktop manger 4.3, then i upgraded to 4.6...after that is done i deleted the vender.xml..after that i connect my blackberry on my computer and a

  • Sample code to edit master detail records

    Hi, Could anybody please sned me the sample code to edit master and detail records. Thanks, Kavitha

  • Macintosh hd icon

    Is there anyway I can change the icon of macintosh hd on the desktop??