Required item no: to populate custom field while creating item for a Sales order

Hello Experts,
I have created a custom field for item data of sales order using AET .
I want to populate this field automatically when ever we create a new item for a sales order using UI or CRMD_ORDER or WCEM by concatenation Sales order number and item number.
We are getting Item GUID but not getting the item number(need item number before getting saved is their any chance to get item number from item GUID ) to populate the field and save it.
For this we tried using BADI's
CRM_BTX_EXTENSIONS
CRM_ORDERADM_I_BADI
Thanks in advance,
Manasa Veena P.

Where did you add the field ?

Similar Messages

  • Change in document type while creating billing document from sales order

    While creating billing document from Sales order it is creating with document type RV which is standerd one but i want to change Document type.
    How can i change it?
    Regards
    Raj

    Hi
    If you use another existing document type, check that it has a number range suitable to you.  Else create a new 'z' type and assign an entirely new number range, not used in the other doc types.
    It is useful to make the FI document number the same number.  If I understand from the forums, the FI number range must be external.  Search the forum for this.  It is very useful for the Finance people.
    Kind regards
    Dawn
    Edited by: Dawn Verrell on Sep 9, 2010 4:10 PM

  • Wrong VL-367 error while creating delivery from multiple sales orders

    Hi,
    We have a Z program* that runs BAPI_OUTB_DELIVERY_CREATE_SLS with multiple sales order items to create one delivery.
    The program runs as a job. The problem is sometimes Bupi turns "VL367 - an item with no delivery quantity..." error for some of the items. But actually we have no availability problem, after a minute in the next job the delivery is being created for those items.
    We couldnt find the the state that causes this wrong error. Have any ideas, is there any problem with the bapi ?

    Hi,
    You should check if you got other Sales Order that might be have items with quantities confirmed. Quantities confirmed in a sales order will be appear as unrestricted stock, although is reserved, and therefore for example:
    Sales Order A: item 10, quantity 10
    Unrestricted stock: 10
    Sales Order B: item 10 (Same material as Sales Order A), quantity 2
    Creating outbound delivery for Sales Order B will generate the message, because that stock is being taken for the Sales Order A already.
    Hope it helps.

  • Error while creating Delivery Note from Sales Order

    Hi,
    I am trying to create Delivery Note from Sales Order. But, I am getting one error sayin "An Item with no delivery quantity is not permitted.Item will be deleted". Hence, the delivery note was not created.
    Can you please let me know, why this error comes. And how to rectify this error.
    Please let me know, what are all checks, I need to do, to know this error.
    Thanks,
    Sandeep

    Hi
    There may be following reason :-
    Either the relevant Item Category is not relevant for Delivery, Check the Item Category in Sales Order and then check the settings of this Item Category in VOV7.
    Also check the relevant Schedule Line in VOV6, it should be relevant for Delivery.
    The Other reason may be that your schedule line in Sales Order is Not confirmed for Available Quantity so check the Sales Order> Line Item> Schedule Line.
    Regards
    Amitesh Anand

  • Checking the initiality of the fields while creating  entries for a table

    While creating entries using table maintenance generator(TMG) i need to check the initiality of the fields.Are there any such events?
    I know i can go and change in the screen by making it mandatory or by writing a module in the PAI of the screen of table maintenance generator. Both of cases i have to change the TMG which is generated by SAP system. I want to know is there a way to achieve this with out changing the TMG possible events?

    hi rahul,
    as far as i know, you have to do your initial valifdation in TMG and you have to change your TMG. However, if you have checked the initial flag while defining the field, you will not have initial value for that particular field.... (if the field is key field, by default it is not initial)
    hope this helps....
    thanks and regards,
    tanmaya

  • Error while inbound creation for return sales order

    Hi all,
             We are in the process of creating return sales order for invoice cancelation.
             We have created return sales order.
             we have made settings for automatic inbound creation.
             While creating inbound delivery system giving following error,
    <b>Material cannot be used for inbound delivery because QM is active.</b>
    Please help in solving error.
    regards,
    Mona

    dear  kiran,
                        Tcode is for job planning,where can i make the required setting.
                        Can you explain in detail?
    regards,
    Mona

  • Error while creating AR Invoice from Sales order

    Hi All,
    I have created a sales order ,when i try to create AR Invoice through Copy To option i am getting an error
    Business partner of copied down payment document must be the same as business partner of target document
    Please help me to solve this issue
    Thanks in Advance
    Regards
    Arun

    Hi Arun,
    Check if you have Down payment AR Invoice created from this Sales order.
    Thanks,
    Gordon

  • Query : Custom field at line item level in SRM 7.0 .

    I was going through a document which instructs on how to add a custom field at line item level in SRM 7.0.
    I found this code :
    CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
    EXPORTING
    I_GUID = IV_DOC_GUID
    I_WITH_ITEMDATA = 'X'
    TABLES
    E_ITEM = LT_ITEM
    E_MESSAGES = LT_MESSAGES
    E_STATUS = LT_STATUS. . 
    LOOP AT LT_STATUS INTO WA_STATUS.
    IF WA_STATUS-STAT EQ 'I1015' AND WA_STATUS-INACT IS INITIAL.
    LV_STATUS_APPROVE = 'X'.
    ENDIF.
    ENDLOOP.
    I wanted to know what is 'I1015'  and what is its significance .
    please advise .
    Ambar

    HI
    This speaks about the status of the Cart. This means that the Status of the Cart is AWAITING APPROVAL...I dont know which document you have gone through but procedure for adding a Custom Field in SRM 7.0 is:
    1. Create a Custom field in the Database in SRM. Preferrably add the field in an include and extend thta include to the table in SE11.
    2. Go to Portal Login of SRM and right click the part of the screen where you want to add the custom field. Click on More Field Help. The popup will give you the name of WebDynpro Applicaiton which controls that area.
    3. Login to SRM via GUI and display the webdynpro application using SE80. Enhance the Webdynpro application.
    4. Add the custom field to the Context of the WebDynpro Application View. You will be selecting the field from the database table while adding the custom field to the context
    5. Add the field at the specified place in Layout Tab of the WebDynpro View,
    6. Create a binding between the Layout Field and the Context
    7. Activate the changes.... you will see the field in Portal login of SRM....
    For more details , refer to the Webdynpro help of the application...
    Regards
    Virender Singh

  • Add customized fields in ME21N item overview.

    Hi experts,
    Can we insert our own customized fields into ME21N item overview section.
    Pls advise.
    Thanks and regards,
    Simonksh.

    hi,
    Yes, you can do it with the help of ABAP consultant...
    Pls check whether you are providing all links to the tables for that customised field...For this all coding is required to be done...
    Also check:
    MM06E005 - Customer fields in purchasing documents
    Its an intensive work...
    Hope it helps..
    Regards
    Priyanka.P

  • Hiding Reference Fields While creating Customer Master

    Hi,
    I want to Hide Reference fields While creating customer master, Thanks in advance
    Thanks
    seshu

    Hello,
    No need of screen exits or ABAPer.
    You can easily do it with Transaction Variant using T-Code - SHD0 (SHD zero).
    If you dont know how to create a Transaction Variant, just search the forum with Date Range "All" & you will get lot of guidence.
    You will just need help of Basis person for removing end-user's authorization for XD01 & giving authorization for (e.g.) ZXD01
    Hope this helps.
    Thanks,
    Jignesh Mehta

  • Custom field in Create Bid Invitation..

    Hi,
       I have to add a custome field in the 'Create Bid Invitation - Find bid invitation - Extended Search screen. has anyone done this same scenario.
    john.

    hi,
    I dont think you can add custom field at the item overview level.
    There is nothing in standard for CUF in item overview.
    CUF are available in Header/item basic data, accounting and search screens, but nothing in item overview.
    The only workaround which i can see is to modify the HTML page in the Internet Service .
    You can try to use some standard field which stores the information you want to display (instead oc creating a custom field).e.g.If you want to display the Product CAtegory in addition to its description on the item overview screen(Table control),then you will have to find out the std field which stores the Prod category value.
    If the standard populates that field  with the info you require you'll not have to populate it yourself: so check it.
    Be careful to add this column as the last column in the Table control, as the template refers to column numbers for existing data.
    Then change the template  in order to manage the field display in the different cases (selection and display).
    DO NOT COPY STANDARD PROGRAM, or you will loose modification tracking during upgrade or SP applications.
    Be careful. The same HTML templates of the Internet Service are (shared) used for all the users. So be very sure in making changes to the standard HTML template and publishing those changes. Incase of shortdumps here, you need to go through each line in the Service to see the cause of the error(which might be as silly as missing a comma, bracket, period after a line). SAP dump analysis is not much help here.
    BR,
    Disha.
    Pls reward  points for useful answers.

  • Custom program for availability check and update for existing sale order at Item level(VA02)

    Hi,
    I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN  ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.   
    Regards,
    Shanmuga

    Hello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
    Points are always welcome if you feel an answer has been helpful.

  • Display of Profit Center field while creating asset in AS01

    Dear Experts,
    I have a requirement of displaying profit center field while creating asset in AS01. Currently there is no option of profit center in AS01. My client uses the profit center reporting, so they want to assign a profit center at the time of creation of asset in AS01.
    Is this possible to display profit center field in AS01, or else any other option to tackle this issue.
    Regards,
    Juned

    Hi,
    You can only have COST CENTER in asset master, but not profit center.
    You have to maintain the respective PC in cost center master data only.
    If Cost Cetner field is also not in AS01, then you need to activate it first.
    SPRO->FA->AA->Integration with GL->Additional Account Assignment Objects->Activate Account Assignment Objects.
    Here you need to activate COST CENTER field. Now you will be able to change the field status of cost center field in screen layout for asset master data as REQUIRED field. and SAVE
    Then in AS01 you can enter COST CENTER
    Regards,
    Srinu

  • Pan number compulsory field while creating vendor code

    is it possible to make pan number compulsory field while creating vendor code

    Dear Sanjeev
    you can make PAN number mandatory use t.code shd0 in that first give transaction code than give screen variant detail for screen variant program go to xk01 and then go to pan field here click on f1 then click on technical specification u can copy the program and screen name after that click on create tab the xk01 screen field comes again go to pan field double click on that field and then select this as required field and save . then go to transaction variants give the transaction name and add a row in which insert row and gives screen  variant , program and screen then save it now move to standard variant give your  screen variant name and activate  now your pan field is mandatory . if you have any problem in understanding i can provide you the screen shot also on your mail. provide your email id
    Award points .
    Regards

  • I want to know about ATP check requirement .generally we assigned yes or no while creating sales order

    I want to know about ATP check requirement .generally we assigned yes or no while creating sales order what it means when we give Yes or No. how pegging flows
    Regards
    virender

    Virender,
    Can you be a bit more specific about ".....generally we assigned yes or no while creating sales order....."   Exactly what field(s) did you 'assign'?  Screenshots would be helpful.
    With respect to pegging; in general, ATP has very little to do with pegging.  Pegging is more of a planning concept, and not an 'availability checking' concept.  There are a few exceptions in APO, but they are not commonly implemented.
    Can you elaborate about exactly what you want to know with respect to 'pegging' and ATP?
    Best Regards,
    DB49

Maybe you are looking for