How ADRNR will be generated when create masterdata(comp.code/vendor/custom)

Dear All,
I would like to know how t001-ADRNR will be generated when we create company code/vendor/customer.
where we can assign the number range to ADRNR?
thanks in advance...

Hi,
Can you check this:
1.  Open T001 table in SE11.  Pick a company code you are facing a problem with.  In the table, check the ADRNR. 
2. Go into table ADRC, enter this ADRNR and see the output. Does it show the address of the company code?
If it does then your transport will not have a problem. But if it doesn't then, I assume then you would have a problem.  But even then , a tranport should change the earlier address in ADRC and bring it to the same for the company code.
But the real problem will only arise, when the number range status (in SA01) is less that what is actually present in the ADRC table.  To set this right, here is what you should do:
From table ADRC, check the highest number of the ADRNR table.  In SA01 look at the status of number range "01", if it is less than the highest number in ADRC, then, increase the number under the column current number to the one already present in table ADRC.
This should solve your problem.
Cheers.

Similar Messages

  • How to register the recipient when create job by function

    I am now use JOB_OPEN , JOB_SUBMIT and JOB_CLOSE to create a job in the program. And need to post the result of the report to the person by email.
    Can you tell me how to register the recipient when create the job.
    ( in sm36, it is easily to do but how to do in coding? )
    regards,
    slam

    Hi
    I think in Back ground using the above fun modules you can't send a mail to the receipient.
    see the use of the above fun modules;
      IF p_bjob = 'X'.
        CONCATENATE sy-cprog sy-datum sy-uzeit
                    INTO jobname SEPARATED BY '_'.
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = jobname
          IMPORTING
            jobcount         = jobcount
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
          IMPORTING
            out_archive_parameters = arc_params
            out_parameters         = print_params
            valid                  = valid
          EXCEPTIONS
            archive_info_not_found = 1
            invalid_print_params   = 2
            invalid_archive_params = 3
            OTHERS                 = 4.
        IF valid = chk.
          SUBMIT ybrep
                          WITH < sel Screen>
                          AND RETURN
                          USER               sy-uname
                          VIA JOB            jobname
                          NUMBER             jobcount
                          TO SAP-SPOOL
                          SPOOL PARAMETERS   print_params
                          ARCHIVE PARAMETERS arc_params
                          WITHOUT SPOOL DYNPRO.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount             = jobcount
              jobname              = jobname
              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
              invalid_target       = 8
              OTHERS               = 9.
          IF sy-subrc <> 0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ELSE.
            MESSAGE i029 WITH jobname.
          ENDIF.
        ELSE.
          MESSAGE s000 WITH text-003.
          STOP.
        ENDIF.
      ENDIF.
    Reward points if useful
    Regards
    Anji

  • How to add multiple table when creating add on using b1de

    Hi all,
    Plz help me
    How to add multiple table when creating add on using b1de.
    Thanks

    Hi dns_sap,
    Can you explain a little better what you are trying to accomplish? Is it to create UserTables and UserFields in the database, when the addon runs the first time?
    If so, you can use the following code
    Add User Table
            Try
                Dim lRetCode As Long
                Dim oUDT As SAPbobsCOM.UserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
                oUDT.TableName = TableName
                oUDT.TableDescription = TableDescription
                oUDT.TableType = TableType
                lRetCode = oUDT.Add
                '// Check for error when adding the Table: if lRetCode = 0 the table was created; if lRetCode = -2035 the table already exisits
                If lRetCode <> 0 Then
                    oApplication.MessageBox("Error: " & lRetCode.ToString & ", " & oCompany.GetLastErrorDescription)
                End If
            Catch ex As Exception
                oApplication.MessageBox(oCompany.GetLastErrorDescription)
            Finally
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDT)
                oUDT = Nothing
                lRetCode = Nothing
                GC.Collect()
            End Try
    Add User Field
    Try
                Dim lRetCode As Long
                Dim oUDF As SAPbobsCOM.UserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                oUDF.TableName = TableName
                oUDF.Name = FieldName
                oUDF.Description = FieldDescription
                oUDF.Type = FieldType
                lRetCode = oUDF.Add
                '// Check for error when adding the field: if lRetCode = 0 the field was created; if lRetCode = -2035, the field already exists
                If lRetCode <> 0 Then
                    oApplication.MessageBox("Error: " & oCompany.GetLastErrorCode & ", " & oCompany.GetLastErrorDescription)
                End If
            Catch ex As Exception
                oApplication.MessageBox(oCompany.GetLastErrorDescription)
            Finally
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDF)
                oUDF = Nothing
                lRetCode = Nothing
                GC.Collect()
            End Try
    Regards,
    Vítor Vieira

  • Change pointers are not generated when creating a material master

    Dear Experts,  
    Change pointers are not generated when creating a material master. 
    However, when a change is made to the already created material, the change pointers are created according the fields in BD52.  
    Am I missing any settings?
    I need to create change pointers immediately when I create the material master in MM01.  
    Please suggest. 
    Regards,
    Shetty

    did you follow the steps given in
    http://help.sap.com/saphelp_nw73/helpdata/en/4a/6dcbe9c95261a3e10000000a421937/frameset.htm

  • PSE 8 some photos will not autoimport when creating an photobook and block the whole sequence. Are there knows reasons why individual photos can hang the import? Thanks Michael

    When creating photobooks with PSE 8 I find occasionally that certain photos block the autoimport function and none of the sequence are loaded into the new photobook. Using the identical setting to create a photobook other sequences of photos work perfectly. The photos have been checked and found and all are connected and recognised. Are there knows issues with some photo formats which will not autoimport when creating a photobook?
    Thanks for the help.
    Michael

    Sometimes LR can be "nudged" into showing folder relationships which better match the file system, by using the "show parent folder" command. When existing folders appear as if they were "top level" in the drive, we can see a more or less virtual picture of the situation, rather than anything real. So newly added folders can sometimes present themselves as if independent of what is already there.
    By forcing LR to show a fuller hierarchy of folders, more attention gets paid to the actual arrangement - so new and existing folders should "wake up" and thereafter appear more reliably in the right relationships.

  • Creating Cross Company Code Vendors/Customers.

    Hi All,
    I'm trying to understand how to create cross company code Vendors and Customers.  I've already established the link with configuring OBYA.  What I'm not clear is on which company code I should be creating the vendor and customer. 
    We have two company codes, 2100 & 0980.  CC 2100 has the central bank tha pays invoices for CC 0980.  I have two issues.
    1. What kind of configuration is needed to accept incoming payments into CC 2100 House banks and lockboxes?
    2. For intercompany activity between 2100 & 0980 how are the vendor and customer master records set up?  I know there needs to be a vendor on the customer master and a customer on the vendor master.
    So for 0980 acting like a vendor for 2100 I'm assuming the vendor number for 0980 is set up as a 2100 vendor.
    The same is true when acting as a customer.  The difference being is that this vendor entered into a field on the customer master and the customer number is entered on a field in the vendor master. 
    I'm missing how the Vendor record, if created on Company Code 2100 gets linked to Company Code 0980.

    For SAP to 'know' that a particular vendor / customer master records represents a specific company code, all these needs to be linked to the same 'company'.
    Companies are maintained in T880 (IMG : enterprise structure -> definition -> Fin Acctg -> Define Company
    Company code is linked to a company in the cocode config. IMG enterprise structure -> Assignment -> Fin Acctg -> Assign comp. code to company
    And finally, the Trading Partner field in the Customer/vendor master is where you assign the company to the cust/vendor.
    This setup will eventually allow you to consolidate interco A/R, A/P, etc.. if you need to but is not necessary for the interco process to post.(although you'd want to have it rght from the get go)

  • Error : Depreciation area 00 not created in comp.code

    Dear friends,
    Need assistsnce how to resolve asset master data problem for "Depreciation area 00 not created in comp.code".
    What I intend to do is to do an asset recalculation thru AS02> edit> recalculate values. But the system showed the above error.
    How can I resolve this. I have read thru the SAP note 459700, but I dont really understand the solution given.
    If anyone have similar experience, appreciate your help. Also for those who know how to resolve this... pls..help.
    Thanks.
    Syaban.

    Hi Srinivas,
    Here's the cronology.
    Actually I detect 1 asset that was created in 2007 and have all the APC, Depr expense & accum until 12/2007.
    But coming to fiscal year 2008, this asset was not brought forward to year 2008, hence making the asset report not correct bacuse the asset was not displayed at all.
    I did tried to redo the fiscal year change but no impact still same error. Then I tried to do recalculate value just to see if the asset can be corrected thru that function. At this point where the error message appear.
    Not sure why the  error appearing since in our system we dont have such depr area 00.
    Thanks

  • How To Add Additional Fields When Creating New Contact From w/in Mac Mail?

    Hi there. When in Mac Mail and clicking on contact information provided within an email, we are able to either (1) CREATE NEW CONTACT or (2) ADD TO EXISTING CONTACT (by clicking on the arrow next to a phone number, address, etc.). If I choose "Create New Contact," how can I add additional fields BEFORE clicking on "Add to Address Book" button in lower right corner? Let's say, for example, I know this new contacts URL or company. (Currently, I am creating the new contact from within Mac Mail and then going to Address Book and finding the contact, then editing, the adding the additional fields, then saving, and then going back to Mac Mail. This all takes time.)
    Note: When creating a new iCal event from within Mac Mail, we can click on Option/Alt key when selecting drop-down arrow...and this will allow us to add additional information. The same feature isn't available for address book???

    I have the exact same question and problem. If there was a way to automatically open the AB entry after "creating new contact" this would solve it.
    Thanks for any suggestion

  • Display name not getting generated When creating user thorugh GTC

    We are using GTC flat file as a trusted source. We see that display name not getting generated. And same thing happening when creating a new GTC mapping.
    previously when we ran with few test user got created with display name through GTC flat file , Suddenly we see this issue display name not getting generated through flat file recon.
    Manually user creation has no issues.
    Please let me know if you have any idea about this issue.

    Don't use GTC... GTC is inflexible and buggy technology... Nothing guaranteed... Rather create your own custom trusted recon code...
    For more details
    26 Known Issues of Generic Technology Connectors
    http://docs.oracle.com/cd/E10391_01/doc.910/e10360/issues.htm

  • How we will get parameters when we uses EMBED tags

    hi ,
    how we will get parameter from applet in netscape. When my swing applet using OBJECT tag, runs in IE it works fine.
    And im able to getting parameter. But in the case of Netscape (that means when i used EMBED tag) im not able to getting the parameter.
    How we will give <param tag in the case of EMBED tag. Im sending my snippet which is for only netscape.
    <EMBED type="application/x-java-applet;version=1.2.2"
    width="800" height="1200" code="myclass.class" codebase='mycodebase'
    pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html">
    <NOEMBED>
    </COMMENT>
    No JDK 1.2 support for APPLET--please download the plugin.
    </NOEMBED>
    <param name='parameter' value='value'>
    </EMBED>
    If anybody helps, very much thankful to them
    thanks in advance

    Parameters should be inside the EMBED tag, like this :
    <EMBED type="application/x-java-applet;jpi-version=1.3.1" CODE = "Editor.class" WIDTH = 350 HEIGHT = 200 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3.1/plugin-install.html"
    TOOLBAR="true"
    TOOLBAR.FLOAT="true"
    TOOLBAR.ALIGN="east"
    >
    Matthieu

  • How to use Synchronized method when creating our own controls

    I don't know how to use the synchronized method when creating our own activex like controls to speed up the application.

    [url http://java.sun.com/docs/books/tutorial/essential/threads/multithreaded.html] here you go 

  • Pdf will not open when created

    A recent problem has popped up.  When creating a new pdf document the save as window stays in the task bar until I click on it.  Once the pdf is created it stays in task bar until I click on it to view on it.  Using windows 7 and Adobe Pro 9 Extened.  Any thoughts or fixes on this.  Up until a few days ago when I created a pdf the save menu came right up and once created the new pdf was on the screen.  There have been no recent Adobe updates installed.  Any thought out there.  Thanks

    As for viewing the PDF when it is created, check in the printer or PDF maker that you have this option selected. In the printer, you can make it the default by editing the Start>Printers>Adobe PDF printer properties. If this is already set, you may need to do a repair.

  • How to display success message when data is changed in the custom tab in MM

    Hi,
    I have added a new custom data tab in the MM01/MM02/MM03 transactions. Whenever I do changes to fields in the custom tab in MM02 transaction, and no changes in the standard tabs, I will get a message stating "No Changes Made".
    But if I do changes in the standard tabs, it works as usual with display of message "Changes to particular material has been done.
    Please let me know, if anyone of you know, how to display the success message if the changes to the custom tab is done.
    Thanks in advance,
    sudhanva

    Hi Sudhanva,
    The exit EXIT_SAPLMGMU_0001 is a function exit that you can use for custom validation but not to add custom tab/screen.
    But the message issued by SAP is not related to this Function Exit.
    If you have used a Screen Exit, then there must be some Function Exits also in the same Enhancement using which you can assign the value of custom fields to/from the standard structure. Thus when the value of any custom field is changed the system can understand that the some changes have been changed and will  not issue the message.
    In case you have used a BADI, there can be other methods in the BADi using whcih you can assign the value of custom fields to/from the standard structure. This might also prevent the message from being displayed.
    I could try giving you further details if you can provide the name of the Enhancement/BADi that you used to add the additional tab.
    Hope this helps.
    Regards,
    Abhisek.

  • How to fire a plug when opening a comp as a popup

    I am opening a WD component as a popup using cl_wdr_runtime_services=>display_view_in_popup().
    Unfortunately, the default inbound plugs of the window or the view are not called when I go this wy.
    Is there anything I can do? How can I make sure that the inbound plug handler(s) are called when opening the comp. in a popup?

    Hi Daniel,
         You can make it Inbound Plug as Default. then system automcatically will call that inbound plug handler method when you open this window.
    Step:
          In Window, Just right click on the Inbound plug and you will get a small popup , in that pop up select  Set as Default .
    Regards,
    Vijay

  • Problem when creating contract  with foreign trade / customs

    Hi,
    I encountered a problem when creating contract / outline agreement.
    I used ME31K to create a contract with a vendor outside of our country. I suppose that I should be able to see "Foreign Trade / Customs" in "Header" menu, but this entry is gray, I cannot enter it.
    I tried to create a scheduling agreement using ME31L with the same vendor and material, I can see "Foreign Trade / Customs" information. I suppose these two process are similar, aren't they?
    Btw., I checked the master data according to this thread:
    http://help.sap.com/saphelp_46c/helpdata/en/ed/3b6cc697e711d1b4e20000e82d81b0/content.htm
    Can anyone give me some hint?
    Thanks!
    Charlie

    These two processes are different:
    The Contract agreement or the Outline Agreement is that create the centrally contract (cross-plant) where it can maintain different pricing conditions for each and every plant. It creates the Release Order with reference to Outline Agreement. No detailed delivery schedule can be made in the Release Order. No Release documentation is created. Only time-dependent conditions can be created, Some Item Category 'M' and 'W' can be used.
    Whereas the Scheduling Agreement is the Plant Location what must be entered in the Scheduling Agreement. Its no need to create any other purchasing document except for delivery schedule line via Transaction ME38 or MRP running (with the appropriate setting of Source List). Delivery Schedule line items are created subject to your specific requirement. It can create both Scheduling Agreement with or without release of Documentation (subject to the Document Type LP or LPA) with the selection of either FRC or JIT delivery schedule. Either time-dependent or time-independent conditions can be created subject to the customizing in the Document Type of the Scheduling Agreement. Item Category 'M' and 'W' can not be used.

Maybe you are looking for