Sales Order VA01  Header data.....

Hi Experts,
I am trying to get the New field in my Header sales dats screen VA01 or VA02.
in the SALES sub screen i need to add CREDIT STATUS.
or i can say...
In VA01 sub screen (Sales) i need new field which is in (Status) sub screen CREDIT STATUS
Thanks in Advance,
Anthyodaya.

Hi
This needs abapers help. you provide the table VBAK and field CMGST to abapers and tell your requirement they will do this.
I hope this user exit will be use to resolve this "USEREXIT_FIELD_MODIFICATION"
Regards
Edited by: dv s.kumar on Mar 18, 2009 12:26 PM

Similar Messages

  • Sales Order (VA01)- Addtional Data Tab B Request

    Hi All,,
    This is sales order(VA01) relevant and I have added the new "ZZFIELD" field in the "Additional data B" which i kept screen painter attributes check box chosen "Input Field" and Input "required".
    When i am creating sales order(VA01), the moment click on "addtional data B"  ZZfield become mandatory input field able to save sales order sucessfully after keying data. But user want's, after enter line item data which is material & qty , then cursor required to go additional data B which is mandatory field ZZFIELD. Right now, user enters line item material , qty and he is able to save it Sales order  and cursor is not going or waiting at ZZFIELD in addtional data B Tab(unless and unitl he press Additional data B Tab) .
    Is there any solution after user enter material and qty after clicking enter cursor should go "Additional data B" wait at "ZZFIELD"(as this mandatory field before sales order save) ? 
    If we dont go the Additional data B and save the document , it's not giving the message "Make an Entry required fields and it is directly saving the document.?
    Any help is highly approciate ....
    Below code written already:
    Program:SAPMV45A screen :8459 put PBO code as per below:
    Loop at Screen.
    If screen-name = 'VBAP-ZZFIELD'.
      if SY-TCODE = 'VA01' AND ORDERTYPE = 'ZSS'
        SCREEN-INPUT = 1.
       MODIFY SCREEN.
      ENDIF.
    ENDIF.
    Best Regards
    Kushal

    Hi   Abdul ,
    You dont have to do ny extra coding for the scroll bar once the no of fields increase with respect to the tsb screen area it will automatically have a scroll bar in it .
    Hope it helps
    Regards
    Swapnil

  • Changing PO date to Actual GI date in Delivery from SALES ORDER(VA01)

    THe Actual Requirement is...Whenever I create a SALES Order with PO date this PO date should automatically trigger in Actual GI date field in Delivery.
    I just want to share my solution before I get some help from you Guys.. I have actually used a userexit MV50AFZ1. This was working fine for me when they are creating the order manually.
    But the client's requirement is that.. it should work for automatic process.. this is nothing a FILE Is being send to SAP through MIDDLEWARE and IDOC get triggers with that... So the CLients wants when this process is happening he wants the PO date of the Sales order to be the ACTUAL GI DATE in Delivery.
    Can you please help me out with this Aumatic Process...

    Shivakumar,
    U would need to check the inbound FM associated with the particular IDOC...you would need to make similar changes as you did in MV50AF71 to fulfill your requirement.
    Regards
    Anurag

  • Sales Order Item Change Date and delta flag

    is there a field for Sales Order Item Change date in MC11VAOITM?
    Also is there a flag that tell if a record is a delta or not once it is extracted to BW?

    You may be aware, any changes to a document will be recorded in CDHDR (for header changes) and CDPOS (for item changes).  You can explore these two tables.
    thanks
    G. Lakshmipathi

  • Sale Order VA01

    I trying to create sale order VA01 with reference of contract but contract not showing when I search.Can you guys help me to find out how to assign the contract to a sale order.
    Thanks

    Hello Sunil,
    Contracts can be created in Tcode- VA41, Enter the document type according to your requirement. There are many kind of contracts such as quantity contract- QC, general value contract- WK1, Material related contract- WK2, Service contract - SC, Rental contract- RC or QP and master contract- GK.
    Key in the required details and save the document. Create the sales order in VA01, click select with reference, you will find the pop up window where you will get six tabs, amonst em click on contract and enter the selection criteria and you will find your saved contract. If you want to change the quantity or value click on item selection which lets you to change the detail or else click on copy button.
    This how it works. Let me know if you have any doubt.
    Regards,
    Jay

  • Find Sales Order Item Basic Data by Elements query fails

    I am trying to consume Find Sales Order Item Basic Data by Elements in .NET 3.0.
    Every thing appears to be working fine -- I could query by PO number, Creation time, SalesOrganisationID etc.
    However, the most basic query is mysteriously failing. I just want to query by Sales order number, and have given a valid sales order number 6718 that exists in SAP.
    It fails giving the following errors:
    (in Log.LogItem.Note variable):
    <b>"Conversion failed: Invalid input format"</b>
    (in Log.LogItem.TypeID variable):
    <b>"701(SFB)"</b>
    Code is pretty simple, and I am just trying to query Saler Order number 6718. Of course there is nothing wrong with its format.
    From the ESOA site, all I could get was:
    <i>----
    QUOTE -
    The following values are optional selection criteria for restricting the search result:
    SelectionByID – Document number range
    INCLUSION_EXCLUSION_CODE
    INTERVAL_BOUNDARY_TYPE_CODE
    LOWER_BOUNDARY_ID
    Value
    UPPER_BOUNDARY_ID Value
    Value
    UNQUOTE -
    </i>
    I could not even have any  documentation on what to put in InclusionExclusionCode, and IntervalBoundaryTypeCode. They apper to be some Global Data Types for which I couldn't find any documentation. By sifting through Wiki, I just guessed a couple of values praying that it may work. I am a bit new to ESOA, but have expertise in .NET 3.0. Would someone guide me where to find the documentation for that, where are the error codes listed, so that I make the queries with little better preparation.
                querydata.SelectionByID = new SalesOrderERPItemBasicDataByElementsQueryMessage_syncSalesOrderERPItemBasicDataSelectionByElementsSelectionByID[1];//Single element array is good enough
                querydata.SelectionByID[0] = new SalesOrderERPItemBasicDataByElementsQueryMessage_syncSalesOrderERPItemBasicDataSelectionByElementsSelectionByID();
                querydata.SelectionByID[0].InclusionExclusionCode = "E";
                querydata.SelectionByID[0].IntervalBoundaryTypeCode = "6";
                querydata.SelectionByID[0].LowerBoundaryID = new SalesOrderID();
                querydata.SelectionByID[0].LowerBoundaryID.Value = "6718";
                querydata.SelectionByID[0].UpperBoundaryID = new SalesOrderID();
                querydata.SelectionByID[0].UpperBoundaryID.Value = "6718";

    How do you test with a SOAP Client  - I am trying to use same dataset as provided?
    I did with WSDL Test - SAP, SOAP Client and got the following error:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
       <soap-env:Body>
          <nr1:SalesOrderERPBasicDataByElementsResponse_sync xmlns:nr1="http://sap.com/xi/APPL/Global2">
             <Log>
                <MaximumLogItemSeverityCode>1</MaximumLogItemSeverityCode>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
             </Log>
          </nr1:SalesOrderERPBasicDataByElementsResponse_sync>
       </soap-env:Body>
    </soap-env:Envelope>
    Thanks..
    Vikas

  • Load a sales order with delivery date in the past

    Hi,
    We want to load in the system a sales order with delivery date in the past, and maintain the schedule delivery date in the past. To do that, in the customizing Sales And Distribution / Basic Functions / Delivery Scheduling and Transportation Scheduling / Define Scheduling By Sales Document Type, I selected the flag Blackwards. But the problem is that the rest of the dates in the scredule line: goods issue date, loading date, material avail.date and transportation Plan Date, are in blank and you cannot enter any data because the system deletes it.
    How can I have these dates informed with dates in the past?
    Thanks in advance,

    You can control this using the "Message Control" in the SAP IMG.
    Supplier Relationship Management>SRM Server>Cross-Application Basic Settings>Message Control>Influence Message Control
    Using this you convert Error to Warning or even swith off this message.
    Please refer this thread for complete steps:
    Re: How to change an error message to a warning message in SRM
    Note: you need to suppress the messages relevant to your case here.
    Regards
    Kathirvel

  • Sales order schedule confirmed date will consider Production capacity load

    As we know about schedule confirm delivery dates of sales order will consider based on material master lead time ,shiping point etc
    How to consider production capacity plan on sales order's delivery date.
    Say for example :
    Production workcenter capacity to produce the XYZ material 10qty in a Day.
    today i have created the sales order XYZ materail qty of 100. lead days has give based of MMR 21 days 17-07-2010( 3 sundays)
    and in same day i have created other sales order XYZ material qty 5000 ,the lead days again it will came 17-07-2010.
    Now my client requiremnt is when the schedule days is confirming in the sale order it sholud also consider the production capacity planning also(CR01,CR02)
    Even though my work centers are overloaded it is confirming the sales order on 17-07-2010 (based on leads days in MMR)
    Need your Inputs on issue

    Hi,
    This is a complex issue; best solution is by using APO/GATP.
    If not, then in ERP only, the second best is:
    1) Work with assembly processing in SO, meaning that a production/planned order is automatically created in the customer order during order creation.
    2) Then, after the order is created it is scheduled, and the delivery date proposal is based on that.
    3) Now you can check in the order that there are no capacity overloads, and all capacity required to produce on the proposed date is available. If yes, you're done. If not, it gets a bit complex, since you actualy need to switch to capacity planning, do capacity leveling and dispatch (PP), and the you get a new feasible schedule proposal based on that.
    APO/GATP could do all that automatically!
    Regards,
    Mario

  • Complete MRP status according to Sales order schedule line data

    Dear All,
    Please help me to get technical configuration releted to
    "complete MRP status according to Sales order schedule line data"
    or MRP w.r.t. Schedule line
    Please send fields and table and logic specification .
    Thanks & Regards,
    Ashish Gautam

    You can use following Fm for change sales order
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument     = p_vbeln
        order_header_in   = s_order_header_in
        order_header_inx  = s_order_header_inx
        behave_when_error = 'P'
      TABLES
        return            = it_return
        order_item_in     = i_order_item_in
        order_item_inx    = i_order_item_inx
        schedule_lines    = i_sched
        schedule_linesx   = i_schedx.

  • How to create a Contract with reference to a Sales-Order(VA01) with a BAPI

    Hi,
    my name is Wadim and i need help.
    My problem:
    I am creating a sales-order(VA01) with the BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'.
    After that i have to create a contract(VA41) with reference to this order. I found the BAPI "BAPI_CONTRACT_CREATEFROMDATA" and it has the same interfaceparameters like the salesorder-bapi. but there are no parameters to get a connection to the sales-order.
    Is it even possible to get a connection to a sales-order with a bapi???
    thanks for help
    regards mark
    Edited by: Krapp Wadim on May 20, 2010 9:19 PM

    Hi Wadim,
    I have a similar requirement to create order lines in an existing contract with reference using  BAPI_CUSTOMERCONTRACT_CHANGE.  The order lines get created in the contract. However, the condition types from the order line which i'm referencing are not getting referenced and are not getting added in the Contract's line after referencing.
    Did you come across any such issue ? If yes , could you suggest the solution ?
    Regards,
    Venkat.

  • Free goods Not determine in Sales order(VA01)

    Hello Gurus,
    As Iam Creating Sales Order(VA01). In the back end I have done each and every configuration regarding free good determination then also the system is not determine the free goods
    Apart from that Iam going through Exclusive free goods.
    So please give me the Solution where Iam missing.
    Regards,
    Sukdev.

    Hello Gurus,
    As Iam Creating Sales Order(VA01). In the back end I have done each and every configuration regarding free good determination then also the system is not determine the free goods
    Apart from that Iam going through Exclusive free goods.
    So please give me the Solution where Iam missing.
    Regards,
    Sukdev.

  • Changes in Netprice(KOMP-NETWR) While Creation Sales Order(VA01)

    Hi expert ,
    My issues while creating sales order(Va01) is :
    i have added two conditions types namely YVAT and YNBT in Condition , while calculating netprice (NETWR) its picking both values for YVAT and YNBT , i want only netprice excluding YVAT and YNBT , for example
    NETPRICE is  3000.00
    YVAT      is      50.00
    YNBT      is       30.00
    NET         is       3080.00
    but i want to display only 3000.00 in NET(KOMP-NETWR)
    please suggest  is there any user exit to do this calculations.

    Hi,
    I'm not sure if you need to update ADRC table - the address number is usually the the customer's address and is picked automatically.
    Also the transport zone is picked automatically based on the customers address or on the shipping conditions in the Sales Order.
    Transportation Zone (LZONE) also exists in the partner function (VBPA) and the shipping partner (VTPA) - in case you need to suggest a different route for shipping other than the one determined automatically.
    To change this - change both the internal tables table xvbpa and xvtpa (after reading with sales order and item from structures vbak and xvbap) in USER_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ.
    But, I'm not sure if the Address Number (determining the shipping point) would be independent of the Transp Zone, though it's changed in the exit.
    Regards,
    Anil.

  • Sales Order - Requested Delivey Date

    Hi All,
    Please help me resolve this requirement.
    In sales order we have a field 'Requested Delivery Date', Normally the requested delivery date is default todays date only. If not proposed by system, we have to enter it manually.
    In our project we have maintained cusotomer calendar, where some dates in an year are specified.
    Only on such dates order is possible to be delivered to the customers.
    While creating such order, we get an information message, that "no goods accepeted on 24.06.2008, the next possible date is 28.06.2008"
    This date (28.06.2008) comes from the cuustomer calendar attached to the customer master in view Unloading points.
    Now how can this date be automatically copied to the requested delivery date field so as to make the order not possible to be delivered on the todays date, & only possible to deliver on the date (28.06.2008) which is the date from customer calendar.
    I repeat, instead of automatic determination of req delivery date, or instead of manual entry, system should pick the date automatically from customers calendar after entry on Ship to party in the sales order.
    Regards
    Dhananjay

    Hi,
    sorry I just forgot to share it with all.
    See, our requirement was sales order should have delivery date into it, not proposed by system by to be fetched from the calendar maintained in the ship to party customer master record.
    We acheived this by using a feild exit for Data element "KETDAT" - Requested delivery date of the document.
    In this we incorporated the logic like to fetch the date from the calendar, additionally a function module "DATE_CONVERT_TO_FACTORYDATE" was also used.
    Whenever user creates a sales order, the system date automatically comes by default, by is replaced by the date from calendar, & a message is also passed "Change in the route calendar date"
    I am glad to inform you this worked out very well.
    Hope this is helps you all.
    Regards,
    Dhananjay

  • Changes in Sales order materail availabilty date.

    What is impact if we change Sales order materail availabilty date in sales order user exit using some program.

    Hi Mayuresh,
    Big impact.  Impact is smaller if you only intend to push the date into the future.  Could be a big problem if you move the date backward in time.  This means that YOU are now assuming responsibility that the Sales orders will be delivered according to business requirements.  You are also assuming responsibility for ensuring that all ATP data is consistant for these changed orders.
    SAP has constructed their ATP checks so that if you follow their best practices, the system will maintain the Material Availability date according to the business rules you have set.  Any time you artificially move this date backward, you are overriding all of the rules you have set into SAP.  Moving the date forward is usually less of a problem, except that it implies that you intend to send the materials to the customer at a later date.  As long as your Sales dept and your Customers accept this, then it can be done.  With testing.
    Some issues:
    MAD of a particular order affects ATPs of all other sales requirements for the same plant/material.  Altering the MAD of one doc could cause another confirmed sales doc to go on backorder.
    MAD is also passed to MRP and Cap Planning as a requirement.  Altering MADs will probably affect your forecasts and the feasibility of your production plans.
    If this is a non-negotiable requirement for your business, you need to test thoroughly all possible business scenarios.  Everything in Quote-to-Cash, and everything in Procure-to-Pay, using both forward scheduling, backward scheduling, and 'today' scheduling.  Also, you will have to be very careful HOW you change this date (which userexit).  SAP generally recalculates many dates and quanties in a sales doc each time it calculates MAD. All of these dates and quantities need to be consistant for the system to work properly.
    I have participated on a project where this was done.  We had a dozen expert users testing for three  weeks before we signed off and implemented in the live system.  After we implemented, we were STILL making emergency changes to the code and to the business procedures, two months after the implementation.
    Regards,
    DB49

  • Add buttons in Sales Order's Addtional Data B Tab

    Hi All,
    I want to add buttons in Sales Order's Additional Data B tab. I had try to draw a creen in painter and push a button in the screen, also assign a fcode to it.
    I had try to test the button, and I find that, it could work, but after it's action, a error msg give out and said there are no this request function.
    I think it may cause by the fcode passing between screen. However, I don't know how to fix it. Any sample coding could for me reference?
    Thanks!

    Hi,
    yes u can add the button  with Fcode on Additional data B screen.But u have write the code in the PAI of the screen,inorder to do something,for that u need to have accesskey also...i hope while adding fields to Additional data B screen u ahve used teh accessskey for adding..zfields
    Regards,
    Nagaraj

Maybe you are looking for

  • How do i combine my apple id's, how do i combine my apple id's

    I have two accounts because i changed my email address a while back.  I have purchases on both user names and they are both in my name and have my credit card info attached to both.  I would like to combine my accounts in order to access all of my mu

  • Help on inporting from external drive

    when I drag my imovie files to idvd from the external drive, it does not take, I see my options as 1. make them into quicktime movies and then drag them 2. install idvd to my external drive. Any thoughts, thanks

  • Changing controlling areas

    Hi All, I want to know if the co area in cj20 can be changed , if it can be changed please tell me how to change the co area from 1000 to 2000

  • Installation oracle 9iDS and OCI.dll

    When installing 9iDS, the installation cannot copy the oci.dll file, retry does not work. Installation only proceeds if the copy of oci.dll is ignored. Scanning the net, there are numerous occurrneces of end users having problems with oci.dll. The pr

  • DBA_* tables - is it a dynamic or static?

    Hi, We have RAC database in which we have 10 instances.(Host 1,Host2 ...Host10) I would like to clarify that if i need to check locks using the below query in all the host. select from dba_dml_locks where name like '%$obj%';* select from dba_ddl_lock