Logic for making ASN as an attachment to a email?

hi all,
can anyone help me trying to write a logic for making the Advanced Shipment Notification as an email attachment after having converted it into pdf format?
I need logic for:
1) Initially converting it into pdf
2) Making the pdf as an attachment and not as a general email content.
Thanks & Regard/Aryan

Dear Aryan,
This conversion to pdf can be done by using program RSTXPDFT4, and for the pdf to be sent as attachment you need to contact your technical team as they will write a script for that, scheduling of the same can also be done.
Reward Points if it helps,
Regards,
N

Similar Messages

  • Can FI-CAx be used for making outgoing payments to business partners

    Hi All,
    Can we use the installment plan in FI-CA for the outgoing payments to business partners. Our company has lot of lease contracts and these contracts have payments due to be paid on a monthly, quarterly, semi-annual, and annual basis. All these lease contracts are managed in SAP Real estate Flexible objects. We want to use FI-CAx for making payments to these contracts and hence we are looking for integration between FI-CA and RE-flexible objects.
    From what I heard FI-CA is a receivables module and is not best suited for payables, so please let me know if we can use the outgoing payment plan and installment plan in FI-CA for making payments to business partners.
    This is a bottleneck in our implementation. So please help me asap.
    Thanks in advance. Points will be awarded to all the useful solutions.
    Santosh

    Hi Santhosh,
    FYI my answers below
    Can we use the instalment plan in FI-CA for the outgoing payments to business partners.
    u2022I would say Yeah. ofcourse there is a way to do it provided you have created existing OI in Real estate in FI-CAX. This is because, weu2019d Refund money to the customer. In the same token I do not see any problem in paying monies to them!!!!
    u2022You need to create your RE-FX contracts unto FICA as Contract Accounts <1:1 ratio>.
    Our company has lot of lease contracts and these contracts have payments due to be paid on a monthly, quarterly, semi-annual, and annual basis. All these lease contracts are managed in SAP Real estate Flexible objects. We want to use FI-CAx for making payments to these contracts and hence we are looking for integration between FI-CA and RE-flexible objects.
    u2022Assuming that you have your RE-Fx data unto FICA, next step is to configure Instalment plans < monthly, quarterly, semi-annual, and annual >.
    u2022Next you create Instalment plans for the contract accounts <FICA> as required.
    u2022Now, if you want to pay the amount, you need to attach outgoing payment method in Contract Account, Configure your Payment program.
    u2022Now run your Payment Run <FPY1 =4.72; FPYS = ECC>.
    u2022All the OI would be cleared. If you want to send the file to the bank, you can do so or you can also issue cheques.
    From what I heard FI-CA is a receivables module and is not best suited for payables, so please let me know if we can use the outgoing payment plan and instalment plan in FI-CA for making payments to business partners.
    u2022Look above.
    OI = Open Item
    Other points you need to consider:
    1. Are the amounts in RE-FX consistent <equal through out the installment plans>?
    2. Do you want to create separate Installment plans in FICA?
    3. If yes, above should be helpful.
    4. If not, identify an Interface between RE-FX and FICA.
    5. What are your plans to close the Contracts in RE-FX once all the Installment plans are being paid in FICA?
    6. Do you want to establish an Interface between RE-FX and FICA so that data would be transferred bt them automatically?
    7.Is point no 6 one way or 2 ways <i.e RE-FX to FICA and vice versa>
    8. What is the volume and frequency?
    9.Other points if any
    Does this helps?
    Rgds
    Rajendra

  • Implementing Custom Validation Logic for Payment Disbursements

    Hi All,
    Is there anyone here, who has implemented Custom Validation Logic for disbursements in Oracle payments.
    Theory: Under Payments Setup Administrator -> Formats -> Formats, we can setup a payment format and even attach a XML template. Apart from this we can setup Pre-defined validations or user Defined validations.
    For Pre-defined validations / seeded validations, Oracle has provided an API
    IBY_VALIDATIONSETS_PUB.evaluateCondition. We can use this API, and call a custom package by using the keyword 'CUSTOM' in the call.
    Has anyone played around with this package and successfully implemented custom validations. Does anyone have a sample code on how to implement this. The Payment Manager Implementation guide is of little help.
    Thanks

    This document was very helpful to me in creating a custom validation.
    http://docs.oracle.com/cd/E18727_01/doc.121/e13416/T387353T419293.htm

  • Search Help - logic for getting output.

    Hi,
    I am trying to create search help for Vendor number field. And input selection has a fields from various Vendor related tables ( LFA1,ADRC,LFB1,LFBK,LFBW,LFM1,LFZA).
    If user enters any of the input field values (from the above table selected fields)then need to get corresponding vendor number details  from all of the above tables(selected fields from the above tables).
    can any one let me know  how to compose the logic for this?
    1. I created search help and trying to put the logic in EXIT for the search help to get the values.
    Thanks in advance.
    Rajesh.

    rajesh,
    check tis out,
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm
    http://fuller.mit.edu/tech/search_helps.ppt#260,5,Simple
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee2b446011d189700000e8322d00/content.htm
    http://www.sap-img.com/abap/attach-a-search-help-to-the-screen-field.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm

  • Require Logic for the Program

    I have a requirement  in which I need to write a program. I need to fetch the payer data which is having KNA1-ZZDTCESS value populated(Payer which are having this field value blank no need to fetch those payer).ZZDTCESS is the cession date and this is a custom field in KNA1.Its date element is DATUM.
    Now after fetching this KNA1-ZZDTCESS value of the payer this needs to be updated to the all the sold-to-party which are attached to this payer.Sold-to-party also having this custom field.
    Finally we need to develop a batch job which will run this program to udpate the ZZDTCESS value in the Sold-to-Party.
    Can you please let anyone know how to write the logic for this program?

    Hi ,
    Thanx for the answer but the requirement is there Sold to Party customer which is having different payer.For example see below.
    SP 1000
    SH 1000
    PY 2000
    BP 1000
    Now from the PY 2000 KNA1-ZZDTCESS value nees to be updated to the sold to party 1000 KNA1-ZZDTCESS  field.Please let me know how to write the logic for that.

  • Select - next  logic for copy data

    Hi,
    I have 3 main values from an excel template: a specific data value (i.e. 35), in that same template one is TIME  and the other one is  $$$.
    What I have to do is copy  the $$$ amount starting from the date set in the template (TIME) through X number of months (i.e.35).
    All this is going to be obtained from a template, I cant use prompt.
    Lets say:
    X: 35
    $$. 100
    TIME: 2011.July
    To do:
    Repeat 35 times the amount 100, starting from 2011.July to the next months.
    Therefore, 2011.August, 2011.September,etc,etc---> 2012.Jan....2013-Jan  and so on until the 35 months are reached.
    I am trying to make some logic using the Select command, however I dont quite understand how to perform this. Equally using the logic NEXT i think it will be helpful.
    Any suggestions...? I cant share my logic because im still trying and mine does not work.
    Thanx in advance.
    Velázquez

    Hi Madis,
    Thanx for the response, i reaally appreciate it.
    I created the dim DURACION as user defined. Included for the moment 25 members (numbers) and it wasnt matched to any application.
    Now, the script where i am working is called Test.
    1. I typed in my script the following:
    **SELECT (%MYSET%,ID,Duracion,"[ID]<=MYDURACION")
    2.Entered to BPC Excel - eData - organize package list - select script Test  and added the following:
    'DEBUG(ON)
    PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when running logic.",1,{"Yes, check for work status settings before running logic","No, do not check work status settings"},{"1","0"})
    PROMPT(SELECTINPUT,,,"Please select category, entity and time for restatement",%TIME_DIM%)
    PROMPT(Text,%INPUTDURACION%,"Enter No of duracion",,"")
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
    TASK(Execute formulas,FORMULASCRIPT,"FUNCTION MYDURACION=H%INPUTDURACION%")*
    TASK(Execute formulas,LOGICFILE,%APPPATH%..AdminApp%APP%TestAlldoraVentas2.lgx)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    TASK(Execute formulas,CHECKLCK,%CHECKLCK%)
    Now... im having trouble because after validating & saving, it shows the error:
    - Invalid column name 'MYDURACION' in:select ID from mbrDURACION where <=MYDURACION
    Can you please help me...
    So far, I have the following logic for performing a "calc each period"  once  YEAR.MONTH  is introduced by a prompt.
    The xdim members are making reference to a particular situation, the important stuff here is that if I pass a hardcored # of periods to the XDIM - next logic it works, and im trying to apply your suggestion...
    *CALC_EACH_PERIOD
    *XDIM_MEMBERSET lob=servicios_out
    *XDIM_MEMBERSET consumibles=consumibles_dummy
    *XDIM_MEMBERSET vendedor=04
    *XDIM_MEMBERSET cliente=5
    *XDIM_MEMBERSET oi=400000
    *XDIM_MEMBERSET TIEMPO=%tiempo_set%,next
    *WHEN METRICA
    *IS importe
    *REC(metrica="importe",tiempo=next(1))
    *ENDWHEN
    **SELECT (%MYSET%,ID,Duracion,"[ID]<=MYDURACION")
    However, is there still a way to pass a # of periods by excel?... this is, not using a prompt but by reading the number form a specific CV ?
    Thanx again
    Velázquez

  • How to Change Outlook Default Folder for Insert-Attachment and Save Email/Attachemnt while Outlook is open (VBA)

    Hello,
    Office 2010 32bit, VBA
    Is it possible to programmatically do the above while Outlook is running?  If so, I'm hoping to make that change from a Word macro.
    I tried tinkering with the reg key and that doesn't work because it appears Outlook only respects it at startup time. Similary changing Word File-options-location of documents is respected only when Outlook starts.
    I'm looking to seamlessly keep Outlook's default folder in sync with Word's default folder as the users change working folders in Word, which they do many times per day (and they chose the folder among a couple of thousand possibilities).
    I'm hoping there is a difficult-to-find Outlook object I can manipuate to get to the end result.  IF there is such an Object I have been unable to find it.
    Many thanks!
    Julie

    Hi Julie,
    Based on my research, I think outlook object model doesn’t provide the way to change the default folder for insert attachment and save email/attachment.
    The way to change it is that we need to modify the registry setting and the outlook app should be restart.
    # How to set the default attachment folder in Outlook
    https://support.microsoft.com/kb/252732?wa=wsignin1.0
    You may create the add-in to custom these actions (e.g. attach attachment, save email)
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Logic for carry forward of previous stock to current period stock.

    Hi Experts,
    Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing  difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
    Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing  stock to current period stock quantity in report.
    As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
    have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
    Header 1
    Header 2
    Header 3
    Header 4
    LFGJA/LFMON
    ROH (MT)
    HALB (MT)
    FERT (MT)
    11.2013
    100.000
    121.000
    121.00
    12.2013
    50.000
    12.000
    123.00
    01.2014
    23.231
    .23.234
    45.342
    02.2014
    23.231
    34.094
    45.098
    03.2014
    34.098
    98.983
    00.000
    04.2014
    00.000
    69.093
    98.098
    05.2014
    00.000
    89.098
    00.000
    For Example Break up of ROH material plant wise in below mention format.
    LFGJA/LFMON
    WERKS
    MENGE (MT)
    11.2013
    P001
    30.000
    11.2013
    P002
    50.000
    11.2013
    P003
    20.00
    Thanks in advance,
    SKN

    Hi,
       The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
    Regards,
    AKPT

  • Best practice for making a report of 10,000 to 20,000 rows(OBIEE 10.3.4.1)

    My Scenario is like this:*
    Hi i have 2 fact tables fact1 and fact 2 and four dimension tables D1,D2,D3 ,D4 & D1.1 ,D1.2 the relations in the data model is like this :
    NOTE: D1.1 and D1.2 are derived from D1 So D1 might be snow Flake.
    [( D1.. 1:M..> Fact 1 , D1.. 1:M..> Fact 2 ), (D2.. 1:M..> Fact 1 , D2.. 1:M..> Fact 2 ), ( D3.. 1: M.> Fact 1 , D3.. 1:M..> Fact 2 ),( D4.. 1:M..> Fact 1 , D4 ... 1:M..> Fact 2 )]
    Now from D1 there is a child level like this: [D1 --(1:M)..> D1.1 and from D1.1.. 1:M..> D1.2.. 1:M..> D4]
    Please help me in modeling these for making a report of 10,000 rows and also let me know for which tables do i need to enable cache?
    PS: There shouldn't be performance issue so please help me in modeling this.
    Thanks in Advance for the Experts who are helping me for a while.

    Shudn't be much problem with just these many rows...
    Model something like this only Re: URGENT MODELING SNOW FLAKE SCHEMA
    There are various ways of handling performance issues if any in OBIEE.
    Go for caching strategy for complete warehouse. Make sure to purge it after every data load..If you have aggr calculations at higher level then you can also go for aggregated tables in OBIEE for better performance.
    http://www.rittmanmead.com/2007/10/using-the-obiee-aggregate-persistence-wizard/
    Hope this is clear...Go ahead with actual implementation and lets us know incase you encounter any major issues.
    Cheers

  • In MVC, do i need a View or Page with flow logic for POPUP window

    Hi All,
    I have the below scenario using the MVC pattern.
    I have a main view with 3 trays, each tray has two buttons, for example first tray has Create Order button. When I click on this button, I need a popup window to come with a tableview and a button(Create), where I select some rows and click on the button Create  to create order.
    But as per the MVC pattern I canu2019t call the view (popup) from another view(main view).  So should I create a VIEW or PAGE WITH FLOW LOGIC for the popup? .
    I need 6 popup to be called from the main view and once the function is done close the popup.
    Please suggest me the flow for this scenario.
    Cheers,
    Srini.

    Srini,
    1. You can call the view in pop-up because you will be calling the controller using open.window.
    Here is the sample code:
    method DO_REQUEST .
      data:
            li_vw           type ref to   if_bsp_page,
            lv_form_field   type          string,
            li_md           type ref to   zcl_model01.
      dispatch_input( ).
      li_md ?= get_model( 'm01' ).
      lv_form_field = request->get_form_field( 'invoice_create' ).
      if lv_form_field is initial.
    *------ Request to display main page
        li_vw = create_view( view_name = 'main.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      elseif lv_form_field eq 'true'.
    *------ Request to display Invoice page in pop-up
        li_vw = create_view( view_name = 'invoice.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      endif.
    endmethod.
    Layout:
          function do_Invoice()
          { var s=0; r=1; w=300; h=300; x=screen.width/2;
            x=x-w/2;
            var y=screen.height/4;
            y=y-h/2;
            popUp=window.open('main.do?invoice_create=true','win','width='+ w
            +',height='+ h +', left=' + x +',top='+ y +');
    Option2:
    Ofcourse you can't bind the model in page becos those are 2 different things. But all you need to do is access the model to get some value. To know how to access the model from Page w/flow logic look at [this link|Passing model reference to a page in a Popup].
    Raja
    Edited by: Raja Thangamani on Apr 14, 2009 11:22 AM

  • PDF Form javascript for making readonly field by using button

    Please let me know the PDF Form JavaScript for making selected fields(Text field,Drop down list,..) as read-only by using Button.

    Do you want your button to be made read only?
    One starts with Acrobat JS Reference.
    // make all fields in a form read only;
    var oField; // variable for field being processed;
    // loop through the form fields;
    for (var i = 0; i < this.numFields; i++) {
    // process each field name;
    oField = this.getField(this.getNthFieldName(i)).readonly = true;

  • !!!How to restrict user for making  changes in Sales order , partner level

    Hi all,
    Can anybody tell me how to restrict user for making  changes in Sales order  at partner level, is it through user exit?

    Hi Ruchi
    I hope u had gone to the screen fields which u want them not to be editable. So there u select all the fields contents which u do not want to to be changed and check the boxes with W.content and Display and save it. Once evrything is done u have to activate the particular transcation going in to the standard variants and put the name and click the activate button.
    Hope its clear
    Reward if help ful
    Sri

  • Any recommendations on external hard drive for making bootable backup?

    Hello,
    I wish to make a bootable backup of my MBP before upgrading to Mavericks.
    Are there any external hard drives that are better suited for making bootable backups? I use a WD for making Time Machine backups but I have read that WD is not ideal for making a bootable back up - is this correct...?
    Thanks,
    pinkguava

    your WD will of course,..work fine as a boot clone
    Quality 1TB drives are $50 per TB on 3.5" or  $65 per TB on 2.5"
    1TB for $68
    http://www.amazon.com/Toshiba-Canvio-Portable-Hard-Drive/dp/B005J7YA3W/ref=sr_1_ 1?ie=UTF8&qid=1379452568&sr=8-1&keywords=1tb+toshiba
    best for cost:
    2.5" USB portable High quality BEST FOR THE COST, Toshiba "tiny giant" 2TB drive (have several of them, LOT of storage in a SMALL package) $100
    http://www.amazon.com/Toshiba-Canvio-Connect-Portable-HDTC720XK3C1/dp/B00CGUMS48 /ref=sr_1_4?s=electronics&ie=UTF8&qid=1379182740&sr=1-4&keywords=2tb+toshiba
    *This one is the BEST portable external HD available that money can buy:
    HGST Touro Mobile 1TB USB 3.0 External Hard Drive
    http://www.amazon.com/HGST-Mobile-Portable-External-0S03559/dp/B009GE6JI8/ref=sr _1_1?ie=UTF8&qid=1383238934&sr=8-1&keywords=HGST+Touro+Mobile+Pro+1TB+USB+3.0+7 2 00+RPM

  • What is the logic for 2LIS_17_I3HDR to pick a order as completed on time?

    Hi, Experts:
    I am working on PM using 2LIS_17_I3HDR to load data. In 2LIS_17_I3HDR, there is a field called "orders completed on-time". I am wondering what is the logic for 2LIS_17_I3HDR to identify if an order was completed on time. I would assume it compares some kind of completion/finish date with a planed/schduled comletion/finish date. Would someone please tell me what fields in what table or in transaction IW39 DOES does 2LIS_17_I3HDR  use for this?
    Many thanks!
    Jenny

    Hi, Ram:
    Thank you for the reply!
    The key figure is ZHLAFIH_TGERL (Number of On-time Closed Orders). I saw some SAP programs refering to its component type "DZHLAFIH_TE" too.
    Thanks,
    Jenny
    Edited by: Jenny Chen on Dec 2, 2009 7:53 PM
    Edited by: Jenny Chen on Dec 2, 2009 7:55 PM

  • Submit by Email with CC for a pdf as an attachment

    Hello,
    I am using the codes below for a regular submit button to submit by email and having a problem of CC address. I hard-coded the CC address but it does not seem to recognize it, it keep taking the address in the "To" to put on the CC address. Can any one please check for me if there is any wrong with the codes below on the mouse up event:
    var cToAddr = "[email protected]";
    var cCCAddr = "[email protected]";
    //Set the subject and body text for the e-mail message
    var cSubLine = "Craft Issue Tracking Form";
    var cBody = "Please see the attached form.";
    // Send the form data as an FDF attachment on an e-mail
    event.target.mailDoc({bUI: true, cTo: cToAddr, cCc: cCCAddr, cSubject: cSubLine, cMsg: cBody});
    Thanks in advance,
    Han Dao

    Try this..
    If you are using a regular Button then place the below code in the click event of the button.
    event.target.submitForm({cURL:"mailto:"+ cToAddr + "?cc=" + cCCAddr + "&subject=" + cSubLine + "&body=" + cBody,cSubmitAs:"PDF"});
    Thanks
    Srini
    var cToAddr = "[email protected]";
    var cCCAddr = "[email protected]";
    //Set the subject and body text for the e-mail message
    var cSubLine = "Craft Issue Tracking Form";
    var cBody = "Please see the attached form.";
    // Send the form data as an FDF attachment on an e-mail

Maybe you are looking for