Assign Customer Code Externally

Dear Gurus,
I would like to assign the Customer code externally instead of system generated one in XD01. For example, when i choose the Account Group as " Sold to Party" and enter the customer code manually, it gives the message that i cannot assign and it will be generated internally. Kindly advice in this regard at the earliest.
Regds
Jeevagan.U

HI Geeva
As per my understanding from your question  , you want to  give  external number  range to customer  ,  to do this you need to assign external number range to A/C group , so that you can give  external  number range to customer  hope it will solve your problem 
path- IMG-Financial  Accounting Global setting - A/C receivable and  A/c payable - Customer Accounts -Master data- Preparations  for creatiing  customer master  data- define account group s with screen layouts ( customer ) and  create  number  range for customer  account grps -assign  number  range for  customer  account grp( here you  should assign it as external number range)
Regards
Venkat

Similar Messages

  • How to Assign Customized BADI to Standard T.Code  Example ME51N

    Dear all,
    It would be really appriciate if you provide me a solutions.
    I have Created Customized BADI using SE18,SE19. But I am not aware How to Use those BADI in Standard Transaction.
    Example : I have Created PR Related BADI (ZPURREQ_ACC_CHK). How to utilize this BADI In ME51N,ME52N.
    Please advice me.
    Thanks
    Best Regards,
    KSK

    I think what you need to do is find what exits or existing BAdIs are available for the transaction.  Then in the user exit you can call your customized code.  That way you avoid changing SAP's code for the transaction.  You can find BAdIs related to purchasing by going to transaction SPRO and then following this path:
    Materials Management -> Purchasing -> Business Add-Ins for Purchasing
    I hope this helps.
    - April King

  • Assign custom tag output to variable. Is it possible?

    I form the code of page like this:
    <body onLoad="... #myArray[XXX]# ...">
    <cfoutput>#printTable(...)#</cfoutput>
    </body>
    function printTable is something like iterate process of
    creating tree-menu structure:
    <cffunction name="printTable" ...>
    <cfloop....>
    ArrayAppend(myArray, ....)
    <cfoutput><CF_treeItem....></cfoutput>
    printTable(....)
    </cfloop>
    </cffunction>
    SO - the problem is that I need myArray elements, but they're
    created inside printTable function.
    I could save everything into the variable and output later,
    like <cfset printTableVar = printTable(....)>, but I use
    custom tags
    What should I do not to change the things too much?
    It would be good if I could assign custom tag result to
    variable:
    <cfset blablabla = "<....>" &
    <CF_treeitem...> ....
    Ok, i will do it via external variable
    (Caller.blablabla)

    Obviously the correct solution is to re-write it properly,
    but for your question of putting the CT results into a variable,
    you just need to use
    cfsavecontent.

  • Service Limits in Purchase Requisitions: Where to Insert Custom Code?

    The issue is related to finding a place in SAP logic where a BADI, or, an
    enhancement can be implemented when inside transaction ME52N for a
    Service Limits type Purchase Requisition where K is the Account
    Assignment and B is the Item Category for a Service Limit Purchase
    requisition. Especially. or initially, at the point of navigation when
    going from (within the Limit Tab) and selecting the Account Assignment
    Icon to the right.
    By finding a good place to insert custom code in between these two tabs
    during navigation I am referring to (1)the actuality of the transaction
    breaking into this location, and,(2)a place where the global fields can
    be read and changed ie. GL Account Number, Material Group, etc.
    I have read, and reviewed several SAP Notes: 496082, 627072 and 551863.
    Failed Attempts:
    1)I have tried finding BADIs via breakpoints inside of
    CL_EXITHANDLER~GET_INSTANCE. None that are found are used and are not ofany help.
    2)I have attempted to use various user exits within the following SMODs,to name a few:
    MEREQ001 |Customers' Own Data in Purchase Requisition
    SAPLF0PR |Requests: Account Determination and Checks
    SAPMF02H |Function exit: G/L account master data
    V45E0002 |Data transfer in procurement elements (PRreq., assembly)
    WDFE0001 |Customer-Specific Determination of Requirements Data
    COZF0001 |Change purchase req. for externally processed operation
    COZF0002 |Change purchase req. for externally procured component
    3)I have implemented various custom enhancements inside of SAP Main
    Program SAPLMEREQ inside include LMEREQF09, and a few other LMEREQFXX.
    4) We previously used BADI 'ME_PROCESS_REQ_CUST' to satisfy a similar
    requirement, but is of no help for this request.
    Thank-You,

    Custom tags are different than udfs.  Let's stick with udfs.  Your location choices are:
    1.  If only one template is going to use it, you can put it in that template.  Otherwise,
    2. You can put it in a .cfm file and cfinclude that file whenever you want to call the function, or
    3. You can put it into a .cfc.
    A little while back, someone ran some tests and posted the results on one of these forums.  The gist of it was that Option 2 would run faster than Option 3.

  • What is importance of Account group in customer code create?

    Dear Experts,
                             whlie creating customer code we have difference types of Account group , what is  the importance ? what is mean by bill- to party , sold-to party . i am very new to SD please guide me
    regards
    rajakarthik.

    Hi Raja
    First, try to understand "Customer".
    "Customer" is actually one type of Business Partner.
    If you will tell simply "Customer", then it does not make a complete sense to me, as in business, I will be interested to know, which "Customer" you are talking about.
    Beacuse, there are four types of Customer. The Customer Partner type is categorised as per the function performed by them.
    The Customer, who places order is called -- SP (Sold-to-party),
    the Customer who receives the goods is called -
    SH (Ship-to-party),
    who receives the Bill is called -- BP (Bill-to-party) and
    who makes the payment is called --- PY (Payer).
    SP, SH, BP and PY are called "Partner Function" (i.e. Function performed by the Partner "Customer").
    If you will take the example of a small business, you will find, the same person is placing the order, receiving the goods, receiving the bill and making the payment also. That means, he is performing the role for all the functions SP,SH,BP and PY.
    But, if you will go for a big Corporate, you may find all four may be different. For example, Delhi office is the SP, Mumbai office is SH, Kolkata office is PY & Chennai office is BP.
    All the 4 Partner functions are mandatory in a sales process, they may be performed by one partner or by four different partners.
    As all the above Partner Functions are mandatory, they need to exist in the system as a Customer. A customer exist only when a master data is created for him.
    ACCOUNT GROUP
    You must have seen ,when Billing document is saved, there is posting takes place in Accounting.
    A Debit posting to Customer account and credit posting to Revenue account. It indicates that, Customer is also considered as an "Account" in FI.
    So, a group of Account (customer) behaving in a similar manner are one "ACCOUNT GROUP". Those different Account Groups are normally created in FI. There are various Account groups like 0001(Sold-to-party), 0002(Ship-to-party) etc, and you can create your own also.
    When you create a Customer, system needs to know, what type of Customer (Account) you are going to create. System gets this information through "Account Group". If you want to create a Customer who will work as a Payer, then you need to choose the Account Group "Payer" and not '0002- Ship-to-party".
    A "Payer" needs the billing and Payment related information, he does not require Shipping related information. Hence, the Shipping tab is not found totally in the customer master of a "Payer". Similarly, those fields which are not required for a particular type of customer, they are suppresed (made invisible).
    Which fields will be mandatory, optional, suppressed & display purpose only, are decided/ controlled by the Account group and this is what we call "Field selection" which is controlled by Account group (one controlfunction of Account Group).
    Similarly, when we save a Customer master, the customer number (either internal or external) comes from the "Number range" which has been assigned to the Account group. There are few other functions which are also controlled by the Account group like whether "One-time customer" default output etc.
    That means without specifying an "Account Group", you can not create a Customer as now you know, Account group controls the Customer master data.
    Hope, this explanation will create your doubts in a simpla manner.
    Regards
    Edited by: pradyumna on Oct 24, 2009 6:55 PM

  • How to control or manipulate a report parameter through SSRS Custom Code

    Hi,
    In reporting services 2005 or 2008, is it possible to control the parameters inside the custom code of a report?
    for example:
    Let's say I have a parameter that displays the following value:
    Red
    Green
    Blue
    In typical scenario I can select one of the values or I can select all of the values then click the View Report button in reporting services.
    I know that this approach is much easier to do if I have an external application like ASP.Net and from there I'll just add report viewer and control the parameters to be passed and then generate the report.
    In the report I added text box that will serve as a hyperlink to refresh report:
    In the Text Box Properties\Action tab. Is it possible to control the selection of values through a custom code(SSRS Custom Code) then the report will be automatically refreshed?
    thanks,
    Joefer

    Not sure about doing a multiple selection. But you can pop up an input box to get the input on the fly.
    Add the below custom code and expression for the above parameter
    Public function Getparamvalue() AS STRING
    Dim x as STRING
    x = InputBox("Enter Red / Blue / Green")
    Return(x)
    End function
    =Code.Getparamvalue()

  • Getting Custom code error while deploying the report but in local(BI studio) when i preview its working,

    Hi,
    I Haven't used Vb.net, as I work on C#, But in SSRS it supports only VB.net code as custom coding, so i coded in c# and converted to VB.net from online converter. The code i got from online converter is working fine in local i.e when i preview in BI studio,
    but when i try to deploy the same i'm getting error 
    Error 3
    There is an error on line 12 of custom code: [BC30201] Expression expected.
    0 0
    Below is the code:
    ' -- Author        : Jai Anand
    ' -- Date            : 06-05-2014
    ' -- Discription : To split the given string of numbers and Assign the days for it,
    ' --                        example: if integer 1 - (Su) --> Sunday, 2 - (Mo) --> Monday
    public Function FindPlanDays(plandate As String) As String
    Dim planarray As String() = New String() {}
    Dim days As String = ""
    planarray = plandate.Split(","C)
    Dim i As Integer = 0
    While i < planarray.Length 
    Dim day As String = If(planarray(i) = "1", "Su,", If(planarray(i) = "2", "Mo,", 
     If(planarray(i) = "3", "Tu,", If(planarray(i) = "4", "We,", If(planarray(i) = "5", "Th,", If(planarray(i)="6","Fr,", If(planarray(i) = "7", "Sa,", String.Empty)))))))
    days = days & day
    i += 1
    End While
    days = If(days <> String.Empty, " (" + days.TrimEnd(","C) + ")", days)
    Return days
    End Function
    Kindly check the code, if any issue is there,give me the solution..Thank you

    Hi,
    I found the solution and the report is deployed . The issue was with If and we should suffix with space and underscore( _) at the end of the line break and continues in next line (i.e if the statement continues in next line).
    iif has always been available in VB, even in VB6.
    Dim day As String = Iif(planarray(i) = "1", "Su,","Mon")
    It is not a true operator, as such, but a function in the Microsoft.VisualBasic namespace.
    so the modified code which worked fine to deploy
    ' -- Author        : Jai Anand
    ' -- Date            : 06-05-2014
    ' -- Discription : To split the given string of numbers and Assign the days for it,
    ' --                        example: if integer 1 - (Su) --> Sunday, 2 - (Mo) --> Monday
    public Function FindPlanDays(plandate As String) As String
    Dim planarray As String() = New String() {}
    Dim days As String = ""
    planarray = plandate.Split(","C)
    Dim i As Integer = 0
    While i < planarray.Length 
    Dim day As String = Iif(planarray(i) = "1", "Su," ,Iif(planarray(i) = "2", "Mo,", _  
     Iif(planarray(i) = "3", "Tu,", Iif(planarray(i) = "4", "We,", Iif(planarray(i) = "5", "Th,", _
     Iif(planarray(i) ="6","Fr,", Iif(planarray(i) = "7", "Sa,", String.Empty)))))))
    days = days & day
    i += 1
    End While
    days = Iif(days <> String.Empty, " (" + days.TrimEnd(","C) + ")", days)
    Return days
    End Function

  • While running FBL5N (Business area wise) customer code and customer names a

    Hi Gurus,
    While running FBL5N (Business area wise) customer code and customer names are not appearing.

    Hi Raju,
    Please click on the change layout screen button on the screen of FBLN5N report. then select the fields customer code and customer name from the right hand side table and drag it to left hand side table.
    After that run the report again. it will appear. please assign points.
    Rgds
    Manish

  • 3PEEK496 The internal transaction "0050" is not assigned to an external tra

    hi,
    During XPRAS_UPG phase of upgrade we are getting 3 errors:
    3PEEK496 The internal transaction "0050" is not assigned to an external transaction
    3PEEK496 The internal transaction "0050" is not assigned to an external transaction
    3PEEK496 The internal transaction "0050" is not assigned to an external transaction
    Anybody has any idea on how to solve this?
    Upgrade is from 4.6c to ecc6 ehp4
    Rgds.

    Hi
    Please check your Customizing setting, in the old and new system, for the main activities,
    Table TFKIVV.
    Customizing -> contract accounts receivable and payable -> basic functions -> postings and documents -> document -> cases for the industry-specific component Supply- industry maintain ->  maintain cases for discounts
    Here the external HVORG must be assigned to the internal HVORG 0050.
    Regards,
    Aidan

  • SAP Cloud For Customer : Code List Mapping For Material or Product

    Hi Experts,
    I wnat some information about the SAP cloud code list mapping.
    If i want to replicate Material / Product from SAP ECC / SAP CRM to SAP cloud for customer then any code list mapping entry we need to maintain in cloud side?
    Or
    Any Code list mapping for Material or Product in Cloud?
    If yes anyone have list with SAP ECC / SAP CRM table details?
    Many Thanks
    Mithun

    Hi Mithun,
    Code list data type is available in SAP Cloud. As of my knowledge I trying to find is code list mapping is available or not.
    Yes we can replicate exactly the same values in SAP Cloud that we see in the SAP ECC / SAP CRM. For this, We need to create custom 'Code list' for the required one you want and assign that code list data type name which you created in the previous step to the required element in the BO.
    For creating the code list data type: Go the Solution Explorer, Right Click on the Solution name, Click on 'Add' and Click on "New Item', then Add new item window will open with Installed templates, you will see the list of templates select the code list data type. Give the name as per your requirement starting with Z, max length is 27 only. click next, in 2/3 step, here you can add the list of values you want, add description to them. after clicking on the finish. activate the solution. Go to the BO and for the required element add the name you provided in creating the Custom code list ( ZXxxxxCode ) . Save and activate the BO as well as the solution then update the metadata in the designer part and in date model also, In data model, bind the required root element which is on the left pane to the required BO element which are in the right pane. Click Save and activate here also after the changes are made. finally activate the solution. In the solution explorer Right click on the OIF ui component and click on preview, it will open in the browser, here you will find the custom list you created, for the required one which you added code list date type name for the element in the BO.
    Mithun.. Sorry if I"m confusing you more on this. let me know is this solution enough for the requirement you are searching.
    Best Regards
    Bandhav

  • Custom code in view

    Hi,
    I want to write custom code in view to validate business logic before
    saving the data. Kindly suggest.
    Regards,
    Gopal.

    Hi,
    Generate 1 maintenance view goto SE54 -> Type in the veiw name and select the radio button 'Generated objects' -> Change
    Now choose Environment  -> Modification -> Events -> New entries
    Add event '01' for Before saving the data into database assign a form name 'F_CHECK_B4_SAVE' and click on editor button
    that will open up the FORM write the code in this routine as per the requirement and even set break points to validate the logic.
    Hope this helps you.
    Thanks & Regards
    Ranjith Nambiar

  • Unable to find the custom code in custom.pll

    Hi,
    I have an issue in forms.
    When we are trying to change any fields in the financial options form in payables, it is gving the following error:
    'FRM-40735 ON-ERROR trigger raised unhandled exception ORA-06508.'
    So this is because of customization. When we are switching off the custom code, the error doesnot occur.
    But there is no code written for this form in the custom.pll and there is no personalisation done on the form.
    Please help.

    Hi Srini,
    The issue has been resolved.
    The cause for this issue was the size of the assignment variables used to store the form name, block name, item name.
    Even though there is no code written for this form, every time any form is opened, the Custom.pll is scanned to check if there is any cirresponding code.
    While doing this the form name or block or item name is stored in a variable which is then used for further processing. So our code was throwing exception because the variable couldnot hold the item value.
    Thanks for all your help.

  • Assigning tax code for vendor selection

    how to Create and develop user exits for the me21n where as per the vendor selection tax code has to be assigned.

    Transaction Code - ME21N                    Create Purchase Order
    Exit Name           Description
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    AMPL0001            User subscreen for additional data on AMPL
    No of Exits:         35
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Issues regarding Transporting the Custom codes and Text Elements

    I created a custom t-code and had some text elements for my ABAP program in DEV, I transported quality an it worked , but when i transport it production it did not transport the custom code and the text elements.  Can u guys give me steps to take for the custom code and the text to be transported sucessfully??

    Hi,
    Please check whether the Tcode and Text elements are assigned to the particular Transport Request number. If it is an enhancement that Tcode and Text elements might be there in QA before itself and so this is working. You need to add the TCode manually while transporting the request and transport it to QA and PRD.
    Thanks and Regards
    Sowmmya VB

  • Execute custom code when grabbing an instance from inbox

    Hey Guys,
    I work with ALBPM 5.7 and we need to execute some basic custom code (such as updating a custom db) when an instance is grabbed from the inbox. Is there a way to do this?
    I would think there would be a handler or something available, that we can plug in.
    Basically, when an instance is grabbed from the inbox, it does get assigned to the participant. I need to execute some code so the participant name goes to the custom db too. Any suggestions?
    thanks

    Hi,
    Adding a screenflow just like when you add a screenflow for an Interactive activity.
    1) right mouse click the Grab activity
    2) click "Main task"
    3) select "Screenflow" from the implementation type dropdown
    4) click the "New" button.
    5) name the screenflow
    6) click "Next"
    7) decide what variables you want to come into (usually just the BPM object in your process) and what you want to go out of the screenflow (usually just the BPM Object, result and action variables)
    8) click "Next"
    9) click "Finish"
    10) click "Ok"
    11) click "Ok"
    Hope this helps,
    Dan

Maybe you are looking for

  • Trying to email the last 10 lines of a file in the body of an email

    Hi All: Total PS n00b here. I'm using PS 2.0 - I am using the "Get-Content | Select -last 10" on a logfile that I want to email. I got the email to work, but the formatting is lost (it's a Robocopy log that lists the details of what got copied/skippe

  • How can I check every 5 secs a file Length with Threads?

    As a matter of fact the subject is the main question. I need your HELP! PLEASEE!!

  • IDML Not opening

    Hi, I recently made a document using InDesign CC. The client the file is for, as well as the printer, use CS4. I have tried everything when it comes to down saving to an IDML and I'm still being told by both of them that they cannot open this file, o

  • Passing data to list manager

    I'm not sure I know how to do this. so I need some help. I have two screens, one is a list of different items, the other is a name, address, city type edit screen. I have a list manager (view only) on the first page. I'd like to have it contain the l

  • Adding customized additonal view to MM01

    Hi all, Is it possible to add an additional customized view to MM01, For example i want add an Basic Data 3 view to MM01. Is it possible? Regards Vijay