How to Change the Document Condition Values in PO print

HI,
I have a requirement to change the document condition values in PO printout. We are using the copied form of MEDRUCK.
Please tell me how can i change the Document Condition Values at run time.
Thanks....

hi
hence you have copied standard script you cant able to change the driver program for this you have to use itcsy structure.
go to the page window and select the window which you have the amount field. open the text editor of the windoiw here write
/:           PERFORM CONTACT IN PROGRAM ZAMOUNT_ZF110_IN_AVIS1_C
/:           USING &REGUH-ZALDT&
/:           CHANGING &DT&
/:           ENDPERFORM
now create a report program with name  ZAMOUNT_ZF110_IN_AVIS1_C.
and follow as the example program is .
*&      Form  CONTACT
      text
     -->IN_TAB     text
     -->OUT_TAB    text
FORM contact TABLES in_tab STRUCTURE itcsy
                   out_tab STRUCTURE itcsy.
  DATA : v_telf1 TYPE telf1.
  DATA : v_telfx TYPE telfx.
  DATA : v_adrnr TYPE ad_addrnum.
  DATA : v_flagcomm6 TYPE ad_flgcm06.
  DATA : v_datum(10) TYPE c.
  DATA : v_sydatum TYPE sy-datum.
  DATA : v_lifnr TYPE lifnr .         " Santosh Rawat , 19th Feb
  DATA : v_email TYPE ad_smtpadr .   " Santosh Rawat , 19th Feb
  LOOP AT in_tab.
    IF in_tab-name = 'REGUH-LIFNR'.
  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' " Santosh Rawat , 19th Feb
        EXPORTING
          input  = in_tab-value
        IMPORTING
          output = v_lifnr.
      SELECT SINGLE telf1 telfx adrnr FROM lfa1
        INTO (v_telf1, v_telfx, v_adrnr)
        WHERE lifnr = v_lifnr.
      SELECT SINGLE smtp_addr FROM adr6    " Santosh Rawat ,19th Feb
     INTO v_email WHERE ADDRNUMBER = v_adrnr. " Santosh Rawat ,19th Feb
     SELECT SINGLE flagcomm6 FROM adrc INTO v_flagcomm6
       WHERE addrnumber = v_adrnr.
    ELSEIF
      in_tab-name = 'REGUH-ZALDT' OR in_tab-name = 'REGUP-BLDAT'   .
      MOVE in_tab-value TO v_datum.
      REPLACE ALL OCCURRENCES OF '.' IN v_datum WITH ' '.
      CONDENSE v_datum.
      MOVE v_datum TO v_sydatum.
*CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
EXPORTING
   input         = V_DATUM
IMPORTING
  OUTPUT        = V_DATUM
      CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
        EXPORTING
          date_internal            = v_sydatum
        IMPORTING
          date_external            = v_datum
        EXCEPTIONS
          date_internal_is_invalid = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDIF.
  ENDLOOP.
  LOOP AT out_tab.
    IF out_tab-name = 'TEL'.
      MOVE v_telf1 TO out_tab-value.
    ELSEIF out_tab-name = 'FAX'.
      MOVE v_telfx TO out_tab-value.
    ELSEIF out_tab-name = 'EMAIL'.
      MOVE v_email TO out_tab-value.        " Santosh Rawat , 19th Feb
    ELSEIF out_tab-name = 'DT'.
      MOVE v_datum TO out_tab-value.
    ENDIF.
    MODIFY out_tab FROM out_tab.
*MODIFY TABLE OUT_TAB .
  ENDLOOP.
ENDFORM.             }
reply for any query.
regards,
venkat.

Similar Messages

  • How to change the document type while creating a PO by ME59N

    Hi,
    I  have 2 groups of PR's, for group one the document type is picked as NB and PO is created and for the group 2 it should pick as XYZ and PO should be created using ME59N tcode.
    How to change the document type for group 2 in ME59N? Which user exists to use to change the document type while creating PO in ME59N? 
    Can any one suggest me.

    Hi,
    There a config area, where you can define default PO doc types for a particular Pr doc type. If you maintain the settings properly there, then your requirement can be fulfilled.
    SPRO->IMG->MM->Purchasing->Purchase requisation->Define doc types.
    This will serve your purpose.
    Thanks,
    Srinu

  • Hi, I'm working on a document in PAges 09. Any idea on how to change the document color? I want it black instead of white.

    Hi, I'm working on a document in PAges 09. Any idea on how to change the document color? I want it black instead of white.

    Nichelle,
    You must add your own background object, and then make it Black.
    Insert > Shape > Rectangle
    In the Wrap Inspector, set to Floating.
    In the Graphic Inspector, set Stroke to None and set Fill to Black.
    Grab the corners of the document and stretch the document to cover the entire page.
    Back in the Wrap Inspector select "In Background".
    Format > Advanced > Move Object to Section Master.
    Regards,
    Jerry

  • How to change the Credential domain Value in XML gateway?

    How to change the Credential domain Value in XML gateway?
    configured the XML Gateway trading partner . It is generating the header as given below. but need to change the Credential domain to DUNS.
    <Header>
    <From>
    <Credential domain="olgridap1.lan">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>
    Desired XML header
    <Header>
    <From>
    <Credential domain="DUNS">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>

    You might want to check WLP 10.3 & deployment plan & log4j.xml for a similar topic.

  • How to change the document color mode(RGB to CMYK)?

    Kindly advice me how to change the document color mode(RGB to CMYK) via scripting in "illustrator cs3".
    Thanks.

    Somebody wrote and posted this a couple of years ago.
    // Duplicate the selection from the active document into a new document.
    // To invoke the JavaScript debugger, remove comment delimiters
    //$.level = 1; debugger;
    var newItem;
    var docSelected = app.activeDocument.selection;
    if ( docSelected.length > 0 ) {
    // Create a new document and move the selected items to it.
    var newDoc = app.documents.add();
    if ( docSelected.length > 0 ) {
    for ( i = 0; i < docSelected.length; i++ ) {
    docSelected[i].selected = false;
    newItem = docSelected[i].duplicate( newDoc,
    ElementPlacement.PLACEATEND );
    else {
    docSelected.selected = false;
    newItem = docSelected.parent.duplicate( newDoc,
    ElementPlacement.PLACEATEND );
    else {
    alert( "Please select one or more art objects" );
    It should give some ideas about how to proceed.

  • How to change the hardware address (MAC) of my printer to match my mac

    how to change the hardware address (MAC) of my printer to match my mac

    Hello @giomarcondes ,
    Welcome to the HP Support Forums!
    I understand that you wish to alter the MAC address on your HP Deskjet Ink Advantage 3525 e-All-in-One Printer to match the MAC address of your Mac OS X computer. Unfortunately, what you're requesting is not supported. Just to clarify, "a media access control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment". They are programmed into the device and are not designed to be changed. (Source: MAC address)
    Are you experiencing issues configuring your HP Deskjet on your wireless network to communicate with your Mac computer?
    If you do actually require support configuring the wifi connection on your printer I would be more than happy to assist you with this. I look forward to hearing from you!
    X-23
    I work on behalf of HP
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping!

  • How to change the manual condition type value in change sales order BAPI

    Hi All,
    My scenario here is, i want to either add/change the manual condition type value during change of SO.
    When i'm trying to pass the  order_conditions_in and  order_conditions_inx tables in  'BAPI_SALESORDER_CHANGE'.
    Condition type is coming at item level but the value is setting to zero. Pls. help if anyone has any idea how to handle this.

    Siva,
       I guess you posted in Wrong Thread. You need to post in WAS section.
       check for any BAPI's available in CRM.
    Nagesh Ganisetti.

  • How to change the flashvars's value automaticly

    <object width="600" height="409">
    <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param>
    <param name="flashvars" value="src=http%3A%2F%2Fosmf.org%2Fvideos%2Fcathy2.flv"></param>
    <param name="allowFullScreen" value="true"></param>
    <param name="allowscriptaccess" value="always"></param>
    <embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="409" flashvars="src=http%3A%2F%2Fosmf.org%2Fvideos%2Fcathy2.flv"></embed></object>
    Now the label  flashvars's value is fixed,I want to change the flashvars's value automaticly,Such as with javascript or jquery.
    Who can help me?Thanks so much!

    You can try passing the parameter in the HTML template file ... for example in the $ORACLE_HOME/forms/server/basejpi.htm
    i.e.
    <PARAM NAME="TYPE" VALUE="%jpi_mimetype%">
    <PARAM NAME="CODEBASE" VALUE="%codebase%">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE" VALUE="%archive%" >
    <PARAM name="codebase_lookup" value="false">
    I have never done it myself so I do not know if it would be recognized though.

  • How to change the merge condition in OWB generated code

    Hi,
    This is regarding the OWB generated code for cubes. We required to change the ON condition of MERGE statement. OWB merge the records on the basis of dimension keys only. Is there any ways to provide the customised merge condition or is it possible to add a measure of the cube to be used in ON condition of the merge?

    Hi,
    cant´t you customize the generated Code in the Database?
    I know that owb has the trait to do the following:
    If you create a Mapping, etc. the generated Code will be deployed as PL/SQL Package in the Database Schema.
    Now you can edit the Code as Schema User right in the Database.
    Don´t edit it in the Metadata, only in the Databse.
    If you run now any Process in OWB, he´ll execute your edited Code,
    ´cause he just takes whats still there. :-)
    It´s not realy clean, but in most Times that works.
    LoneWolf

  • How to Change the default Search value for Field Role?

    HI,
    I went through numerous threads on how to default the search value , but does not help for my issue. Hence im posting this new thread. Please provide your suggestions on how to achieve this.
    For the Ship-to party field (in item detail )  on webui when i do a F4 help i get the pop up with various search criteria and  for the field Role the default value is "Ship-to party".  which is visible. we need to change this default value to Prospect which is available in drop down.
    The attribute is STRUCT.ROLE  and view BP_HEAD_SEARCH/SearchHelp . The method GET_DQUERY_VALUEHELPS  from the context node class is called to fill the value help for this attribute, but i dont understand how the ship-to party is filled as default. There is no code in this method to default the value.
    The generic GET_V_S_STRUCT method also does not default the Ship-to party on this field.
    I want to understand how this Ship-to party is filled by default and how can i change this to prospect..
    Many Thanks,
    Shaik

    We had a same requirement of defaulting Sales org and division in search criteria for a specific value.
    this can be doen by redefining "DO_PREPARE_OUTPUT" method in IMPL class for the respective view.
    See the code:
    METHOD do_prepare_output.
    *CALL METHOD SUPER->DO_PREPARE_OUTPUT
    **  EXPORTING
    **    iv_first_time = ABAP_FALSE
      DATA:
        lr_qs TYPE REF TO cl_crm_bol_dquery_service.
    * Get current query object
      lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
      IF iv_first_time = abap_true.
        lr_qs->clear_selection_param_values( ).
        lr_qs->delete_empty_selection_params( ).
    *   if l_sales_orgs is initial.
        CALL METHOD lr_qs->insert_selection_param
          EXPORTING
            iv_index     = '1'
            iv_attr_name = 'SALES_ORG'
            iv_sign      = ' '
            iv_option    = 'EQ'
            iv_low       = 'O 50000514'.
    *   endif.
    *   if l_dist_chan is initial.
        CALL METHOD lr_qs->insert_selection_param
          EXPORTING
            iv_index     = '2'
            iv_attr_name = 'DISTR_CHAN'
            iv_sign      = ' '
            iv_option    = 'EQ'
            iv_low       = '01'.
    * endif.
    Hope this will help..
    THanks & Regards,
    Amit

  • How to change the document signer in EchoSign

    In this tutorial, learn how you can change or replace the document signer (perhaps the original signer is out of the office) for an eSignature document (sometimes called electronic signature) in Adobe EchoSign.

    In this tutorial, learn how you can change or replace the document signer (perhaps the original signer is out of the office) for an eSignature document (sometimes called electronic signature) in Adobe EchoSign.

  • How to change the Destination URI value of a item table at run time

    I'd like to change the Destination URI of item of a table region when a column X of my view is not NULL. Where should I set the new Destination URI value for the item table region for specific row? Is in the RowImpl for the view object or in the Controler of the page?
    I'd really appreciate any suggestion.
    Thanks in advance.

    Hi,
    Thanks for the help, but I still dont know where I should to use setAttributeValue(DESTINATION_ATTR,OADataBoundValueViewObject());
    All examples that I saw till now here, suggestes to change something in the page in Controller but based on something entered in the page. In my case is IN to OUT, I will render some item table with a specific value parameter based what is in the database. Being more specific, I have a html table and one column Col1 has a value and it will have a DESTINATION URL if another column Col2 is Null. I believe I would have to check somewhere if the Col2 is null or not and change the DESTINATION URL property.
    Thanks again..

  • How to change the document page size in a PDF?

    OK can't figure a way to do this and hoping it's still possible. On mac snow leopard, adobe X pro. Use to be able to resize the pages in a pdf by printing to the pdf distiller. As this is no longer possible how do I accomplish this? I often have document set pdf's that are  30" x 42" that I want to create a pdf on letter or tabloid size. I can print - so i'm not talking about that. I mean creating a new pdf where the new document size is letter or tabloid. There must be a way to have Adobe save out a new pdf with the pages scaled? HELP it's driving me crazy

    Oops, I misread your question, so I edited my response.

  • How to change the background of a JPanel when printing?

    I have a JPanel that has a background color of gray when displayed on the screen. I would like to change the background to white when printing but leave it gray on the screen. I am calling setBackground(), clearRect() and fillRect() but it still prints out with the gray background. Any thoughts on what method I could call to change this?
    public int print(Graphics g, PageFormat pf, int pageIndex) throws PrinterException {
    if (pageIndex >= 1) {
    return Printable.NO_SUCH_PAGE;
    double pageHeight = pf.getImageableHeight();
    double pageWidth = pf.getImageableWidth();          
    Graphics2D g2 = (Graphics2D) g;
    g2.setBackground(Color.white);
    g2.clearRect((int)pageWidth/2, (int)pageHeight/2, (int)pageWidth, (int)pageHeight);
    g2.fillRect((int)pageWidth/2, (int)pageHeight/2, (int)pageWidth, (int)pageHeight);
    paint(g2);

    From reading the doc, it appears that you have to change the background color of the Component:
    setBackground
    public abstract void setBackground(Color color)
    Sets the background color for the Graphics2D context. The background color is used for clearing a region. When a Graphics2D is constructed for a Component, the background color is inherited from the Component. Setting the background color in the Graphics2D context only affects the subsequent clearRect calls and not the background color of the Component. To change the background of the Component, use appropriate methods of the Component.
    Parameters:
    color - the background color that isused in subsequent calls to clearRect
    See Also:
    getBackground(), Graphics.clearRect(int, int, int, int)
    V.V.

  • How to change the parameter's value of Oracle Forms Applet?

    Hello,
    I'm working with Oracle Forms 10.1.2.3.0 and JRE 1.6.0_14, we got some performance issues and we think are related with Java, so we enabled Java trace and we realized that every time user moves the cursor from one item to another, the applet sends a request to the server. This is the request.
    network: Connecting http://server/forms/lservlet;jsessionid=e53bb50b2f95ecb357451bf21a291367cc1747d2d9956b3ba1c4a05916d87d34.e34LaheTahaLai0LaxyLbN4ObxqTe6fznA5Pp7ftolbGmkTy with proxy=DIRECT
    I want to disable these connections as Sun states that sometimes they are not needed (not sure if this is the case but we want to test it).
    I got a possible answer from a Sun forum, the possible fix is to set the following property to false:
    <APPLET ...>
    <PARAM name="codebase_lookup" value="false">
    </APPLET>
    But I don't know how to pass that parameter to Oracle Forms applet.
    Does anybody know?
    Thanks.

    You can try passing the parameter in the HTML template file ... for example in the $ORACLE_HOME/forms/server/basejpi.htm
    i.e.
    <PARAM NAME="TYPE" VALUE="%jpi_mimetype%">
    <PARAM NAME="CODEBASE" VALUE="%codebase%">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE" VALUE="%archive%" >
    <PARAM name="codebase_lookup" value="false">
    I have never done it myself so I do not know if it would be recognized though.

Maybe you are looking for

  • Error in Java code in XSL transformation

    Hi, I am getting below error while transforming XML ( in string) using XSL. XML-22047: (Error) Invalid instantiation of 'xsl:template' in 'Alarm' context. I am using following function : public String strConv(String message, String xslfile) throws Ex

  • Air play issues on Mountain Lion

    I have just updated my mid 2011 iMac and the airplay for movies is unusable. It jitters and skips on the TV while running fine on the mac. Will this be fixed on future updates? Its why I upgraded. Any ideas how to fix this?

  • Getting NullPointer Exception while using  setNamedWhereClauseParam()

    Hi, I am using VO to execute an advance search query, for this i am first formatting the where and then setting the bind variable values programmatically. ViewObjectImpl myVO = //some code to get VO instance. myVO.setWhereClauseParams(null); myVO.set

  • RFC Monitoring using CCMS

    Hi All, We need to configure RFC availablity Monitoring in CCMS of our Solman system for our PRD satellite system. In PRD, We have created data collection method Z_CCMS_RFCDest_Availability_Trex which is using SALK_RFCDEST_AVAILABILITY as function mo

  • Best way to add and remove JPanels?

    I have a question on the best practice in removing and then adding JPanels. I know a few ways about doing it but it never seems to work just how I want it to. Any help would be great. Also if anyone wants to give tips on better ways of writing this c