Help in writing logic to abaper for printing contact details from partnr fn

Hi friends,
I have to give the logic to the abaper to print the contact details of one partner which is manually entered in the quotation at header level.
i have a partner z1 with partner type PE which is manually entered in the partner fn field at the header level.  this z1 partner fn is an employee.  The name and contact details of this employee needs to be printed in the header of the output.
What is the logic i need to give to abaper for this.
Regards,
Anand

Hi Anand,
In case you do not find an ADRNR for the respective partner funtion in VBPA table, then, it means that the employee number derived from customer master is correct. Then, I think you can take KUNNR number for the employee partner function thro' VBPA and put the same in KNA1 table to get the right ADRNR. (As explained by me in the first post).
My question now is, are you maintaining the employee in XD01 (customer) or in VPE1 (Sales Rep)?
You can try with tables PA0002 Personal Data and PA0006 Addresses only if you maintain employees thro' VPE1 Tcode.  PA0006 has PERNR field. But, what you have to make sure is that the table is getting updated. Else, you may not find the data here as well.
Hope this helps...
Thanks
Mukund S

Similar Messages

  • Function Module Required for fetching contact details from BUT000

    Hi Everybody.
    I have created a contact using transaction BP.
    these details according to me will get saved in standard table BUT000.
    Now i need standard FM used for fetching all these Contact details.
    Help me i am new to CRM.

    Hi Amit,
    Please check the following:
    Data Retrieval Function Modules:
    Name                                                             Description
    BAPI_BUPA_ADDRESSES_GET              Determine All Addresses
    BAPI_BUPA_ADDRESS_GETDETAIL                Read Address
    BAPI_BUPA_ADDRESS_GET_NUMBERS          Read Address Numbers
    BAPI_BUPA_BANKDETAILS_GET                Determine All Bank Details
    BAPI_BUPA_BANKDETAIL_GETDETAIL            Read Bank Details
    BAPI_BUPA_BANKDETAIL_NUMBERS               Read Bank Details Numbers
    BAPI_BUPA_CENTRAL_GETDETAIL               Read Central Data
    BAPI_BUPA_EXISTENCE_CHECK              Check Existence of Business Partner
    BAPI_BUPA_GET_NUMBERS                               Read Business Partner Numbers
    BAPI_BUPA_RELATIONSHIPS_GET               Determine All BP Relationships
    BAPI_BUPA_ROLES_GET                               Determine All Roles
    BAPI_BUPA_ROLE_EXISTENCE_CHECK          Check Existence of Role
    BAPI_BUPA_SEARCH                              Search Business Partner for Telephone, E-Mail, Address
    BAPI_BUPA_STATUS_GETDETAIL             Business Partner: Read Status
    BAPI_BUPR_ACTIVITYP_EXISTCHECK              Check Existence of Contact Partner Relationship
    BAPI_BUPR_CONTP_ADDRESSES_GET          Read Contact Person Relationship Addresses
    BAPI_BUPR_CONTP_ADDR_GETDETAIL          Read Contact Person Relationship Addresses
    BAPI_BUPR_CONTP_GETDETAIL              Read Contact Person Relationship
    BAPI_BUPR_EMPLO_ADDRESSES_GET        Read Contact Person Relationship Addresses
    BAPI_BUPR_EMPLO_ADDR_GETDETAIL        Read Employee Relationship Address
    BAPI_BUPR_EMPLO_GETDETAIL             Read Employee Relationship
    BAPI_BUPR_RELATIONSHIP_GET              Read General Relationship
    BAPI_BUPR_RELSHIP_CHECKEXIST             Check Existence of General Relationship
    BAPI_BUPR_RELSHIP_GET_DETAIL             Read General Relationship
    BAPI_BUPR_RESP_EMPLO_CHEKEXIST        Read Relationship of Employee Responsible
    BUPA_PARTNER_CONTACT_SEARCH           Searches business partners for telephone, E-Mail, address
    CRM_ORDER_READ                     Get all the Service Contract details.
    Hope this helps!
    Regards,
    Saumya

  • How to remove good for enterprise contacts group from iphone

    Hello Everyone,
    Could you pls help me with the Good for enterprise app contacts issue. I'm struggling to remove the Good for enterprise contacts group from iphone contacts group.

    Contest the makers of the app for support.

  • Unable to print Contact Sheets from iPhoto

    Hi there,
    Since installing Lion 10.7.5 on my Mac Pro I no longer get the option to print Contact Sheets from iPhoto. I'm running quite an old version of it I think (Version 6.0.6), however this was no problem before the upgrade.
    Can anyone suggest a solution for this?
    Thanks in advance.

    I just fired up my iPhoto 6.0.6 under Mt. Lion and I have no contact option in that version either.  You'll have to upgrade to at least iPhoto 7 (08) in order to get contact sheets back.  So you might as well upgrade to the latest iPhoto from the App Store.
    If you also want the latest versions of iWeb and iDVD (which have been discontinued by Apple) you'll have to purchase a copy of the iLife 11 disc from a 3rd party retailer like Amazon.com: iLife 11.
    OT

  • Table For Planned Order Details From PP Module

    In our organisation we are taking Plan Vs Acheivement from Production. So, intialy we taken Plan details from "PLAF" Table and Acheivement details from "S225" Table. But After running MRP at month end. Previous month plan get deleted and new order create.
    how to get history data for Planned order.
    Please help us.
    Regards
    Naga

    I don't think that there is any history in regard to planned orders.  PLAF will get rebuilt according to your MRP parameters and I don't believe that the data is stored.
    Regards,
    Rich Heilman

  • Can I print contact sheets from Iphoto or aperture with file names?

    I can not figure out nor am I sure it can be done with these programs but if someone out there can tell me how I would be very happy. I have several jobs I need contacts on I have been printing contact sheets and then handwriting the file numbers. To old fashion for me. HELP

    1. In the browser pane in Aperture, select the images you need.
    2. File>Print...
    3. On the left-hand side of the print dialog, click on 'Sample Contact Sheet Preset'.
    4. In the layout options there is a drop-down menu for which metadata set you want to show below the images. You may get away with using 'Name Only' which gives you the current Version Name, otherwise you may have to make a new metadata set* containing just the filename.
    Ian
    * Making new metadata sets has been covered several times on the forum, the search function is your friend.
    P.S. Welcome to the forum!

  • Printing contact sheet from iPhoto

    How can I print a contact sheet from iPhoto that retains the order of photos in my album?
    I've placed the photos of which I want to make a contact sheet in their own album.  I've organized them according to how I'd like them to print.  However, when I go to print/contact sheet/custom to set the number of images per page and hit the print button, the photos are reorganized according the the main photo folder into which the images were originally imported - that is to say, by date order.

    My printer does support landscape and portrait printing. It is the latest version of iPhoto 9.5.3 that only offers a minimal choice of printer, paper size and paper type. There are no formatting options available other than "Fit, Fill, Custom, 20x25cm, 13x18cm, 10x15cm and contact sheet". Another example of Appple degrading software to make it iOS compatible!
    Perhaps Apple should be reading what their customers are complaining about and do something to restore the quality of their downgraded software.

  • Printing Contacts List from Backup Assistant Webpage.

    What is the trick to printing your contact list from the Backup Assistant webpage?
    I selected all contacts, then selected "Select All Contact" then clicked Go.
    I used no filters, and it shows I have selected all 156 contacts, but when I click on Go (to print), nothing happens. If I click Command P on my Mac, it just prints the 8 contacts on that page. There is no way to view all of my contacts at once, otherwise it would be easy to print them, but as it stands now, I would have to click on each Next Page to print them all, 8 contacts per page, meaning 19 pages...a colossal waste of paper.
    Anybody have an idea on this?

        drsdc
    I'm sorry to hear about the trouble you're having with printing your contacts! I definitely want to make sure you can get the details you need from your online contact info. Are you able to export the contacts instead? This may allow you to format them in a way you'd prefer to print them. http://vz.to/19joHKi
    RuthW_VZW
    Follow us on twitter @VZWSupport

  • Pls help me writing logic:iterate tag in jsp page

    Hey guys , I am struck in retriving string p1,p2,p3 in the jsp page
    Pls have a look ata the code
    In DAO class:-
    StdprdDAO.java
    Public arrayList getPFP()
    ArrayList a = new ArrayList();
    While(rs.next())
         columnsVO colVO = new columnsVO;
         colVO.setProduct(rset.getString(1));//will store in String colProduct
         colVO.setFamily(rset.getString(2));//will store in String colFamily
    colVO.setPrice(rset.getString(3));//will store in String colPrice
    a.add(colVO);
    return a;
    In Action Class:-
    ArrayList final = null;
    StdprdDAO DAO = new stdprdDAO();
    final = DAO.getPFP();
    For(int i = 0; final !=null && i<final.size() ; i++)
         columnsVO VO = null;
         VO = (columnsVO)final.get(i);
         String p1 = (String) VO.getProduct();
         String p2 = (String) VO.getFamily();
         String p3 = (String) VO.getPrice();
         Request.setAttribute(“p1”,p1);
         Request.setAttribute(“p2”,p2);
         Request.setAttribute(“p3”,p3);
    In JSP PAGE:-
    id = “columnsVO”>
    <bean:write name = “columnsVO” property=”final” id=”p1”>
    but still I am doubting my above sentences in jsp page ,so pls correct them if possible.
    Instead of l;ogic:iterate can I use directly getattribute(“p1”)? <logic:iterate
    Still I m doubting I can not utilize columnsVO file in logic:iterate, I can utilize only formbean file.
    So pls help me with this.

    May I ask why have you done it?
    If it is related to printing of the list then it is of no use.But it IS of use. The objects compEmployees is in scope.
    It has the list we want to print out.
    With logic:iterate:
    <table>
         <tr>
           <th>Number</th>
           <th>Employee</th>
         </tr>
         <logic:iterate name="compEmployees" property="totalEmps" id="emp">
              <tr>
                <td>
                  <bean:write name="emp" property="empNo"/>
                </td>
                <td>
                  <bean:write name="emp" property="empName"/>
                </td>
              </tr>
         </logic:iterate>
    </table>or alternatively with JSTL and c:forEach
    <table>
         <tr>
           <th>Number</th>
           <th>Employee</th>
         </tr>
         <c:forEach items="${compEmployees.totalEmps}" var="emp">
              <tr>
                <td>
                  <c:out value="${emp.empNo}"/>
                </td>
                <td>
                  <c:out value="${emp.empName}"/>
                </td>
              </tr>
         </c:forEach>
    </table>Cheers,
    evnafets

  • HELP! Convert JPG to CMYK for print on Epson Stylus Pro 4880 problems

    Hello all!
    I need to print a JPG file to an Epson Stylus Pro 4880 printer and keep the original colors. The JPG file is of a company logo containging text/graphic. I use CS5 to convert the file to CMYK and save it as an Adobe PDF. When I print it everything looks good but there is a reddish outline around everything. Anyone have an idea how I can get rid of the outline? I am using the US Coated (SWOP) v2 for the CMYK scheme.
    Help! I need to print out some logo tags for the customer.
    Thanks in advance, Your assistance will be greatly appreciated.

    wish I could help but I am Mac and Essentials is not in my work flow!

  • Need help in writing the control file for SQLLOADER

    Is it possible to error out the Sqlloader in case the data fields in the data file for a row are more than the fields stated in the control file?
    i.e. My data file is something like
    aaa,bbb,cc
    dd,eee
    And my ctl file has just 2 columns in it. Is it possible to write a control file which will cause the Sqlloader to error out?
    Thanks...

    Nisha,
    Again I posted test example in your other post but here is how can do that
    CREATE TABLE mytest111 (
       col1 NUMBER,
       col2 NUMBER,
       col3 NUMBER
    LOAD DATA
    TRUNCATE INTO TABLE MYTEST111
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    col1 integer external,
    col2 integer external
    #mytest.dat
    1,2,3
    1,2
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Apr 10 11:40:39 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Control File:   mytest.ctl
    Data File:      mytest.dat
      Bad File:     mytest.bad
      Discard File:  none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table USIUSER.MYTEST111, loaded from every logical record.
    Insert option in effect for this table: TRUNCATE
    TRAILING NULLCOLS option in effect
       Column Name                  Position   Len  Term Encl Datatype
    COL1                                FIRST     *   ,  O(") CHARACTER           
    COL2                                 NEXT     *   ,  O(") CHARACTER           
    Table MYTEST111:
      2 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    Space allocated for bind array:                  33024 bytes(64 rows)
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:             2
    Total logical records rejected:         0
    Total logical records discarded:        0
    Run began on Fri Apr 10 11:40:39 2009
    Run ended on Fri Apr 10 11:40:40 2009
    Elapsed time was:     00:00:00.99
    CPU time was:         00:00:00.06
    {code}
    Regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Help Setting up Mac Mini Server for Printer/File Sharing to Windows comp.

    Hi, so in our office, we decided only to switch half of the office to macs for budgetary reasons. We purchased the mac mini server to replace the 5,000 year old one and have also gotten to macbooks and a mac mini. My other two co-workers unfortunately still are using two windows vista machines. We have important documents on the server hard drive and they also need our OLD ACT! database to access from it and I have not been able to get them to access the hard drive. Can someone please walk me through these steps? Also, ideally we want to be able to access this servers hard drive when we are out of the office and edit word documents and such, but I also have not been able to do that or make that work. Any help in these areas would be greatly appreciated!

    If you use a different login name for the network account to your existing local account then the local account will not be affected. You might want to transfer the contents of your existing local account to the new network account. To do this you could try the following
    Create new network account
    Login using old local account
    Now while logged in using old local account - connect to the File Server
    Enter the new login details
    It should hopefully list the Share that stores your new network account, complete the connection
    You should now have the Share mounted, copy the contents of your local account to the corresponding location in your new network account
    Note: The Library folder in your home directory contains all your settings
    Once complete logout of the old local account
    Try logging in to the new account
    In terms of limitations, it is going to be slower than a local account because it has to go across the network, and some badly written applications may have some issues but most will be fine.
    At this stage your local account has not yet been deleted so if you have problems you can revert to it.

  • Help in script logic - problem in FOR loop

    Hi Experts,
    We are using BPC 7.5 SP08. I have written a FOR loop in script logic default.lgf which is as follows:
    *FOR %TIM_MEM%=%TIME_SET%
    *XDIM_MEMBERSET TIME =%TIM_MEM%
    *WHEN P_ACCT2
    *IS "OSDU"
    REC(EXPRESSION=[P_ACCT2].[ASSTCAINVURO][P_ACCT2].[COGSUPRVIPSA]/[P_ACCT2].[ASSTUPRVTAQTY],P_ACCT2="COGSUIPSAO")
    *ENDWHEN
    *COMMIT
    *NEXT
    As per my requirement, all this members: [ASSTCAINVURO], [COGSUPRVIPSA], [ASSTUPRVTAQTY] exists for months September to next year's August. But in my input schedule, the months are from August to next year's July(which is the company's fiscal year). Consequently the loop runs for month August to next year's July while I need to run the loop 1 month late(i.e. September to next year's August). This was achieved earlier by hard-coding the time members which we cannot afford as this requires to update these hard-coded member IDs every year.
    We have also tried using the "NEXT" property of TIME dimension as follows:
    *XDIM_MEMBERSET TIME =%TIM_MEM%.NEXT
    but %TIM_MEM%.NEXT doesn't get the month in 'NEXT'.
    Please suggest if there is any way out to solve this problem.
    Thanks in advance.

    Hi Appu,
    Even if you restrict the scope using the XDIM statement, your script will just run the number of times as per the for loop. Actually, in reality, the same calculation is happening again and again, in your code; since your calculation is not based on the time member.
    To use the for loop effectively, you need to incorporate the time member in your calculation.
    Please look at the below sample code:
    *XDIM_MEMBERSET TIME = %TIME_SET%
    *FOR %TIM_MEM%=%TIME_SET%
       *WHEN P_ACCT2
       *IS "OSDU"
          *REC(EXPRESSION=<CALCULATION>,P_ACCT2="COGSUIPSAO")
       *ENDWHEN
    *NEXT
    And in your calculation, you can use statements like
    ([P_ACCT2].[ASSTCAINVURO],TMVL(1, [TIME].[%TIM_MEM%]))
    This will ensure that everytime (as per the for loop), the calculation works on separate set of data.
    Hope you got the idea.

  • Need help in writing code Customer Exit for reporting Variable

    Hello Gurus,
           I have a requirement.When a authorized user logins to view the report, he should see only customers available in the value help screen.In the value help screen it is displaying all the customers, but data is displayed perfectly fine for the authorized sales rep. By default, Value help screen displaying all the customer numbers.
    How can I restrict in the value help screen?
    Any help appreciated with points.
    Regards,
    PNK

    Hello PNK,
    You can use a variable with Process type Authorization. This enables variables to be filled with values automatically from the user authorization.
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/44/599b3c494d8e15e10000000a114084/content.htm
    Thanks
    Chandran

  • How do we create a custom format for printed contact information?

    We are trying to create a custom family directory for genealogical purposes.  Family members are individually saved as Outlook 2010 contacts with a special number field that (when parsed) designates their generation, birth order,
    and relationship to parents.  The directory listing is by family and needs to indent names, addresses, emails, and other information by generation. In other words, children's names follow parent names and are indented.  Likewise, grandchildren are
    listed under their parents, but also indented from parents.
    Do we need to create a custom display form, some type of custom print template, or do we need to program a merge of some sort?  Any help would be appreciated.

    Hi,
    From the description, you want to print the contacts in Outlook using a custom display form, so that you can use it to create a custom family directory, correct?
    If this is the case, I'm afraid there is no direct way to print forms as they appear on the custom display form. Outlook can only print forms with the options that are available in the Print window. While you can customize the Print Style settings using
    the various options Outlook provides in its user interface, you cannot alter the basic way that Outlook prints by using custom Print Styles.
    To work around this limitation, you can either use another program to print Outlook information, or you can download a ActiveX control or Outlook extension to create a custom form printing solution.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • Mail adapter error: Unsupported protocol: linsmtp [null "null"]

    Hi, Idoc to Mail adapter. First time working with mail adapter. When I tried to send messages from transaction "SO00", i'm able to receive the mail which means the connection is fine from XI to mail server. But when I try to send the file using mail

  • How can I make new tabs open next to the current tab?

    New tabs are advertised in Firefox 5.0 as being set to open next the the current tab by default. Mine, however, do not do this. They open to the right of the last tab, necessitating a lot of tab-scrolling, and a minor waste of time. I have not instal

  • Adobe Premiere Pro CS3 3.2.0 update

    Thought I'd share a bit of information on the 3.2.0 update that will be coming out via AUM this morning. The update will come out first via AUM, then will be available on the updates page shortly after at http://www.adobe.com/downloads/updates/?ogn=E

  • How can I change the order of my sidebar in Lion?

    I prefer to have my devices at the top of my sidebar list in the Finder (as it was in Snow Leopard), rather than my Favorites (All My Files, Airdrop, etc). Is it possible to bring devices back to the top of the ordering system? Thanks!

  • How do you create a pdf catalog in bridge?

    How do you create a pdf catalog in bridge?