Sample values needed for Customer Number And Sales Organisation in BAPI

Hi Experts,
    I want to execute the Bapi BAPI_SALESORDER_GETLIST with mandatory parameters such as Customer Number & Sales Organisation .
    How would I come to know what values to enter for Customer Number & Sales Organisation inorder to get some Output in the form of table SALES_ORDER.
    Can you ll help me with some sample values which I can enter to get some useful output.
    And what is the logical way to go inorder to test such BAPIs in future.
Thanks in Advance,
Pavanmeet Singh

Hi,
CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
EXPORTING
customer_number = cust
sales_organization = sorg
MATERIAL =
DOCUMENT_DATE =
DOCUMENT_DATE_TO =
PURCHASE_ORDER =
TRANSACTION_GROUP = 0
PURCHASE_ORDER_NUMBER =
IMPORTING
return = it_return
TABLES
sales_orders = salesorder_itab.
Regards
Sudheer

Similar Messages

  • Account Creation - Badi for Default values for BP Role and Sales Area

    Hi all,
    my requirement regards the possibility to create a new prospect (a link should be available in the navigation bar or create section).
    Logically, a bp role as "Prospect" and particoular sales area should be created automatically.
    I created an implementation for the BADI definition "BADI_CRM_BP_UIU_DEFAULTS". But don't know how to create the default values for BP role and Sales area:
    In my code
    assign cr_me->('VIEW') to <lv_view_name>.
      if sy-subrc ne 0.
        exit.
      endif.
      lv_viewname = <lv_view_name>.
      case lv_viewname.
        when 'AccountDetails.htm'.
    I obtain the viewname "AccountDetails" , the related context "Header". After I don't know how to proceed to obtain the related entities through the relationship BuilRolesRel and BuilSalesArrangementRel.
    Am I following the right way? Is there another solution to prepare the output for default values?
    Any kind of suggestion will be appreciated.
    Regards, Roberto

    go to spro>cross-application components>sap busines partner>business partner> basic settings>field groupings>Configure Field Attributes per BP Role
    Double click the business role which you want to customaze (e.g. 'A') and change the proper settings.
    Regards.

  • Function Module to fetch Customer Number from Sales Order or Process Order

    Hi Gurus,
    I am looking for a Function module which gives me customer number from Sales order or Process order.
    Please let me know of any FM's available.
    Regards,
    Madan

    Hi,
    Thanks for your response.
    I am actually looking for function modules which take "Sales Order" or "Process Order" as input (import parameter) and return Customer Number as output (export parameter).
    Please suggest some function modules you know any.
    Many Thanks,
    Madan

  • Lockbox Customer Number and Bank Account Validation

    When attempting to run lockbox, we are populating both customer number and bank account number. My understanding is that when providing bank account only, Oracle requires this be the pirmary bank account for the customer. It uses this information to identify the customer.
    When we provide the customer number in our file, it should use that value.
    We do not have the primary flag set for any bank accounts, as we have multiple per customer in many cases, any of which can receive payment.
    Oracle is not processing these records with both fields populated because we do not have the account marked as primary.
    Is this the way I should expect Oracle to process the file. I think it should accept this record.
    thanks
    Bill

    That's what I thought as well, but it isn't. It's set as text and still drops it as if it were an integer
    If I enter 0123456 into this field, when I go into 'Cases' to retrieve this information, it is displayed as 123456

  • Individual Orders for Customer requirement and Forecast

    Hi Experts,
    We have requirement to create separate planned orders for customer demand and separate planned orders for forecast.
    I mean one planned order should not cover both the forecast and the Sales order quantity; there should be separate orders for the two.
    We are using SNP heuristic for planning.
    For Eg in a bucket :-
    Forecast = 100
    Sales Order = 40
    Lot size = Lot for Lot
    Planning Strategy = 20
    We Need:
    Planned order 1 = 40
    Planned order 2 = 60
    Regards
    Manu

    Hi Manu,
    Unfortunately, SAP itself says that one should not use 30 with SNP. Quoting from SAP Help for  "Planned Independent Requirements (PIR) Segment":
    http://help.sap.com/saphelp_scm50/helpdata/en/61/95613b3e24526fe10000000a11402f/content.htm
    "In SAP APO, the quantities for make-to-order operations are, in general, planned separately to those for make-to-stock operations. These areas are known as PIR segments.
    In general, you can only plan within a PIR segment. This means that you cannot consume planned independent requirements for a make-to-stock scenario with sales orders in a make-to-order scenario.
    However, SAP does offer a special segment to cover exactly this situation u2013 PIR segment Planning without final assembly, without individual requirements. For more information, see the input help for the PIR Segment field in the requirements strategy.
    Supply Network Planning (SNP) cannot work with the individual customer segment. For example, demand in this segment is not shown in SNP. Consequently, you should not use requirements strategies that use this segment. In the standard system, these are the strategies 30 and 40."
    I have not worked with 30 myself.
    As I mentioned earlier, it won't be easy to differentiate between the planned orders, so I am still not clear how creating separate planned orders would be beneficial for you. But best of luck anyway.
    Thanks - Pawan

  • How to get ATINN value based on material number and Class Type ?

    I have below SELECT stmt code which gives the correct value of atwrt based on materil no and ATINN.
    However in quality system, it is failing because in quality system "atinn" value is not 0000000381. It is different.
    So how can I get ATINN(Internal characteristic) value based on material number and Class Type?
    -Obtain the batch characterstic value for the Material******************
      SELECT atwrt
        UP TO 1 ROWS
        INTO v_charvalue
        FROM ausp
       WHERE objek = mcha-matnr
         AND atinn = '0000000381'   " 'US80_FRENCH_ON_LABEL'
         AND klart = '001'.
    THANKS N ADVANCE.

    Hi SAm,
    use the Below function module to get the Atinn for Atwrt for thr Class and MAterial combination..
    CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
          EXPORTING
            classtype          = '023'       "Class type
            object             = w_object  "Material number with Leading zeros
            no_value_descript  = 'X'      "Default X
            objecttable        = 'MCH1'    "Table name Mara or MCH1 or MARC
          TABLES
            t_class            = t_class   "It return the Batch class available for the above combination
            t_objectdata       = t_char  "Return Batch characteristics(ATWRT) and their value ATINN in this table
          EXCEPTIONS
            no_classification  = 1
            no_classtypes      = 2
            invalid_class_type = 3
            OTHERS             = 4.
    Regards,
    Prabhudas

  • No company code found for plant 0001 and sales organization 0001

    Hi BW Experts,
    I am using the datasource 0PLANT_ATTR.While loading the data, i am getting the warning message as "No company code found for plant 0001 and sales organization 0001". I have replicated all the Currencies by using the "Global Settings".Do i need to do any settings in BW Side.
    Please help on this Issue.
    Thanks,
    Ram

    Hi Ram,
    It is not pertaining to the Currency translations or any?
    The warning message is because:
    In the 0PLANT there is 0comp_code as attribute; while loading the data from 0PLANT_ATTR datasource there for that particular PLANT "0001" and Sales Org "0001" system couldnt find the 0comp_code.
    As it is not maintained in the R/3 system.
    This is why the warning messages are coming out..
    Hope you understood...
    Regards,
    Ravi Kanth

  • Report for Asset number and its Purahcse order number

    Hello Friends,
    Please give me details of report for Asset number and its Purchase order number .
    Regards
    Nilesh Vakil

    hi,
    GO to ME2N...
    use SHIFT + F4..
    there check for the acc. assign cata. field and input the asset  and execute..
    Regards
    Priyanka.P

  • I lost my ipad and i need the serial number and IMEI , please help me how?

    i lost my ipad and i need the serial number and IMEI , please help me how?

    If you have registered your device, you can go to https://supportprofile.apple.com/ and log into your apple id.  Your devices appear there with serial numbers.
    Additionally, your serial number is included on the original receipt when purchased at any Apple Online or Apple Retail store, or any Authorized Apple Reseller.

  • Color management help needed for adobe CS5 and Epson printer 1400-Prints coming out too dark with re

    Color management help needed for adobe CS5 and Epson printer 1400-Prints coming out too dark with reddish cast and loss of detail
    System: Windows 7
    Adobe CS5
    Printer: Epson Stylus Photo 1400
    Paper: Inkjet matte presentation paper with slight luster
    Installed latest patch for Adobe CS5
    Epson driver up to date
    After reading solutions online and trying them for my settings for 2 days I am still unable to print what I am seeing on my screen in Adobe CS5. I calibrated my monitor, but am not sure once calibration is saved if I somehow use this setting in Photoshop’s color management.
    The files I am printing are photographs of dogs with lots of detail  I digitally painted with my Wacom tablet in Photoshop CS5 and then printed with Epson Stylus 1400 on inkjet paper 20lb with slight luster.
    My Printed images lose a lot of the detail & come out way to dark with a reddish cast and loss of detail when I used these settings in the printing window:
    Color Handling: Photoshop manages color, Color management -ICM, OFF no color adjustment.
    When I change to these settings in printer window: Color Handling:  Printer manages color.  Color management- Color Controls, 1.8 Gamma and choose Epson Standard it prints lighter, but with reddish cast and very little detail and this is the best setting I have used so far.
    Based on what I have read on line, I think the issue is mainly to do with what controls are set in the Photoshop Color Settings window and the Epson Printer preferences. I have screen images attached of these windows and would appreciate knowing what you recommend I enter for each choice.
    Also I am confused as to what ICM color management system to use with this printer and CS5:
    What is the best ICM to use with PS CS5 & the Epson 1400 printer? Should I use the same ICM for both?
    Do I embed the ICM I choose into the new files I create? 
    Do I view all files in the CS5 workspace in this default ICM?
    Do I set my monitor setting to the same ICM?
    If new file opens in CS5 workspace and it has a different embedded profile than my workspace, do I convert it?
    Do I set my printer, Monitor and PS CS5 color settings to the same ICM?
    Is using the same ICM for all devices what is called a consistent workflow?
    I appreciate any and all advice that can be sent my way on this complicated issue. Thank you in advance for your time and kind help.

    It may be possible to figure out by watching a Dr.Brown video on the subject of color printing. Adobe tv
    I hope this may help...............

  • Different between Customer requirement and Sales Order.

    Hi, can any expert explain the Different between Customer requirement and Sales Order to me?
    Any help would be appreciated.
    Regards,
    Tiger

    Hi...
    The Customer sents the requirement ( Like specially manufactured products as per the customer specifications) which can be entered in the form an Inquiry. With ref. to this inquiry a quotation will be sent to the customer. The customer places an order thru document with reference to this quotation.
    Now the company processes the order and manufactures the Product and delivers the Product to the Customer and recieves the payment.
    Hope this clears the query
    Reward points if found usefull
    regards
    Sajeev

  • How to get customer number and name from the SD document

    Hi All,
    Can you please let me know how to get Customer Number and Name from the SD Document?
    Thanks a lot....
    Anil

    Hi,
    It will be displayed in the SD (BIlling document) itself,  you clikc on the VF03. The customer name and number will also appear in the SO document also Tcode VA03
    regards,
    radhika
    Edited by: kolipara radhika on Jul 10, 2009 5:32 AM

  • UWL config file for Customer, Vendors and Materials

    Hello All,
    We are trying to integrated uwl to connect to a MDM system for objects Vendors, Customer and Materials. I have looked at the MDM UWL config file, it is configured only for Business partners and products.. does anybody have the config file for Customer, Vendor and Material using business content..
    Thanks in advance
    Som

    Hey Som,
    If you are talking about Portal UWL, then you have to go for System Admin, there you should see UWL related iviews. There you have the ability to download the uwl xml. in that you have to do some modifications.
    All that matters for your problem is the MDM System you have created. when you chanage the respository informatin at this system. then your problem should be solved.
    Thanks,
    Raghavendra

  • BAPI to get delivery number and Sales order

    Dear all,
    Is there a standard BAPI that would help me get the delivery number and sales order number when Shipment number is given as an input?
    Regards,
    Neha.

    BAPI_SALESDOCU_CREATEFROMDATA  Creating a Sales and Distribution Document
    BAPI_SALESORDER_GETSTATUS      Sales Order: Display Status  
    BAPI_SALESORDER_SIMULATE       Sales Order: Simulate Sales Order
    Reward Points if useful.

  • Data Loading issue - No local currency found for plant 0001 and sales org

    Hi Guru's,
    I am trying to load data to 0PLANT_ATTR and I am getting the following error message:
    1. No local currency found for plant 0001 and sales organization 0001
    2. Plant 1010 : No sales organization found; Local currency cannot be checked
    I have also maintained the global setting for currencies in RSA1 for that particular Source System.
    Please let me know how to resolve this issue.
    Thanks in advance.

    Hi,
    Refer the lnik and the note mentioned it.
    Re: Problem when storing master data 0PLANT_ATTR-Full (i.e. Full Update)
    With rgds,
    Anil Kumar Sharma .P

Maybe you are looking for