How to get Information Template fields to Standard Purchase order Document.

Hi Guy's
I Created Information Templates to capture extra information to suit our business needs. But i dont know how to get populate those information into Standard Purchase order docuemnt. After Some research I found that we have to customize the PO_STANDARD_XSLFO.xsl. But i did not get how to get those information.
If any one know knows or has done this type of customization let me know asap
Thanks in advance
Thanks & Regards
Palakondaiah.U

Hi,
I resolved this as following :
Since, i needed the Manufacturer Serial no. to be fetched in custom field at item level ( Enhanced via EEWB the item  ) , the moment there is a product  available in the sales doc header field.
I wrote  badi implementation for definition : CRM_ORDERADM_I_BADI and utilized method  : CRM_ORDERADM_I_PRODUCT_DETERM . This method's signature if you check makes me available the header, item guids along with the product available in the field even before i save the sales document. There i fetch the serial number of product from custom table and then poulate the serial no. field in customer_i extension as follows:
  LS_CUSTOMER_I_COM-ZZCUSTOMER_I0803 = LV_MFR_SLNO.
  LS_CUSTOMER_I_COM-REF_GUID    = IV_ITEM.
  LS_CUSTOMER_I_COM-REF_HANDLE  = '0000000000'.
  LS_CUSTOMER_I_COM-MODE        = 'A'.
  APPEND LS_CUSTOMER_I_COM TO LT_CUSTOMER_I_COM.
  LS_FIELD_NAME_CUSTAB-FIELDNAME = 'ZZCUSTOMER_I0803'.
  APPEND LS_FIELD_NAME_CUSTAB TO LT_FIELD_NAME_CUSTAB.
  CALL FUNCTION 'CRM_CUSTOMER_I_MAINTAIN_OW'
    EXPORTING
      IS_CUSTOMER_I_COM    = LS_CUSTOMER_I_COM
*        IV_EXTERNAL_CALL     = 'X'
    CHANGING
      CT_INPUT_FIELD_NAMES = LT_FIELD_NAME_CUSTAB
    EXCEPTIONS
      ITEM_CHANGE_ERROR    = 1
      ITEM_CREATE_ERROR    = 2
      ERROR_OCCURRED       = 3
      OTHERS               = 4.

Similar Messages

  • Modify and add new field in standard Purchase Order script

    Hi All,
           I have some problem with Modify and add some new fields in Standard Purchase Order script. From ME22n transaction code it display PO detail. In <b>item detail</b> with <b>condition</b> tab all data will display in Currently PO script output.
           But I want to display ME22n->Item Detail->Invoice->Taxes Data. how to display this data in standard PO script. All data are fetch from <b>Structure</b> like ( KOMV,KOMVD..etc) then How it can be Display?
    Waiting for Replay.
    Himanshu Patel.

    Work with an Abaper.Tell your requirement [ addition of a field] and ask him to include this field by using the functionality " Field Exit".

  • Standard Purchase Order document printing

    Hi All,
    I need to modify the standard purchase order document and need to print a custom note in that based on the organization criteria.
    i have downloaded the .xsl file and as i am not very familiar with that i cant understand the code.
    1)could you please let me know, where to open that xsl file either in jdeveloper or some thing like notepad, textpad etc..
    2)If possible please share the tags to print the custom message based on organization criteria
    3) where to find the xml tags related to that to modify the xsl
    Please help!!
    Thanks!!

    We need to investigate this XSL tags and need to do R&D. I finally did it.

  • Add fields to Standard Purchase Order

    How can I change the standard order data definition. I need to add some fields that are not in the standard po definition.
    Must i add fields to po_headers_xml.
    But i think I also have to change the .xsd file. But how can I change them ?

    Nike,
    That is indeed the way of working but what I find strange is when you download the Standard Purchase order XSL-FO.
    You see that Oracle uses Boilerplate messages to fill up the labels on there PO
    print.
    These messages are hard coded in the procedure for generating the xml that is
    used for filling up the data of the database.
    For my customer it is useful to change the messages (labels) in the database
    and not in the template. Now why does the standard PO support this. It is build
    up with boilerplate messages ! And why can you not use these way of programming
    for your custom messages. Or will be this supported in the future?
    Maybe it is usefull to build up the part where the messages are selected in the
    PO_COMMUNICATION_PVT.POXMLGEN not hard coded but dynamicly. So you can set up
    which messages are used.Alse the part wich language the xml is generated based
    upon the language of the supplier. So that you can do View > Document in PO
    summary screen with the language of the supplier.
    These are the problems I have, it seems logical to me that the way the standard
    PO is presented, it also can be used in customisations.
    But these customisations are not supported.

  • How to Check Log File for 'Import Standard Purchase Orders' program?

    Hi,
    When the run the standard program 'Import Standard Purchase Orders' after inserting data to PO interface tables. I am getting the log message as mentioned below.
    Start of log messages from FND_FILE
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 40499066
    End of log messages from FND_FILE
    When I go and check for the message in mentioned table against the AUDSID,I couldn't find any error listed.
    Even I verified the po_interface_errors table, It returns NO ROWS.
    Help me on this issue.
    Thanks.

    Did you checked the imported PO ? follow step 7-8 from MOS note and check
    Vision Demo - How To Import Standard Purchase Orders Using the Purchase Document Open Interface PDOI [ID 1054004.1]
    You can also check
    How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
    thanks

  • How to get informed when PO / Contract changed to ordered / released status

    Hi,
    I am working on a program which sends SRM PO and Contract data to a non-SAP system, one of the requirements is to send SRM data immediately after PO / Contract's status changed to Ordered / Released ( workflow is used here ).
    I tried to used BBP_DOC_CHANGE_BADI, but noticed throuhg debugger that the last time this BADI get called, I still didn't see Ordered / Released status in the Status table.
    Is any way to know status change for PO / Contract ?
    Thanks a lot,
    Wayne Liu

    Hello Wayne,
    Solution 1:
    You can use the SRM Alert Mangament to know when a contract was released, specifically the following events RELEASED_AGAIN
    RELEASED_NEWLY.
    Check IMG Cross-Application Basic Settings-> Event and Event Schema for Alert Management
    For PO I could not find a similar event, but there is a APPROVAL_PROCESS_DOC_APPROVED event which can be used if the PO was approved after ordering.
    In any case you can create your own events and event handlers using the SRM Alert Management BAdi BBP_ALERTING.
    Solution 2: Only for Contracts
    You can use the existing Distribution mechanism to distribute contracts to Non-SAP systems.
    Distribution of contracts is triggered whenever significant changes are done to the Contract (like Release, Lock, Unlock).
    Implement function module NOR3_CTR_TRANSFER for this purpose.
    Edited by: Sushil Kumar on Mar 22, 2010 9:41 AM

  • "Free of Charge" field mandatory on Purchase order document

    Hello,
    Where can I set and de-select the "free of charge" field as mandatory in SAP MM for Purchase orders?
    I am working around SPRO -> Material Managment -> Purchasing -> Purchase Order -> Define screen Layout at document level, but there I cannot find any fields like that.
    Also in the account assignment layout or in the Item type layout I cannot find anything useful.
    Do you know how this field is set as mandatory?
    In particular I have a document type that have that flag mandatory when I post a standard item (either with a stock or non-stock material). When I use a different document type or even the same with item category = services, the system is not requiring the "free of charge" as mandatory.
    Thanks
    Marco

    Hello,
    As I described, I am using a standard Item category (PSTYP = 0), either with a stock material or with a material group code + account assignment (Cost center).
    Either way (stock or non stock) the message is raised.
    Working around it, I noticed that the error is showing for that particular layout only (assigned to the document type, but it is not showing if I select the same document type (same layout at document level), but with PSTYP = 9 (services).
    It is showing both when creating (ME21N or ME21) and when changing (ME22N).
    Hence there must be something wrong at SPRO -> Material Managment -> Purchasing -> Purchase Order -> define document layout at document level with the match of ME21N, AKTH, ZM (my layout) and PT0F, becouse for ME21N, AKTH, ZM and PT9F or ME21N, AKTH, XX (any other user defined layout) and PT0F evertything is correct.
    I even tryed to remove and recreate all over again the ZM user defined layout, but the same error is showing.
    The problem is that I am not able to indentify where is actually this "free of charge" field in this customizing path, since I don't see it in the list of selectable fields.
    Thanks
    Marco

  • Getting error after submitting import standard purchase order from localization responsibility

    Hi All,
    I have manully inserted data in header,line,distribution interface table like below
    INSERT INTO po_headers_interface
    (interface_header_id,process_code,action,org_id,document_type_code,document_num,currency_code,vendor_name,vendor_id,vendor_site_code,vendor_site_id,comments,
    vendor_doc_num,amount_agreed,effective_date,expiration_date,vendor_contact,approval_status,terms_id,agent_id,creation_date,created_by,last_update_date,last_updated_by)
    VALUES  
    (po_headers_interface_s.NEXTVAL,'PENDING','ORIGINAL','7046','STANDARD','454545','INR','Madhura Enterprises','40179',NULL,'13922','XYZ',null,null,sysdate,sysdate+10,null,
    'Approved',13922,25,SYSDATE,fnd_global.user_id,SYSDATE,fnd_global.user_id);
    INSERT INTO po_lines_interface
    (interface_line_id,interface_header_id,process_code,line_num,item_id,item_description,uom_code,unit_of_measure,quantity,unit_price,ship_to_organization_id,ship_to_location_id,
    need_by_date,promised_date,last_update_date,last_updated_by,creation_date,created_by,line_type_id,vendor_product_num,note_to_vendor,shipment_num,closed_code,closed_reason,CATEGORY_id,tax_code_id)
    VALUES
    (po_lines_interface_s.NEXTVAL,po_headers_interface_s.CURRVAL,'PENDING',1,'208956','ESSEL CAPITAL ITEM','Ea','Each',2,100,'7087',
    '22885',SYSDATE+1,SYSDATE+1,SYSDATE,fnd_global.user_id,SYSDATE,fnd_global.user_id,'1',NULL,'aaaaaa','1',NULL,NULL,'1','1000');
    INSERT INTO po_distributions_interface
    (interface_header_id,interface_line_id,interface_distribution_id,distribution_num,quantity_ordered,quantity_delivered,quantity_billed,quantity_cancelled,destination_type_code,deliver_to_location_id,
    deliver_to_person_id,charge_account,charge_account_id,creation_date,created_by,project_id,expenditure_item_date)
    VALUES
    (po_headers_interface_s.CURRVAL,po_lines_interface_s.CURRVAL,po_distributions_interface_s.NEXTVAL,'1','2',NULL,NULL,NULL,
    'INVENTORY','22885','24',NULL,'134793',SYSDATE,fnd_global.user_id,NULL,NULL);
    When i am submitting the standard program then i am getting following error---
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_ERR_UTL. Procedure add_fatal_error.0
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_ITEM_PROCESS_PVT. Procedure update_master_item.60
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_ITEM_PROCESS_PVT. Procedure create_items.60
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_MAINPROC_PVT. Procedure process_lines_add.70
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_MAINPROC_PVT. Procedure process_lines.10
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_MAINPROC_PVT. Procedure process.10
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small in Package po.plsql.PO_PDOI_PVT. Procedure start_process.110
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    Please help me in this issue.. when i am running this on vision without tax code it is working fine.
    But in localization its not working. Basically i need to do scripting for india localization for Open PO.
    The application Details -
    RDBMS : 11.1.0.7.0
    Oracle Applications : 12.1.3

    please everyone do needful help on this..

  • HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL

    HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL USING 10g Database and 10g Application Server
    we have developed an application using oracle forms 10g with
    oracle database 10g and Application server 10g
    Application uses a single Oracle User name to connect to database
    where as at Application level there are different users (these are not database users)
    Now how can we get the information about the user/his machine etc. at database level. earlier in 6i/8i we use to get by using
    USERENV('TERMINAL')
    we had written a triggers on tables on Insert/Update where we used to update a database field Last user terminal with USERENV('TERMINAL')
    but not this information is comming to be the machine name of application server where as we wish this to be the machine name of Client. Any Way outs
    thanks
    Chaand Kackria

    hi, you can use the sys_context function, like this:
    select sys_context('userenv','current_user'),
         sys_context('userenv','os_user'),
         sys_context('userenv','host'),
         sys_context('userenv','ip_address'),
         sys_context('userenv','instance'),
         sys_context('userenv','sessionid'),
         sys_context('userenv','terminal')
    from dual;
    Is this what you 're looking for?

  • How we can add custom field in standard report 2kee.

    Hi,
    How we can add custom field in standard report 2kee.
    I need one extra field to add in 2kee report for the same is there any customization req.
    Regards
    Ravi

    Ravi,
    Which extra field do you want to add or see?  Without specifying the field, it is difficult for one to tell you precisely whether you need a custom field or just change the layout to get the standard one.
    There are so many fields which exists but are not displayed when you execute 2KEE. You need to change the layout selections to your preference.
    Nonetheless, if the field you want to add does not already exist, then yes you can do customization.  Is there a customization requirement? No. But remember, you are making changes to SAP Standard program which will no longer be supported by SAP should in the case an issue arise in the future related to this very program.
    Have your abaper add the said field in the program or why not just create a query to pull the report?
    Elias
    Edited by: Elias Akorli on Sep 18, 2009 9:02 PM

  • How to get information about creation of a virtual machine on a Hyper-v host.

    Hi,
    How to get information about creation of a virtual machine on a Hyper-v host?
    I need: host name, time created, creator user.
    I saw in Hyper-V-VMMS but I found info about movements of VM between hosts.
    Thank's in advance.
    Denius Valiant

    For Host Name * Created Time Use This Command In PowerShell 
    Get-VM -Name (Read-Host "Type Your Vm Name") |select CreationTime , ComputerName
    and for Create User , As i know you should see on Event Log . 
    Go To Event Log Viewer--->Applications And Services Logs--->Microsoft--->Windows--->Hyper-V-VMMS--->Operational 
    You can see in Event Log who create the Vm.
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
      Facebook:
      

  • How to get multiple selected fields in list

    Hello all,
    I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
    Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
    Thankx..

    i want to put the selected fields of list in an array through AS3....
    actually......i figured it out how to do that...........
    Its simple......use
    list.selectedItems[index]
    and to get the number of items selected......
    list.selectedItems.length
    simple.....

  • How to get title templates library for CC?

    How to get title templates library for CC?  Do you have to download and install PP 6 to get them?

    Try here Library, title templates, template projects missing: Premiere Pro, After Effects, Encore

  • How to add new text field in standard report

    how to add new text field in standard report?

    Hi,
    I presume you are talking about a report display in ALV and u wish to add a column to it .
    If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
    Otherwise , you can make a Z program . Modify the catalog being used in ALV.
    Regards,
    Shweta

  • How to get information about cursor? I had only a reference on it.

    Hello
    How to get information about cursor, that I receive in my procedure as a reference. For example I need to know, a number of columns. I know nothing about this cursor, except the link on it.
    Best Regards, Kostya Proskudin!

    However, I would seriously reconsider what you are trying to achieve.
    It looks like you are trying to write some ultimately generic cursor processor. i.e. pass any cursor and process it in some generic way.
    Good design should include knowledge of what is expected to be passed and that knowledge can be put into the code.
    Generic code is inherently difficult to maintain and debug and will never 100% deal with all possible situations e.g. even if you know the table being queried in the cursor you can't rely on the data dictionary to give you all the returned columns if some of the returned columns of the cursor are computed columns.
    Be careful you aren't writing something that's going to cause problems later.

Maybe you are looking for