Item catagory field reference

Dear All,
    Where we have assign field reference for item catagory
like for  item catagory L-subcontract on third header -material data -component field comes
,for item catagory k-consignment trere is no invoice & condition
can any one give the details setting for itemcatagory
Regards
Amin

The path is SPRO-MM-Puchasing- PO- Define Screen Layout at Document Level.
Here PT** Field references are for different Item categories. For Consignments it is PT2F and for subcontracting it is PT3F.

Similar Messages

  • Item catagory field display in sales order lin item

    Hi experts,
    I would like to have your view points to gray out item catagory field at sales order item level.
    In our scenario, company has outsourced sales order creation to third party vendor. Also we have restricted sales order creation for these user's via role creation for certain document types.
    Even after these settings, now they have access to item catagory field to modify. We want to gray out this field so that they will not be able to update it to another item catagoroy.
    Thanks in adavance for your reply.
    Regards,
    Prabhaharan

    I have a suggestion, which can act as a work around through configuration. Maintain only one default Item category & do not maintain any alternative item category, which can be changed manually. this will serve the purpose of not changing the Item Category & even if user tries to change, it will not accept any other item category.
    Menupath: SPRO --> Sales and Distribution --> Sales --> Sales Documents --> Sales Document Item --> Assign Item Categories
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • Item catagory field in PO (me23n)

    i want table name and field name for item catagory and account assignment of a PO.
    Message was edited by: Madan Gopal Sharma

    HI madan
    you can get it from EKPO table whisch contains the item data.
    check ATTYP
    <b>hi madan
    try checking PSTYP in EKPO which show the item category.
    it has values 0-9 but there will be conversion exit which will show the meaningful data.</b>
    regards
    kishore.
    Message was edited by: Harikishore Sreenivasulu

  • Item category field in sale order screen to be greyed out

    Dear Friends
                        While creating sale order I have a requirement to make item category field to be uneditable i.e greyed out .
    How can I do that ?
    Regards
    Mahesh.

    Hi,
    Once there is any subsequent document to sales order item catagory field is going to be grayed out, till that time u can change ur item category. OR if u do nlt maintain manual item categories in the item category determination  to ur sales document type it is not possible to change the item category other than the one u specified in the determination.
    Regs,
    Ravi Duggirala

  • How to reference SQL column value for  page item text field

    greetings,
    I created a simple report based on sql query. the query is select employeeid,salary from emp_tbl. under the report column i see employeeid and salary. I created a page item text field with the source type pl/sql function body. inside this source is simple block.
    begin
    if salary < 10000 then
    return (1);
    else
    return (2);
    end if;
    end;
    from the error i take it that it doesn't understand salary. I have tried bind variable (:salary) , hash marks (#salary#), ampersand (&salary.) but nothing works. Is this even possible?
    thank you,
    mon

    Hi Mon,
    I think you will find that anything you do in Forms, you can achieve in Apex, but you may have to think a little differently. Finding direct equivalents in both environments may not be easy or even possible in some circumstances, but with a little knowledge and thought an equivalent overall business flow can be achieved that is just as efficient.
    For example, in Forms where you have a multi row block based on a table, if you need to add any derived fields then you will add these at the block level. I can see that this is what you are trying to achieve in Apex.
    In Apex this will be more easily achieved by specifying the derived fields as part of the query for the region, and if the derivation of the fields is complex you can use user defined functions. If you require page type items to be displayed such as text boxes, LOV's, radiogroups, datepickers etc then these can be embedded in the query with the use of the Apex API, see the APEX_ITEM supplied package.
    I know this is still very high level, but I hope it helps you on your way in your journey with Apex.
    Regards
    Andre

  • Item Catagory in Order/Delivery

    Hi Experts,
    when we create an order ,the Line item in that order will behave according to Item catagory. Hence If we create Delivery with reference to that Order , same Line item will be copied from Order to delivery. So If this is the Case, why do we need to define Item catagories for Delivery.Can anybody please explain with simple example.
    Thanks,
    Kanna Palle
    Edited by: kanna palle on Dec 9, 2008 7:02 AM

    Dear Kanna,
    Check with, T. Code: 0VLP (zero-VLP)
    There, select an Item Category and Read the description for every Field. This will give the information about the behaviour of that Item category, within the Delivery-Doc.
    Some Key-Points are:
    1. It ensures, whether the Item is relevant for pcking or not.
    2. Relevant checks for Delivery Qty. from Order Qty. ( i.e. checks for overdelivery)
    3. Automatic Batch Determination
    4. Controls whether it makes sense to enter an item in the SD document with this item category without specifying a material.
    Best Regards,
    Amit
    Note: Related Threads:
    [Delivery Item Cat.|Sales & Delivery item category]
    [Del. Item Cat.|delivery item category]

  • Restrict Item Category Item Creation using Reference Only

    Hi All
    Here is the scenario, I want  "Restrict Item Category Item Creation using Reference Only"
    a.Retrieve document number VBELN from sales order header table VBAK for the current order. Check if the sales order is of type ‘ZAB’ referencing field AUART in table VBAK.
    note : Any changes to existing sales order "ZAB" will be performed in thesame sales order type(ZAB) in VA02 transaction.
    b.If step a is passed, check internal table structure for sales order item level as XVBAP-PSTYV for possible item category values of 'ZDEF' for the entered line item and document number (XVBAP-VBELN).
    c.If the cancel/change item category values are found on the line item, check internal table structure for document flow (XVBFA) if the cancel/change item category was created as reference:
    i.Check if entry exists in XVBFA for the preceding document number field VBELV with value equal to value in the subsequent document number field VBELN. This value must equal the current sales document number VBELN in table VBAK.
    ii.The above check must be done in conjunction with the following check:
                1.Check if entry exists in XVBFA for the preceding document type field VBTYP_V with value ‘C’ equals subsequent document type field VBTYP_N with value of ‘C’.
    d.Once the above checks are passed, collect the item number from internal table XVBAP (Field: POSNR) for the change/cancel item category line item added to the sales order.
    e.Check if the item number retrieved in the previous step exists in table VBAP (Field: POSNR) with an item category that is not part of the list of cancel/change item category defined in step b.
    f. Check if the item number collected in the previous step exists in the subsequent item number (Field : POSNN) in internal table XVBFA for the row that passed checks in steps b and c.
    g.If item number exists, check if this subsequent item number field equals the preceding item number field value (Field: POSNV) in table XVBFA.
    h.If step g fails, generate an error message stating that the user needs to the create the cancel/change item category line item with reference to the original line item and do not allow the user to proceed with the transaction.
    i.If step g succeeds, allow the user to proceed with the transaction.
    can any one send me the logic for this scenario.
    Rgds
    Chinna

    Hi Chinna,
      Please use BADI "BADI_SD_SALES_ITEM" to achieve your requirement..
      Let me know if you have further questions..
    BR
    Rakesh

  • How to update Tr code FB02   and update the field reference key1 (bseg-xref

    Can any body
    help me how to update   Tr code   fb02
    and  update the field  reference  key1 (bseg-xref1)  with the interest amount
    calculated.
    Below i have  written My  program  flow logic
    The program should read the open items i.e debit items in the customer account,
    Based on the  invoice date and customer payment terms  calculate the due date and then the  interest should be  calculated on that item based on the due date.
    Use the  transaction  fb02  and update the field  reference  key 1 (BSEG-xref1)
    with the interest amount calculated
    Only  consider  customers whose  interest indicator  knb1-vzskz = 'vk'.
    Interest is to be  calculated for every  30  days
    at the rate of  1% .please see example below.
    Document date is 01.01.2007
    for amount  1000SGD   payment  term  7  days
    It becomes  due  on  08.01.2007
    until  06.02.2007 you should not  consider  for calculation of interest
    SGD  on   7.02.2007 run you can consider this  item for interest calculation

    Hi Robert,
    Thanks for answering.
    I am looking at Ref 2 should flow automatically to clearing document from the accounitng document for billing.
    Ex: Billing document is created and accounted. Ref 2 is AB
    Now when receipt is accounted for this biling document this AB should flow automatically to Ref 2 field.
    Thanks
    NNS.

  • REP-1213: Field  references column at a frequency below its group

    Is there a way of making a field which is on a lower level group to be displayed in a group which is at a higher level in the report?
    I have a field which is within a lower level group on a report and I want it to appear as a header, within a group which is a level above its own group. The field should remain in its original group but should not appear on the report as a column within its original group but should appear as part of the heading.
    I have tried it and got error REP-1213: Field references column at a frequency below its group, but how can I achieve what I want to do without getting this error? Is there a way of showing this field on the header without actually moving it into the header group? Should I create an alias or a function or what and how?
    Please help.

    user8655468 wrote:
    Sorry, I don't seem to get you. MY report has 2 repeating groups. The first group has student_name, course_code, course_name and the 2nd group has academic_year, module_name, module_code and module_grade. Academic_year which is in the 2nd group has to appear as a heading together with the items in the first group but it can not be moved from its original group as it goes together with modules. The report displays a history of a student's modules from 1st year to current year so the Academic year on the header will have to show the current Academic year for a student.
    I don't understand how I should use a summary column to achieve what I want to do. Please can you explain further. Thanks.I think you know about summary column. If your academic year is number filed, you can use it at summary column. Where summary function is sum. You take this summary column at 1st group and select source from 2nd group. Then display it at 1st frame.
    Hope this will help you..
    If someone's response is helpful or correct, please mark it accordingly.

  • Field reference for webtools mail templates

    Hi,
    I try to modify the mail templates in webtools backend - admin->layout->mail templates.  Is there a help document for the field reference, like %%ExtendedPriceWithoutLineDiscount, %% ?
    Thanks,
    David
    =================
    <html>
    <head>
    %%StyleSheet%%
    </head>
    <body>
    <center>
    <table width=800 cellpadding=4 cellspacing=0 border=0 >
    <tr>
    <td>%%PurchaseDate, %%</td>
    <td align=right>Order # %%OrderID%%</td>
    </tr>
    <tr>
    <td>%%FirstName%% %%LastName%% [%%UserID%%]</td>
    <td align=right>%%AccountID%%: %%AccountName%%</td>
    </tr>
    <tr>
    <td valign=top><!section name="billing">%%AddressHTML%%</section>
    <pre>%%BillingAddress%%</pre></td>
    <td valign=top><!section name="shipping">%%AddressHTML%%</section>
    <pre>%%ShippingAddress%%</pre></td>
    <td valign=top>
    <table>
    <tr><td>Delivery method:</td></tr>
    <tr><td>%%ShippingMethodText%%</td></tr>
    </table>
    </td>
    </tr>
    </table>
    <table width=800 cellpadding=2 cellspacing=0 border=1>
    <tr>
    <td bgcolor=silver>Qty</td>
    <td bgcolor=silver>Item</td>
    <td bgcolor=silver>Description</td>
    <td bgcolor=silver>Price</td>
    <td bgcolor=silver>Total</td>
    </tr>
    <section name="orderdetail">
         <tr>
         <td>%%Quantity%%</td>
         <td><b>%%PartNo%%</b> <br>%%Notes%%</td>
         <td>%%PartName%% %%VariantDetailHTML%%</td>
         <td>%%PurchasePrice, %%</td>
         <td>%%ExtendedPriceWithoutLineDiscount, %%</td>
         </tr>
    </section>
    </table>
    <br>
    <table width=800 cellpadding=0 cellspacing=0 border=0>
    <tr>
    <td valign=top>
    <section name="weight">
         <table cellpadding=3 cellspacing=0 border=0>
         <tr>
         <td>Total Volume</td>
         <td>%%VolumeTotal, %%</td>
         </tr>
         <tr>
         <td>Total Weight</td>
         <td>%%WeightTotal, %%</td>
         </tr>
         </table>
    </section>
    </td>
    <td align=right>
         <table cellpadding=3 cellspacing=0 border=0>
         <tr>
         <td>Subtotal</td>
         <td>%%SubTotalWithoutLineDiscounts, %%</td>
         </tr>
         <tr>
         <td>Discount</td>
         <td>%%OrderDiscountWithLineDiscounts, %%</td>
         </tr>
         <tr>
         <td>Handling</td>
         <td>%%HandlingTotal, %%</td>
         </tr>
         <tr>
         <td>Shipping</td>
         <td>%%ShippingTotal, %%</td>
         </tr>
         <tr>
         <td>Payment Method</td>
         <td>%%PaymentMethodTotal, %%</td>
         </tr>
         <tr>
         <td>Taxes</td>
         <td>%%TaxTotal, %%</td>
         </tr>
         <tr>
         <td>Total</td>
         <td>%%GrandTotal, %%</td>
         </tr>
         </table>
    </td>
    </tr>
    </table>
    <br>%%Notes%%<br>
    <table width=800 cellpadding=2 cellspacing=0 border=1>
    <tr>
    <td bgcolor=silver>Type</td>
    <td bgcolor=silver>Number</td>
    <td bgcolor=silver>Amount</td>
    </tr>
    <section name="orderpayments">
         <tr>
         <td>%%PaymentName%% </td>
         <td>%%MaskedNumber%% </td>
         <td>%%PaymentAmount, %% </td>
         </tr>
    </section>
    </table>
    </center>
    </body>
    </html>

    Hi David,
    A search with the keywords "mail template" yeilded this result
    [Re: Email Template Variables|Re: Email Template Variables]

  • PROBLEM IN CREATION OF FIELD REFERENCE UNDER LOGISTICS GENERAL,T-CODE- OMS9

    Dear cons
       In t-code- oms9 I created a new field reference xxx just copied from existing field reference ROH.In ROH field reference one indicator WHERE USED LIST is availble. When we click on that whereused indicator all the material types are assigned.But In new field reference XXX If we click on where used list the system gives one information that "The field reference xxx is referenced nowhere". How can I set the where used list like Field reference ROH.Pl. give some solution.
    nrk

    Hi
    Y do u need the Where Used List for ur new material type.? This tab 'Where Used List' indicates that "ROH' has been used as a Reference for creating other material types. That is ROH is the field reference for other material types like u have created. But in ur case, the new material type is not used by anyone as the Field reference. So it is not coming for the new one. If u reference ur new material type for creating another new material type, then the Where used list will be coming.
    So it is not must that Where used list must be coming for all,.
    Hope u get the solution . ..
    Regards
    Siva

  • For Z Po order type - Item category field is  greyed out.

    Hi MM Experts,
    I am an ABAper working on PO creation with respect to PR( PR with account assignment N)  for Z order type . The requirement includes to update item category of PO with B , But for this Z order type both PO transaction Create/Change(ME21/ME22) the field item category has been greyed out ( Non editable). I checked the SPRO setting for this order type ( SPRO-MM->Purchasing-PO->Define Screenlayout at document level .The field item category has been made as optional.
    Please let me know why this field ( item category still showing in display mode) and How to make it as editable .I need it as editable in ME22 to implement the new requirement of updating that field with item ategory B.
    Thanks in Advance
    Pravee.

    Hi All,
    Since I was creating a PO with respect to PR - after running through all the screens the item category field was becoming non editable, But during the create in one of screen the field item category was still editable, so I updated the item category with B during the create and created the PO, I have used BDC to do the same and its working fine. Thanks for all your inputs.
    Thanks
    Pravee.

  • How to use same DFF for two different forms with :BLOCK.field reference

    Hi,
    Can anyone suggest how to use the same dff in two different forms by using :BLOCK.field reference.
    Scenario is the same DFF is referenced by two forms, viz. Form-1 & Form-2.
    Form-1 Reference Field is :BLOCK.field name, but the same block is not available in Form-2, which throws an error while opening it.
    Any pointers please.
    Thanks,

    In the environment I currently have access to do not have similar setup.
    Let say you setup the DFF1 default value to $HEADER.customer_name, the name of the DFF is CUSTOMER_NAME, description can be anything.
    In DFF2, default value should be a SQL, where you can reference the DFF1. For example, SELECT DECODE($FLEX.CUSTOMER_NAME, 'ABC', 1, 'DEF', 2, NULL) FROM dual
    In this case, you can reference the DFF1.

  • WebPart is raising the following error "Invalid data has been used to update the list item.The field you are trying to update may be read only"

    I have created a farm solution and then i deploy it to SharePoint server, the code looks as follow, and i use it to update a page info values (as the current page values represents old info):-
    [ToolboxItemAttribute(false)]
    public partial class VisualWebPart1 : WebPart
    // Uncomment the following SecurityPermission attribute only when doing Performance Profiling using
    // the Instrumentation method, and then remove the SecurityPermission attribute when the code is ready
    // for production. Because the SecurityPermission attribute bypasses the security check for callers of
    // your constructor, it's not recommended for production purposes.
    // [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, UnmanagedCode = true)]
    public VisualWebPart1()
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    InitializeControl();
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["Pages"];
    web.AllowUnsafeUpdates = true;
    foreach (SPListItem items in list.Items)
    items["Author"] = "SharePoint";
    items["Created"] = "01/08/2014 01:44 PM";
    items.Update();
    list.Update();
    web.AllowUnsafeUpdates = false;
    protected void Page_Load(object sender, EventArgs e)
    but when i try adding this web part to a page i got the following error:-
    Invalid data has been used to update the list item.The field you are trying to update may be read only
    so can anyone advice?

    i only changed lines bitween 
    web.AllowUnsafeUpdates = true;
    and
    web.AllowUnsafeUpdates = false;
    and other parts of code remains without change
    so it will updates all pages in current web
    yaşamak bir eylemdir

  • Adding item positions with reference to contract in sales order

    Hi all,
    I would be very grateful if some of you could help on this:
    I have a requirement to add lines with reference to a contract while the user is creating or modificating it via VA01 or VA02. The logic flow will be as follows:
    if the user enters a new item position with reference to a contract, and the qty entered exceeds the qty in the position selected of the contract, we have to skip the standard error message and try to spli the quantities in several positions with the same material in the contract.
    As an example:
    the contract 000000000001 has 5 lines:
    line     material       qty
    01       mat1           100
    02       mat1           50
    03       mat1           50
    04       mat2           n/a
    05       mat2           n/a
    if the user picks up the line 02 of the contract to create a new line in the sales order, and enters 180 as qty, the sap standard will raise an error, saying the qty has exceeded the contract qty. Ok, we have to skip that error (maybe could we set it as a warning??) and 'split' the qty as follows:
    in the sales orders, 3 lines will be created automatically
    line    material     qty
         mat1         100
         mat1         50
         mat1         30
    and of course, the released quantities in the contract must be updated: i.e the contract should be as follows:
    line     material       available qty
    01       mat1           0
    02       mat1           0
    03       mat1           20
    Any ideas? : )
    What i've done by the moment is to check is that 'split' is possible, in userexit_save_document. If not (e.g. if the user enters 220 for mat1 in the previous example), a custom error will appear. If it is possible, then the sales order will be created (only with the line the uswer entered) and I will trigger somehow a FM processed in background to modify the sales order.
    my question now is: how can i add lines to the created sales order, making reference to some contract lines?
    I've seen BAPI BAPI_SALESORDER_CREATEFROMDAT2 is used to create a document with reference, but can i use it to MODIFY an existing sales order?
    any help would be greatly appreciated.
    thanks a lot for your help.
    regards.

    Hello,
    there's a function module called 'BAPI_SALESORDER_CHANGE', which could change a sales order. The problem could be,that these BAPI's enque the salesorder. So if you start them in background via an userexit, you have to be sure that the salesorder is updated and dequeued by posting.
    An other way could be to use the exit 'userexit_check_vbap' in MV45AFZB. It's called after creating a new position or changing a position. All existing positions at that time in a internal table 'XVBAP', which you could change. (But be carefull, that you don't create an endless loop !).  
    The check about the contract quantity is in a form routine called 'vbep-wmeng_pruefen_folgebeleg(sapfv45e)'.
    Have a look into the form 'vbap_pruefen_ende' in FV45PFAP_VBAP_PRUEFEN_ENDE. There's the whole thing done including the call of the userexit.
    Regards Wolfgang

Maybe you are looking for

  • Switch/Case: How to test byte values in hex format

    OK, this may be a silly question, but being new to Java, I can't seem to get this to work. I have a byte value that I want to test in a switch/case statement. The value was assigned to the byte in hexadecimal format. However, testing only works if I

  • T400 DVD RW recording problem, can only record via win7 explorer

    After upgrading the T400 from Vista business to Win7 pro, all my cd/dvd recording software solutions do not seem to work any more. Nero, Ultimateburner, cdburnerxp , deepburner +++ all can see the            HL-DT-STDVDram GSA-u20n hx12 drive but can

  • Please Help *Deadline Coming Up* Dropping Frames

    hello everyone. I am getting ready tired. I've burnt this project 9x already. I'm using iMovie 08 and I'm editing on a Macbook with an 500 gig firewire drive. The drive has 230 gigs left so it should have plenty to write a temp file for rendering. I

  • Digital signature ceritificate pop up on Internal ITS

    in our environment, we receive these digital certificate pop ups when we are trying to download/upload files from our desktops into SAP. Via SAP note 742197, we were able to get the valid certificate for our release, but we would like to find a way t

  • Exporting parameter of type table in Method of a Class

    Hi Experts, I want to pass an internal table from my method in ABAP class to a workflow. For thi spurpose i have cretaed a parameter of type table in the method. My problem is that i am not able to bind this to a workflow/task  container. I can see a