How to get the Customer detials in Purchase order Ship To Address

Hi Friends,
While doing the back-to-back order, when raising the PO, I want populate the Customer Name, Contatct Person and Address in Ship To address box. Can anyone please suggest a good query which can do that. I looking to create a formatted search based pon that.
Regards
Shiva

Shiva,
You can start with this:
SELECT T0.CardName, T1.Name, T0.Address2
FROM ORDR T0 INNER JOIN OCPR T1 ON T0.CntctCode = T1.CntctCode
WHERE T0.DocEntry = $[POR1.BaseEntry] AND T0.ObjType = $[POR1.BaseType]
Please bear in mind, it is a FS based on the rows so will run only on row level.
Regards,
Nat

Similar Messages

  • How to see the ouput of a purchase order on screen??

    Hi all , how to see the output of a purchase order (ME23) on screen?
    Points will be awarded!!!!
    Thanks & Regards
    John

    Hi,
    If any output tye is associated to PO and it is been triggered then User ME9F tocde to view the output.
    To check thise first Use: ME23 and click on Messages, if any outputs are triggered and they are in Yellow status then Use ME9f. Once you execute you will get Outputs in the screen, then choose the output and click on Display Message button. Your output will be displayed on the screen.
    Regards,
    Ashok

  • How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0

    How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?

    Hi,
    First go thourh the FM import export parameters list.
    Try to create an internal table of type INRI-NRRANGENR for number ranges.
    We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
    Try to create the ncessary ones using this FM.
    In the Exit, EXIT_SAPMM06E_001,
    the Export parameters are-
    EKKO-EBELN- the PO ios created with in that specified range
    Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
    Try to code this in the Include provded and keep Breakpint and check the PO number generated.
    Reply if u need more help on this.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • How to get the customized value of a Report portlet in a page

    Hi ,
    I have a report portlet and it has a bind variable which users can customize when added to a page. There is a link to a Form page in the report , to which I need to pass the value of bind variable customized by the user. I used :
    portal30.wwv_name_value.get_string( l_arg_names, l_arg_values, '<bind variable>');
    function, it works ok when we run the report alone .But when we add the report as a portlet in page , it does not return any value. How do I get the customized field value in a page.
    null

    SAN.
    I haven't tested but u can try with the below code...
    OATableBean tableBean = ...;
    OATableFooterBean tableFooterBean = tableBean.getFooter();
    if (tableFooterBean != null)
      OATotalRowBean totalRowBean = tableFooterBean.getTotal();
      totalRowBean.getValue("Re-Total");
    }Regards,
    Gyan

  • How to get the custom integrator in Manage Document Links

    Hi All,
    My requirement is "Creating Word Documents Using Web ADI", I am following the document
    Oracle® Human Resources Management Systems
    Configuring, Reporting, and System Administration Guide
    Release 12.1
    Part No. E13509-02
    From page no. 194.In that section, No.8. Use the Manage Layout Document Links page to create a link between the
    integrator and layout and the Word template.
    See: Creating Links between Template Letters and Layouts, page 2-33
    2-33>>
    Select Manage Document Links from the Web ADI menu.
    But when I click on the "Manage Document Links", I couldn't see my custom integrator to associate my word document with my integrator.
    I could see only the standard integrators.
    How to get my custom integrator in "Manage Document Links". I could see my custom integrator in define layout but not in this page.
    Thanks.
    With Regards,
    Kali.

    Hussein,
    Thanks for your reply.
    I followed the
    Note 360105.1 -Understanding and Using Web ADI in Oracle HRMS, and the section "Letters",
    I could follow all the steps, except the following,
    The reason is, when I click on Manage Documents Links, I am not getting my newly created integrator.
    If I link a standard integrator "HR People Details" to my document, that is opening properly.
    But I am not able to link my document with my integrator(which is based on my view).
    c.  Now link the template letter to the Letter Integrator and Layout.
    If not already done so, Add the function WebADI Manage Document Links to your Web ADI menu, and give it a prompt of Link Document.
    Select Link Document option , and Web ADI Mail Merge page displays. Choose your Letter Integrator. Link it to the Layout, and a list of template documents uploaded to the database is displayed. Select the template letter to be linked with the layout.
    Thanks.
    With Regards,
    Kali.

  • How to get the customized page's xml version ?

    Hi All,
    I have created some fields (of style 'MessageChoice', 'MessageLovInput') through personalization in a page and after that i navigated to the middle-tier where our MDS repository holding all the page's source file (in form of XXXXPG.xml) to get the updated version of the same page in xml version.
    But i couldn't get the latest version of page's XML file instead i found the old standard file only.
    Please help me in getting the file and guide me the path if it got stored somewhere in the architecture.
    Thank You,
    Thiyagarajan

    Dear Anoop,
    Thanks for your immediate response.
    Could you please pour your ideas how to store the custom personalizations in Unix box through Functional Administrator responsibility ?
    And one more question is as you said it will be stored in the form of xml but i have searched the page in the middle tier where it(standard one) got stored, but unable to find any one. How to find the xml file after doing the personalizations and in which path ?
    Waiting for your reply.
    Thank You,
    Thiyagarajan

  • How to get Tax condition's of Purchase Order

    Dear Gurus
    How to get all the condition types  for purchase order listed in the screen where we navigate from
    Purchase Order->purchase order item->invoice->Taxes Push button
    And I' am not saying about header conditions which we get from KONP.
    I' am saying about tax conditions which will get only by entering taxcode in item Invoice tab of Purchase order item.
    Regards,
    Rajeswar

    Hi,
    Tax condtions shd be given by functional consultants.ABAPers cant decide the tax condtions.
    you can have these condtions in KONV table.
    In item level vbrp-posnr = konv-kposn.
                      ekpo-ebelp = konv-kposn
    at header level as said in the below thread
    Just see this and get back if any concerns
    Regards
    Edited by: Rasheed salman on Dec 2, 2008 6:20 AM
    Edited by: Rasheed salman on Dec 2, 2008 6:22 AM

  • How to get the custom program generated in Background

    Dear Freinds,
    I have written a below code in my submit program ( zreport) .
    REPORT  ZHRRPCPRRU0_SUBMIT  NO STANDARD PAGE HEADING MESSAGE-ID zhr_msg.
    SUBMIT RPTQTA00 VIA SELECTION-SCREEN
    WITH pnpbegda = sy-datum
    WITH pnpendda = lv_date
    with pnppernr = '99007057'.
    As per your logic i have used the submit program and i am able to default the dates  in the Standard program RPTQTA00 , that is perfectly correct . Now if run the standard report it is giivng me the ouput ..so the foreground concept is working correctly.
    Now if iam scheduling the Z report of the custom report (z program) where iam calling the submit program
    it is just scheduling and further when i look at the sm37 i can see the  job getting finished . However , i dont  find any spool because the standard report has not been executed , with my custom report (using the logic with submit program above in zprogram ) i am calling the standard program (RPTQTA00).
    so could you please let me know how the standard program will execute and get the spool genereated? in the case of background
    because when  i have executed only the standard report in background i can see that it is being exceuted spool as well, however when iam calling from custom program no spool is created because my custom program only submiting the standard report and it is not executing the standard report in the case of backround ...because when iam running the custom program in the Foreground it is calling the standard program and getting the values defaulted based on the parameters which i passed , so it gets defaulted later iam running the standard program manually .
    So please could you let me know how will the standard program also gets genereated in the backgroung along with my custom report.
    Thanks in advance
    regards
    madhuri,

    Hi Can you try the following?
    Hope this helps... (Taken from help)
    Example
    Scheduling a submitable program as a background task with the number number in a background request name. After scheduling, the background task is completed by function module JOB_CLOSE and released immediately.
    DATA: number TYPE tbtcjob-jobcount,
          name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.

  • How to get the customer fields view in CRM 2007?

    HI Experts,
    There is a tab in CRM 4.0 for customer fields(Generated using EEWB).
    My question is how can we get these fields into WEB UI?
    I didn't find the Component BTCUSTOMER_H in CRM 2007.
    What might be the reason behind it?
    Please share your views.
    Thanks,
    Adi.

    Adi,
    You actually got pointed to the wrong blog that I wrote.  However if you read the following blog, it will show you how to do what you want to do:
    /people/stephen.johannes/blog/2008/01/25/crm-40-to-52-customerh-fields
    If you want to cheat, then apply latest support stack for CRM 2007 and the fields will be there.  The section 1.13.5 in the SP02 release notes explains that the nodes are now available in CRM 2007 SP02.
    Look at this thread on how to view the release notes:
    SAP CRM 2007 SP02: DOCUMENTATION RELEASED
    If you have any further questiosn let me know.
    Take care,
    Stephen

  • How to get the segment  detials of IDoc message type.

    Dear Friends,
    I  want to write function module , which takes the IDOC  message type  as an input and returns all the segment fields in response.
    Basically I want to get the XML schema of a IDOC message type and need to expose these details toa 3rd party application to use.
    Dear experts ,Please do give me some ideas how to achieve this .
    like tables from where i can get these details or u feel any other goos way of doing the same.
    thx,
    jeevan

    Hello experts,
    Please participate .........
    To redefine my objective I will say:--
    I am trying to do some thing very similar that is there in XI .
    You might have seen the way IDOCs are shown while mapping an idoc structure.
    Its like you select a message type and u get all the list of  Idoc Structure shown .
    I am really relying on you people.
    thx ,
    jeevan

  • How to transfer Supplier custom field into Purchase order

    Hi ,
    We had a custom field called Project code in Supplier data (vendor master) at SRM. As per flow purchase order gets created as a follow-on document. Now the requirement -Project code which was there in supplier data this should be transfered to PO
    In my knowledge this can be done through BADI , Could you please explain me steps required to do this?
    Thanks in advance.
    Harish

    Try BBP_DOC_CHANGE_BADI or BBP_ITEM_CHANGE_BADI.

  • How to get the KEY VALUE of sales order

    Hello friends,
                          iam adding a sales order through DI-SERVER to the SAP db.after adding iam getting a key value (i,e Doc no)..i want it to display it in my frontend....can u please tell me how to display the return key value of my sales order
    regards,
    shangai.

    Dear Shangai,
    To retrieve the last Doc/Object added through DI API (DI Server is based on DI API) there is a method called "GetNewObjectCode" which can be used to retrieve the last DocCode which was added into the B1.
    Please try the function for more help please look at the help files RefDI.chm which is installed with the SDK installation for B1.
    Regards
    Arshdeep

  • How to activate the Check box in Purchase Order after Goods Receipt

    Hi All,
    How to activate the check box after Goods receipt of Purchase order in Item view (Goods Receipt is completed).
    Where t make the settings in SPRO.
    Regards,
    Shailendra Hadkar

    Hi
    SPRO - SAP IMG- Material management - Inventory management and physical inventory - Goods receipt - create purchase order automatically - activate auto Po creation for movement type.
    Then activate the auto PO creation in Vendor master - Purchasing view
    Check it out.
    Regards,
    raman

  • How to get the finished date of production order

    hi guys
    now i want to get the finished date of production date.  when i search in the table afko , i found the field GLTRI is '0000.00.00'.
    BUT IN the production order display view , the confirm date is '2007.1.1'. so how can i get the confirm date with the production order number? thanks.

    For costing report, you have to read the following tables: based on material Qty/value/ Machine rate and machine posting date , machine rate ( T-code kp26)  and also types of material Raw, finished and semi finished ..
    AFRU ,AFPO,AFKO,AFVV,AFVC,CAUFV FOR PRODUCTION ORDER.
    For material calculation MARA, MSEG and MKPF as well as MAKT...
    Hope this’ll help you .
    Thanks

  • How to get the cost center of production order

    hi guys
    please tell me how i can get the cost center of the production order. 
    thanks.

    You need AUFK-KOSTL ?
    Pole

Maybe you are looking for

  • PR not adopted in Scheduling Agreement

    I have created a Scheduling Agreement but when i add the Item from Create with Ref. to Purchase Requisition of that Material its not picking up the PR. actually that PR no. is made in PR type ZIMP (our customized PR type) but when I made the PR in PR

  • Reconcilation after global consolidation

    hi there, I just did a consolidation,posted the data in new set of books and tried to reconcile the data between the 2 set of books. But i found the data is not reconciling, can anyone help me out on this. Any suggestions are welcome. Regards

  • Hyperion Performance Scorecard

    I am new to Hyperion .. Could someone help me to get learning material of Hyperion Performance card.. Your help will be appreciated... Thank you

  • PI is Trap receiver

    Hi NMS community I just installed PI 1.2  in the Lab. PI is of course also a trap receiver which get in traps with a community, Where can i configure the trap community for Prime ( not the one for the network elements ) ? Thanks Karl

  • Hp pavilion g7- 1338dx notebook pc after recovery bootmgr is missing when i started it

    i have a refurbished hp pavilion g7-1338dx notebook pc with #a6z27uar#aba with windows7 home premium 64 bit. i did a factory recovery from a disc that i bought on hp because i  whenever i rcover it from my harddrive i got error thats why i bought a r