Field for attachment in PO

Dear All,
Can you tell me any way to get list of attachments , attached to PO?
Is there any filed or inidcator to view the attachment exists for the PO?
Krutika

Hi,
I dont think there is some field in Purchase order related tables which will indicate that it has attachment or not. But, you can find out attachments for purchase orders using join on two tables -srrelroles and srgbinrel as follows :
  SELECT aroleid aobjtype a~objkey
    FROM ( srrelroles AS a LEFT JOIN srgbinrel AS b
                                  ON aroleid = brole_a )
                                JOIN srrelroles AS c
                                  ON brole_b = croleid
    INTO TABLE gi_main_cl
    WHERE a~objtype  EQ 'BUS2012'
     AND a~objkey   EQ '<purchase_order_no>'
     AND a~roletype EQ 'APPLOBJ'.
Let me know if it helps.
Gouri.

Similar Messages

  • User defined fields for KS01

    Hi,
    I have to create a new field for cost centre KS01 transaction. In the documentation of exit EXIT_SAPLKMA1_001 it is mentioned that we have to create the new field in CSKS_CI structure. After this, the new field has to be added in the screen.
    This exit is used by program SAPLKMA1 in 2 screens 0399 and 3999. But, these screens are not used anywhere (I checked from the where-used list). In these 2 screens, there is a call customer-subscreen line. If i want to create this subscreen it asks for access key.
    Is there any way that i can create a subscreen and attach it to the standard transaction. Please suggest if there is any other ways to do the same.
    Regards,
    Nikhil

    See the documentation once properly,user-exits are provided for adding additional functionality with out using any Access Keys...
    If the additional fields are to be visible on the screen, the include ZXKM1U01 must at least include a field transport from the structure transferred in the interface, to the structure used on the screen.
    If you have placed fields of structure CSKS_CI on the screen, you should add the following line to include ZXKM1U01:
    MOVE-CORRESPONDING USER_CSKS_CI TO CSKS_CI.
    Further examples of coding can be found in include LXKM1F01

  • SPMenu Field for sharepoint document library

    I have written code where it will show the Sharepoint document library in sp grid view.It
    is showing the grid but i want the default spmenu field for the type icon. please see the attached image. Below is the code of mine
    private void CreateBoundField(string sDataField, string sHeaderText, bool bReadOnly, SPGridView theGridView)
    BoundField field = new BoundField();
    field.DataField = sDataField;
    field.HeaderText = sHeaderText;
    field.HtmlEncode = false;
    field.HeaderStyle.ForeColor = ColorTranslator.FromHtml("#808080");
    field.HeaderStyle.Font.Names = new string[] { "verdana", "arial", "helvetica", "sans-serif" };
    field.ItemStyle.HorizontalAlign = System.Web.UI.WebControls.HorizontalAlign.Center;
    if (sHeaderText.ToLower().Equals("type"))
    field.ItemStyle.HorizontalAlign = System.Web.UI.WebControls.HorizontalAlign.Center;
    field.ItemStyle.Width = Unit.Pixel(35);
    field.HeaderStyle.Width = Unit.Pixel(35);
    field.ReadOnly = bReadOnly;
    if (!bReadOnly)
    field.SortExpression = sDataField;
    field.Visible = true;
    theGridView.Columns.Add(field);
    SPGridView gv = new SPGridView();
    gv.ID = "gv";
    gv.EmptyDataText = "No items found!";
    gv.AllowSorting = true;
    gv.AllowFiltering = true;
    gv.AutoGenerateColumns = false;
    gv.EnableSortingAndPagingCallbacks = true;
    CreateBoundField("Type", "Type", false, gv);
    CreateBoundField("Title", "Title", false, gv);
    CreateBoundField("Date", "Date", false, gv);
    CreateBoundField("ProcessTask", "ProcessTask", false, gv);
    DataTable dt = new DataTable();
    SPWeb web = SPContext.Current.Web;
    SPListItemCollection items = web.Lists["Shared Documents"].Items;
    dt.Columns.Add("Type");
    dt.Columns.Add("Title");
    dt.Columns.Add("Date");
    dt.Columns.Add("ProcessTask");
    foreach (SPListItem item in items)
    DataRow dr = dt.NewRow();
    string value = item["ProcessTask"].ToString();
    value = value.Substring(value.LastIndexOf(";#") + 2);
    string docicon = SPUtility.ConcatUrls("/_layouts/images",
    SPUtility.MapToIcon(item.Web, SPUtility.ConcatUrls(item.Web.Url, item.Url), "", IconSize.Size16));
    dr["Type"] = string.Format("<img src='{0}' />", docicon);
    dr["Title"] = item.Title;
    dr["Date"] = item["Created"].ToString().Split(' ')[0];
    dr["ProcessTask"] = value;
    dt.Rows.Add(dr);
    gv.DataSource = dt;
    gv.DataBind();
    this.Controls.Add(gv);
    SPListItemCollection _GridCollection = SPContext.Current.Web.Lists["Shared Documents"].Items;
    DataTable _MyDatabale = _GridCollection.GetDataTable();
    gvdetails.DataSource = _MyDatabale;
    gvdetails.DataBind();
    I want the default menu pop up like the below attached image. Can any one help me to
    modify the above code and get me the attached out put.
    Thanks,
    Sandy.

    Hi,
    According to your post, my understanding is that you wanted to show the SharePoint document library in GridView.
    You need to get hold of the SPFile object, which is a property of a ListItem item, and get the ServerRelativeUrl property. Then you need to add code to an <a> tag .
    Here is a similar thread for your reference:
    http://sharepoint.stackexchange.com/questions/88139/code-download-file-from-doc-icon-image-in-sharepoint-2010
    More information:
    Bind SharePoint 2010 Document Library to GridView:
    http://sppractices.blogspot.com/2013/03/bind-sharepoint-2010-document-library.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Updating Prod Hierarchy field for all 2 & 3 level WBS Elements

    Dear All,
        My requirment is to update Prod. Hierarchy field for WBS element. Here in input i give 2 level WBS Element with respective Prod. Hierarchy then my program should update the Prod. Hierarchy for 2 level and 3 level WBS element under it automatically.
    I hope we need to use bapi BAPI_PROJECT_MAINTAIN.
    If any one had a sample code please reply with the attachment.
    Thanks & Regards
    NSK

    Hi Afzal,
         In which table the Left Right Up Down WBS elements are maintained.
    Regards
    Shashikanth Naram

  • Update PO Header Description field for Blanket Purchase Agreement

    Hi all,
    I am trying to update description field for Blanket Purchase Agreement using Import price catalog.
    Open interface runs successfully and not getting any errors but, the description field is not getting updated.
    Is it possible to update BPA using Import Price Catlaog. If not is there any API for this?
    Thank you,
    Prashanth

    If you are having trouble with API, you can update DFF directly. Typically, it is a little/no risk update.
    Just make sure that the new DFF value satisfies the value set attached to the DFF / DFF context.
    Sandeep Gandhi

  • Cost centre field to be made o/p field for certain role

    Hi SRM Experts,
      I have a query regarding display of the Cost center field at the ITEM deatils node when creating the SC.
      My reqt is that based on a "certain role" attached to the User profile,i want to make this field as a display field.
      I have made chnages in the std screen include "LBBP_PDH_ACCF0Q" but it doesnt seem to work.The field is an i/p field for the Users with a specific role for which i want the field to be a  display/output field.
      Do i need to make modifications at some other place too??
    BR,
    Disha.

    Hi christophe/Vadim/Yann,
      Some suggestions please...
    BR,
    Disha.

  • IMG Settings for "Define Settings for Attachements" SRM 5.5

    Hi!
    I hope some can help me too.
    I use SRM 5.5 and want configure also attachement transfer from SRM to R3 (700).
    I have implemented the
    BAPI - BBP_CREATE_BE_RQ_NEW
    with the method
    FILL_REQ_INTERFACE
    and the statement
    CV_ATTACH_TRANSFER_ACTIVE = 'X'.
    I have also done the settings in DC10, DC20, DC30.
    But my Problem is that i dont get a attached document in R3 if i look in TA (ME23N).
    In SICF i have configure the docserver with ALIAS.
    In SMICM i get no error message if i start with NONE entry in field RFC Connections.
    Can anybody give me help with the IMG settings in "Define Settings for Attachements"?
    i think in this settings i have some to fill out but dont know really what!
    please can someone help me with this problem.
    Thx
    Wolfgang

    Hi and thx for answer!
    I have now added in the BAPI the 2 statements
    BE_STORAGE_CAT = 'DMS_C1_ST'
    BE_DOC_TYPE       =  'SRM'
    and now i get in SAP Portal following error message if i want attach a file:
    The instruction at "0x0adca7b9" referenced memory at "0x00000000"
    The memory could not be read.
    After this i try it again without this2 statements and i get the same error message?!?
    So what can i do now?
    thx for any help
    br Wolfgang
    @ In the TA MN23n i look at the item position line for attached files but nothing their.

  • Fillable form fields for an Employee Performance Review ?

    So i've designed our Employee Perfomance Review in InDesign, exported the PDF and created form fields in Acrobat 9. The goal is to have a PDF that contains fillable form fields for our yearly reviews that can be filled out, saved, and re-opened and edited again in Adobe Reader. They will need to be edited by several people from different computers.
    The problem i'm running into is this: Each employee will have at least two supervisors contributing to their reviews. So, this form needs to be able to be edited by one person and saved, then forwarded to the next person who would in turn add their comments. The second reviewer would then save their information, send it back to the first reviewer, who would finalize the document, save it digitally and print it out so we would have a hard copy.
    The main goal is to have a document that can be passed back and forth and remain editable.
    I can use the Distribute Form option in Acrobat, but this information needs to be accessable by the completer of the form and HR only, and not myself. Using Distribute form would require HR to purchase a version of Acrobat to distribute the forms and access the information...either that or they would have to use my computer to distribute the form and recieve responses.This still doesn't solve my main problem. From everything I have seen, the distributed forms can only be submitted, and not saved or passed around.
    If the PDF is sent out as an attachment, it can be filled out and printed to PDF to save it digitally, but it can't be edited again in Reader.
    I'm looking for a way to utilize Acrobat for this, and not resort to using Word or some other program. The reason we upgraded to Acrobat 9 in the first place was because we thought it would make this process work. Any help or advice would be appreciated.
    Thanks,
    aaardvrk

    Thanks. It looks like we're covered under 15.12.3(b) since this document will only be distributed to about 10 supervisors. I interpret this to mean that we can use this document as many times as we like as long as the total number of Users (supervisors) doesn't exceed 500.
    "For any unique Extended Documnent, you may either (a)... ; or (b) Deploy such Extended Document to no more than five hundred (500) unique recipients without limits on the number of times you may extract information from such Extended Document returned to you filled-in by such Recipients."
    Thanks again.

  • IF statement in Calculated Field for Share point, doesnt calculate sum in my Excel Pivot table.

    Hi Everyone
    I used this in SP calculated column field.
    =IF([Shift Sched]="1pm to 10pm","0",IF([Shift Sched]="2pm to 11pm","1",IF([Shift Sched]="3pm to 12am","2",IF([Shift Sched]="4pm to 1am","3",IF([Shift Sched]="5pm to 2am","4",IF([Shift
    Sched]="6pm to 3am","5",IF([Shift Sched]="7pm to 4am","6",IF([Shift Sched]="8pm to 5am","7",IF([Shift Sched]="9pm to 6am","8",IF([Shift Sched]="10pm to 7am","8",IF([Shift
    Sched]="11pm to 8am","7",IF([Shift Sched]="12pm to 9am","6",IF([Shift Sched]="1am to 10am","5",IF([Shift Sched]="2am to 11am","4",IF([Shift Sched]="3am to 12pm","3",IF([Shift
    Sched]="4am to 1pm","2",IF([Shift Sched]="5am to 2pm","1",IF([Shift Sched]="6am to 3pm","0",IF([Shift Sched]="7am to 4pm","0",IF([Shift Sched]="8am to 5pm","0",IF([Shift
    Sched]="9am to 6pm","0",IF([Shift Sched]="10am to 7pm","0",IF([Shift Sched]="11am to 8pm","0",IF([Shift Sched]="12pm to 9pm","0"))))))))))))))))))))))))    
    it was able to work fine however my issue is when i extract the information to excel and use a pivot table the table is not able to calulate the sum of the value for this field. Can you please help me with this. this is for an Attendance traker for Night
    Differential pay for employees. they create a daily log of their shift schedule and if i summarize this in pivot the value in the calculated field for this is not getting the sum.
    Thanks,
    Norman

    Hi Everyone
    I used this in SP calculated column field.
    =IF([Shift Sched]="1pm to 10pm","0",IF([Shift Sched]="2pm to 11pm","1",IF([Shift Sched]="3pm to 12am","2",IF([Shift Sched]="4pm to 1am","3",IF([Shift Sched]="5pm to 2am","4",IF([Shift
    Sched]="6pm to 3am","5",IF([Shift Sched]="7pm to 4am","6",IF([Shift Sched]="8pm to 5am","7",IF([Shift Sched]="9pm to 6am","8",IF([Shift Sched]="10pm to 7am","8",IF([Shift
    Sched]="11pm to 8am","7",IF([Shift Sched]="12pm to 9am","6",IF([Shift Sched]="1am to 10am","5",IF([Shift Sched]="2am to 11am","4",IF([Shift Sched]="3am to 12pm","3",IF([Shift
    Sched]="4am to 1pm","2",IF([Shift Sched]="5am to 2pm","1",IF([Shift Sched]="6am to 3pm","0",IF([Shift Sched]="7am to 4pm","0",IF([Shift Sched]="8am to 5pm","0",IF([Shift
    Sched]="9am to 6pm","0",IF([Shift Sched]="10am to 7pm","0",IF([Shift Sched]="11am to 8pm","0",IF([Shift Sched]="12pm to 9pm","0"))))))))))))))))))))))))    
    it was able to work fine however my issue is when i extract the information to excel and use a pivot table the table is not able to calulate the sum of the value for this field. Can you please help me with this. this is for an Attendance traker for Night
    Differential pay for employees. they create a daily log of their shift schedule and if i summarize this in pivot the value in the calculated field for this is not getting the sum.
    Thanks,
    Norman

  • Posting Error: Field Pers.No. is a required field for G/L account

    When I am trying to run the simulation posting run (PC00_M99_CIPE) then is getting an error that u201CField Pers.No. is a required field for G/L account 2275 504566872u201D
    Field Pers.No. is a required field for G/L account  2275  504566872
    Message no. F5808
    Diagnosis
    The value for field "Pers.No." in the interface to Financial Accounting is an initial value but you are required to make an entry in the field selection for G/L account "504566872" in company code "2275" linked to the field selection for posting key "50".
    Procedure
    It might be an error in the configuration of the G/L account field selection. The initial application, used to call up the interface must otherwise define a value for field "Pers.No.". If this is the case, contact the consultant responsible for the application used to call up the interface or get in contact with SAP directly.
    Please help.

    First of all did you required to post with personnel number or not....if it is not required then goto FS00 enter your GL account 504566872....find Field Staus Group under tab Create/Bank/Interest........then goto t code OBVV and select your field status group then click on field status and select Additional account assignments and check personnel number status and change as per your requirement optional or required.
    If personnel number required then create symbolic a/c with account type Q and assign gl account to this symbolic a/c.
    Mohan

  • Issue with creation of a specific field for a java program.

    Hey everyone,
    This is homework which is end of chapter "challenges" to practice what we've learnt.
    The chapter covers inheritance (super class and all things related)
    I'm having quite an annoying issue with the very beginning of the instructions, where it tells me to make the following fields:
    - Employee name
    - Employee number in the format XXX-L , where each X is a digit within the range 0-9 and the L is a letter within the range A-M.
    - Hire date
    This is what I wrote for code so far
    private String name;
    //private WTF
    private String date;I really have no idea what to do for the second field, how to even constrain integers and letters in the same field with a rule for number range and letter range, and that for each character independently, for what I understand.
    Any advice with this? It's blocking me from continuing -_-, because I can't make accessors and mutators and constructors, etc, if i'm still unsure of how the fields unfold.
    Thanks in advance.

    You can create a HireDate class.
    public class HireDate{
       private final int day;
       private final String month;
       private final int year;
       public HireDate(int day, String month, int year){
          this.day = day;
          this.month = month;
          this.year = year;
    }In the HireDate Constructor you could put if statements to ensure that only correct information is present. The fields are final because the hire date will not change. Override the toString() method so that when you print it out it will be in the correct format. Create some getter methods to get the private fields.
    Then in your other class just do this
    HireDate hired = new HireDate(10, July, 1991);Now you have an object that stores all 3 fields for you. You can use the object as you like and when it prints it will be in the format you want.
    Or you could just make hireDate a String variable. That is what I always did and I never lost marks for it. The reason I suggest this way is because you mentioned rules and constraints.

  • Not all fields for Business partner are exported

    Hello,
    I am exporting Business partner data from CRM to another system, through XIF. I get on target system XML file with Business partner data. But I have only standart fields. I can't get fields, which was created my company for own use.
    For example, for Business partner I have Business Agreement, but after export to XML, I have no Business agreement data in another system. But I have standart data, for example, Business partner Name, ID, ets.
    Anybody know what I can do to export all the fields for Business partner? Some transaction or somthing else? Where can I customize output XML with Business partner data?
    Best regarda,
    Alexander.

    Hi,
    You have the right observation. There is no mandatory fields for BP. It means you can update any single field against CardCode. CardCode is the only mandatory field which is the only primary key must be unique.
    Thanks,
    Gordon

  • Show different key fields for different caracteristics in the column.

    Hi, experts
    I am creating a query where there are 4 colomns reprensenting 4 different dates. But I would like to display diffferent key fields for them. For example, under DAY 1, i would like to diplay KeyField 1, for DAY2, DAY3 and DAY4, KeyField 2 et 3 will be added under them.
    To do that, i made these key fields "Constant selection" and made some definition in the cells-------
    On the line of DAY1 in the colomn KeyField 2 and KeyField 3, I made them "Always Hide".
    But I didn't get what i wanted as the two columns (KF2 et KF3) still appear in the report, even if there are no data in these two columns.
    Is it possible to realise this requirement:
    DAY1   DAY2          DAY3
    KF1     KF2    KF3   KF2     KF3
    Thanks in advance!!!!

    There is no need to define a cell for this, use a restricted key figure:
    KF1 needs to be restricted by Day1
    KF2 restrict it by Day2 and so on,
    and use those restricted figure in the key figure section, but to make the column more descriptive use a text variable for the name of the columns.
    this should be easier than cell definition.
    thanks.
    Wond

  • Table and table field for PICKING QUANTITY.

    Hi friends,
           I need to use PICKING QTY in script. but it is in structure LIPSD-PIKMG.
    Please say Table and Field for Picking quantity.
    I need a table and field.
    THANKS in advance.
    balaji.

    Hi Tarani, Rasmi,
    Thank you for quick response.
          LIPS-LFIMG is Delivery Qty . It is not Picking Qty.
    please let me know for PICKING QTY to display in my Script.
    Thank you.

  • Project Server 2010 - create a custom enterprise project field for persons (no text, no lookup table...)

    I want to create a custom enterprise project field and would like to use instead of for example a text attribute or a look-up table a field for employees (e.g. project manager) which are coming e.g. from the Active Directory. But when creating this custom
    project field I cannot see such an option. What solution do you suggest as I want to avoid that everybody uses different names and spellings for e.g. the project manager and without having to fill the lookup table with all resources of the company.
    Thank you so much for your help!

    Hi,
    Are you using Proejct Server 2007, 2010, 2013?
    In case you're working with 2010 version, here is an excellent
    blog about how to insert a resource picker in a PDP (project detail page).
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

Maybe you are looking for