How to use KAUF_AUFNR_CHANGE  to change Process order and Update a field

Hello ,
I am working on 4.6C system and I hve a requirement to change Process order and Update a field value passed from a ABAP Program. I am looking for suitable Function modules or Bapi ( available in 4.6c) .
I have come across FM KAUF_AUFNR_CHANGE . Would appreciate any guidance on how to use the FM in my program and Update a field in the Process order.
Many Thanks!

All the importing parameters of this function module have a striaght structure of the transperent tables...
i have checked the code and it has a modify statement based on the importing parameter..
pick one record in databas and pass it to the importing parameters, with some values changed...
i think that should work
what values  to pass the import values of FM -KAUF_AUFNR_CHANGE.
Edited by: ssm on Aug 4, 2011 7:19 PM

Similar Messages

  • How to use a single page for create and update mode.

    Hi,
    I need to develop a single page to be used for both create and update modes.
    I am going to use a variable MODE
    and i will set this in the emp summary page.
    Based on the button clicked by the user i have to render the JSF page.
    For tis if the user selects a perticular and cliks on update thn i will pass the empno to the next.
    so there in the next i will appy a ViewCreiteria on my View Obj to fetch only that row so that only that emp will be displayed ion update mode.
    This is working fione for me.
    So now the issue is
    when the user clicks on CreatEmp button.
    i need to enable my VO for insert operations.
    for this i wrote the code like this in the beforePhase event
    FacesContext ctx = FacesContext.getCurrentInstance();
    ValueBinding valBinding = ctx.getApplication().createValueBinding("#{data}");
    BindingContext bContext = (BindingContext) valBinding.getValue(ctx);
    DCDataControl dcControl = bContext.findDataControl("DataControl");
    Application app = ctx.getApplication();
    ApplicationModule am = (ApplicationModule) dcControl.getDataProvider();
    System.out.println("After Appmodule initiation");
    // get the VO reference and initiate the query
    System.out.println("Before Page VO initiation");
    PrismDmPageSectionViewImpl vo = (ViewImpl)am.findViewObject("View");
    //ViewRowImpl row = (ViewRowImpl) vo.createRow();
    /* TO CREATE AN EMPTY ROW*/
    Row row=vo.createRow();
    System.out.println("New Row is created");
    //vo.createKey(row);
    vo.insertRow(row);
    vo.setCurrentRow(row);
    By doing this a new empty page is rendered.
    But when i fill up the values and click on ok.. i am getting the error like this..
    JBO-27023: Failed to validate all rows in a transaction.
    JBO-27027: Missing mandatory attributes for a row with key null of type View3
    JBO-27014: Attribute Id in View3 is required
    JBO-27014: Attribute PageeId in View3 is required
    Please point me out where i am missing.
    Thanks

    Hi,
    In my opinion you are over complicating things.
    This is what I do for using the sme page as both create and update without all this code.
    1) Create a browse page containing a an adf table with a select one component bound to your view object.
    2) Create an additional edit page containing only an edit form containing fields of your view object that your users must enter in order to add or edit rows.
    3) Link the pages in the JSF diagram with an "edit" navigation case from browse to edit page and a "return" navigation case from edit to browse (make sure that redirect option is NOT set on both cases)
    4) Remove the submit button from the edit page and add two application module bindings for the commit and rollback operations as command buttons in the form footer facet. Make sure that both buttons has an action of return and that their disabled property is set to false. You will probably change their labels to ok and cancel respectively.
    5) Drop a create action for your view object from the data control palette inside your page as a command button and set the action property to edit also.
    3) Set the action property of the view button to edit
    This should basically work without any code from your part. -- at least it does so for me -- if you like to make it a bit more funcy you may add am action listener inside your buttons and set a requeScope variable for example #{requestScope.editing} to true or false depending on the button clicked. Then add a title to your page with a value like #{requestScope.editing == true ? 'Editing record' : 'Adding a new record'}..
    Hope that helps.
    Thanassis

  • COR2 (Change Process Order) Upload & Data Change Using BAPI OR RFC

    Dear Experts,
                       I want to change the Transaction cor2(Change Process Order) material 1st line quantity, after that i have to upload records from line 2. I have all the data in itab. Will you people please have a suggestion to change and Upload data at the same time in a single program using some BAPI or RFC.
    Which BAPI or RFC will be helpfull in this regards.
    Thanks,
    Sohail

    I have done it through BDC recording, change on first line, then upload using bdc from 2nd line.

  • How to use BAPI_SALESORDER_CHANGE to change payment terms in Orders?

    Can any body give me an idea on how to use BAPI_SALESORDER_CHANGE to change payment terms in Orders?
    Regards,
    Dantham Conpolwedson

    Hi,
    try the link
    Link:[https://forums.sdn.sap.com/click.jspa?searchID=24060901&messageID=7265357]

  • How to get the all process orders and outbound deliveries based on material

    Hi Team ,
    I need one help from you regarding the MB 56 transaction.
    My doubt is : How to get the all process orders and outbound deliveries based on material, plant and batch?
    Please help me regarding this.
    Thanks & Regards,
    Srikanth.

    Hi,
    You can use ST05,to trace the program and find out,
    hope it will help you...
    thanks and regards,
    veera.

  • How to view the characteristics in process order

    Hi, How to see the characteristics in process order screen which are assigned in material master classification view. say, created a material and assigned some characteristics in classsification view. for the same material created a process order. like to see those characteristics in process order. is it possible. please advise.

    raju
    to see this characteristic in the process orden you should go to Header >> CO Classification. If you want to add a characteristic, this should be added to SAP_KKR_CLASS. Characteristics for material  (001) are not the same than those for CO Classification (013), so you should develop some special report (we did some special developmet for the printing of order forms )
    regards

  • What is correlation ? when and how to use it in BPEL process?

    Hi,
    What is correlation ? when and how to use it in BPEL process?
    Thanks

    Hi:
    Take a look at this entry http://blog.andrade.inf.br/2010/03/oracle-bpel-11g-correlation-sets.html
    thx
    best

  • How to use warn about changes property with page menus

    how to use warn about changes property with page menus

    Hi,
    If u will enable this property, then u will get warning message as a popup in case of change of state of VO.
    Regards,,
    Gyan

  • How to use type cast change string to number(dbl)?can it work?

    how to use type cast change string to number(dbl)?can it work?

    Do you want to Type Cast (function in the Advanced >> Data Manipulation palette) or Convert (functions in the String >> String/Number Conversion palette)?
    2 simple examples:
    "1" cast as I8 = 49 or 31 hex.
    "1" converted to decimal = 1.
    "20" cast as I16 = 12848 or 3230 hex.
    "20" converted to decimal = 20.
    Note that type casting a string to an integer results in a byte by byte conversion to the ASCII values.
    32 hex is an ASCII "2" and 30 hex is an ASCII "0" so "20" cast as I16 becomes 3230 hex.
    When type casting a string to a double, the string must conform the the IEEE 32 bit floating point representation, which is typically not easy to enter from the keyboard.
    See tha attached LabView 6.1 example.
    Attachments:
    TypeCastAndConvert.vi ‏34 KB

  • How to use buttons in hcm process and forms?

    Hi Experts,
    I want to know how to use buttons in HCM process and form.
    And when i click on the button it was validating all the fields and it was throwing an error ( complete SACHP fields) i am not using this filed in any where of my form.
    So, please help in getting out of this error. And help me with some document, which method will  trigger once we click on the button.
    Thanks & Regards,
    Rocky

    You do not need to add this field to your list. In the view V_T588MFPROPS (SAP delivered), this field is set as mandatory. In configuration, you must maintain the view V_T588MFPROPC (Customer area) and make sure the field is not set to mandatory. This will override the SAP delivered setting and the error message will be not be displayed.
    Derrick Banks
    Banks & Company, LLC

  • Difference between process order and Production order

    Hi Experts,
    Can any buddy tell me the difference between process order and production order. Why process order is used for process industries. Why do we use recipe for it and routing for production order ?
    Regards,
    Amit

    Hi Amit
    There is a difference between production order and process order.
    Supposing a 10,000 lit tank is being manufactured in discrete manufacturing. You have to follow the necessary routing steps and can make by physically seeing its development stage by stage. For this type production you can have a production order.
    In case of process of order if some chemical in a reactor is loaded with intial temp of 30 C and need to be heated to 80 C then there is phase change. Hence we use Heating as an operation and the change of temp is phase. For such type of process we process order.
    Hope this is useful. Pl reward.
    Nanduri

  • How to create stock in Make to order and make to stock segments?

    Hi,
    Could u please tell me how How to create stock in Make to order and make to stock segments?
    Regards,
    AS

    Hi,
    If you are processing production order, use tcode MB31with mvt type 101, system will create stock. This method is same for both make to order and make to stock scenarios.
    For initial stock upload you can use 501 or 561 mvt for make to stock and for Make to order use same mvt typt with special indicator E.
    Regards,
    Dharma

  • When I copy and paste from Word to my e-mail using Firefox it changes the font and spacing to single and 10pt. It just started doing this a month ago. It does not do it when I am on my laptop or using Explorer. Help, I hate explorer.

    When I copy and paste from Word to my e-mail using Firefox it changes the font and spacing to single space and 10pt.
    It just started doing this a month ago.
    It does not do it when I am on my laptop or using Explorer.
    Help, I hate explorer.

    If this were a project that I was involved in, I would recapture the media at the correct frame rate and rebuild the sequences correctly.
    Moving from production, to post production, to delivery is a series of steps, and the success of any particular step is based on having all the preceding steps done correctly.
    Shortcuts and workarounds tend to create awkward and difficult problems, that often only surface late in the process.
    MtD

  • Process orders and Production order in PP

    Hi,
    In our case Process orders are used in most of the case ,than production orders. Pls tell wheather Process orders are also pulled by the extractors(PP) and behave similar in all the Standard PP reports. and what is the diffrence between Process orders and Production order??
    Regards
    Nair

    Hi
    In PP, you can see Production Planning and Production Planning -Process Industry
    Production order is for manufacturing industry
    Process order is for process industries where input raw material is processed to arrive at end product.Process order keeps shop floor person aware of processing status.If your client's business have many processes than manufacturing you might come across more processing orders
    Regards
    N Ganesh

  • Process orders and Production orders??

    Hi,
    In our case Process orders are used in most of the case ,than production orders. Pls tell wheather Process orders are also pulled by the extractors(2LIS_04_PEARBPL,2LIS_04_PECOMP
    ,2LIS_04_PEMATNR,2LIS_04_P_ARBPL,2LIS_04_P_COMP,
    2LIS_04_P_MATNR) and behave similar in all the Standard PP reports. and what is the diffrence between Process orders and Production order??
    Regards
    Nair

    hi,
    both are similar but varies with industries.
    Process order- used in chemical industries- involves process like heating, melting etc.
    Production order- used in car industries- assembling, drilling process
    Assign Points if useful
    Ramesh

Maybe you are looking for

  • Since I upgraded to os 7 my voice memos are not recording and syncing with Itunes.

    In the app the recordings show 0 time and when I sync with Itunes there is no recording listed at all. Any thoughts?

  • Media Center Deluxe II Recording Quality

    I am trying to find a better quality format to record DVD's with. The 720x400 does not seem to be sufficient for recording high quality DVD's with. Can anyone recommend a better compatible codec or fixes for this limitation? I am recording in NTSC_M_

  • Web Gallery photos bouncing back

    When sending photos from the iPhone to a Web Gallery, the message bounces back with this error: Relaying denied, try authenticating. I was under the impression that in order for a Web Gallery to show up on the iPhone, I had to be logged in correctly

  • Airport Express and MacBook

    I am about to go mad.. unless someone can help. I have a MacBook 10.5.4; a Mac Mini 10.5.4 and an old Graphite iMac 10.4.11 - I have 3 x Airport Express Base Stations with speakers/printers connected thro' out my house - they have been configured to

  • Partitioning External Hard Drive

    Dear Forums I want to partition my external hard drive into 3 sections: 1: Mac Only for video editing/backup etc (HFS+?) 2: PC for video editing (NTFS?) 3: Both MAC & PC to transfer music and photos (FAT32?) I have recently made the switch to Mac and