How to change status fields for delivery vl01n or vl02n

Hi guys, I am new here.
I would like to ask how can we change the status field (LFSTK & LFGSK) in internal table IT_XVBUK and IT_XVBUP after we manipulate the quantities in the delivery order screen. I have tried BADI = LE_SHP_DELIVERY_PROC, Method = SAVE_DOCUMENT_PREPARE, but unfortunately, I can't change those status field from there. Is there any other alternative(eg user exits etc). Please help.
Many thanks.
weng

You can script it. So on you docReady event put xfa.form["#subform"].locale="en_CA" or "en_US". Or even assign it from a value in an xml element.
Kyle

Similar Messages

  • Vendor change in PO for delivery charges after MIGO

    Dear All,
    System is allowing to change the Vendor for delivery charges even after the MIGO has been done, without any message (warning/error). The Vendor field is editable in PO, even after MIGO.
    Vendor was changed, But at the time of MIRO system is showing the old vendor, not the changed one.
    Problem is explained with one example-
    PO created with "Freight" Delivery charge - with vendor ABCD.MIGO was done.
    After MIGO the exact vendor for the Freight was know, Vendor XYZ . As system is allowing to change it without message, it was changed. No change log is there for the changed vendor.
    But now at the time of MIRO, system is suggesting u201CPlanned delivery costu201D for Vendor ABCD, not for XYZ.
    So how to proceed as the payment has to be done for the new Vendor XYZ.
    Please suggest.
    Regards,
    Vijay P.Bhaware
    Edited by: vijaypb on Aug 28, 2011 4:40 PM

    Hi,
    Please check SAP Note 549408 - Conditions modifiable after invoice receipt for the same.
    THis will resolve your issue.
    Symptom
    You already posted an invoice receipt for a purchase order with delivery costs, but no goods receipt yet. After that you can still change conditions of type 'B' (Delivery costs) via Transaction ME22 or ME22N in the purchase order.
    Solution
    Refer to the attached advance corrections.
    In addition you must adjust message V1631 as follows:
    Change the short text of the message via Transaction SE91 as follows: <Z1> No new delivery costs must be entered after occurred GR/IR.
    Extend the long text by the following passage in section 'Diagnosis': <Z1> After an occurred invoice receipt the change of delivery costs is not allowed in the purchase, either, as information for the correct process are no longer available and the postings can no longer or not without errors be carried out, particularly after the deletion of posted delivery costs for subsequent cancellations or invoices.
    Regards,
    Sandesh Sawant

  • How to change the Field Symbol, so Adobe Forms takes it as a Table?

    Hi guys,
    I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
    But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
    What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
    I looked at Adobe Form, and found this:
    The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
    Does someone have any idea?

    Hello Taly,
    To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
    You have done it correct partially. I have replicated your scenario and steps are below -
    1) Create a Z structure
    2) Create Z Table Type
    3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
    4) Design Form as -
    5) Code driver as -
    *& Report  ZR_AF_FS_1
    REPORT  zr_af_fs_1.
    DATA: fm_name           TYPE rs38l_fnam,
           fp_docparams      TYPE sfpdocparams,
           fp_outputparams   TYPE sfpoutputparams,
           it_kna1           TYPE ztt_fs_1.
    * Sets the output parameters and opens the spool job
    CALL FUNCTION 'FP_JOB_OPEN'                   "& Form Processing: Call Form
       CHANGING
         ie_outputparams = fp_outputparams
       EXCEPTIONS
         cancel          = 1
         usage_error     = 2
         system_error    = 3
         internal_error  = 4
         OTHERS          = 5.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    *&---- Get the name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'           "& Form Processing Generation
       EXPORTING
         i_name     = 'ZAF_FS_1'
       IMPORTING
         e_funcname = fm_name.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *-- Fetch the Data and store it in the Internal Table
    SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
    * Language and country setting (here US as an example)
    fp_docparams-langu   = 'E'.
    fp_docparams-country = 'US'.
    *&--- Call the generated function module
    CALL FUNCTION fm_name
       EXPORTING
         /1bcdwb/docparams        = fp_docparams
          it_data                   = it_kna1
    *    IMPORTING
    *     /1BCDWB/FORMOUTPUT       =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error           = 3.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *&---- Close the spool job
    CALL FUNCTION 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error        = 3
         OTHERS               = 4.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    6) Output -
    BR.

  • How to change the field length in standard sap program.

    Hi All,
    How to change the field length in standard sap program.
    Urgent
    Example:
    Text1 type c length 75,
    To change :
    Text1 type c length 150,
    Point will be rewarded..
    Thank you,
    Vikram.C

    If the only solution is to change the sap standard program, simply change the program, it will prompt for an access key. This key can be retrieved in the SAP support portal (service.sap.com) at keys and requests, sccr keys, register object.
    Sometimes these actions are outsourced to a competence center, so maybe youre not entitled to do this, in any case ask a resident senior developer for support.
    regards, Rob

  • How to Change the Fields from Input mode to display mode

    Hi experts,
    Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER  in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
       Now, can anybody tell me how to change the field type from input mode to change mode?

    Hi Karan,
      In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
         Field Can Be Changed
    A     Field Cannot Be Changed
       Assing this values to your fields according with your requirements.
    Regards.
    Manuel

  • How to change bucket capacity for a certain date range (duration)?

    Hi,
    I need to update the bucket capacities of Resource at Vendor location in APO live cache for a particular period using BAPI_RSSRVAPS_CHANGEMULTI.
    Here I am executing BAPI by passing -
    Import Parameters:
    LOGICAL_SYSTEM
    COMMIT_CONTROL
    PLANNING_VERSION
    Tables:
    RESOURCE_HEAD
    (RESOURCE = Resource  " Test123
    LOCATION = Vendor Number/Loctaion
    CAPACITY_A = 5000.000
    NUM_OF_PERIODS = 001
    PERIOD = 02    " Day Wise
    UTIL_BUCKET = 100.000 )
    RESOURCE_HEAD_X
    (All corresponding fields X)
    RESOURCE_QUANMODEL
    (RESOURCE = Resource  " Test123
    VERSION = 01
    ENDDA = 02/25/2011
    BEGDA = 02/21/2011
    QUANMODEL = 8000 )
    RESOURCE_QUANMODEL_X
    (All corresponding fields X)
    [ I have a capacity variance:
    Resource = Test123; Capacity Varient = 01; Valid From = 02/21/2011
    Valid To = 02/25/2011; Bucket Util Rate = 100.000; Qty/Rate definition = 8000 ]
    Now, while I execute /SAPAPO/RES01 to display Capacity for that resource-Location-PlanningVersion, Its showing that 'Bucket Capacity' and 'SNP Bucket Capacity' get changed into 5000. But this change happend for all the days and not only for the duration I passed into Bapi (From BEGDA to ENDDA).
    How to change bucket capacity for a certain date range (duration)? Any help please.
    Thanks
    Roy

    I did it myself. Hence closing the thread.
    Solution:
    1. Get RESUID from /SAPAPO/RESKEY table by passing Resource as NAME.
    2. Call Function Module /SAPAPO/CRES_QUANPROF_UPDATE
    3. Call Function Module /SAPAPO/CRES_SAVE_FROM_BT
    For further help, change manually a single record in the 'capacity profile' in TXN /SAPAPO/RES01 and debug both the FM mentioned above.
    BR
    Roy

  • How to change status icons in Kopete?

    Default icons are really bad. There is an option to change smilies, but I can't find the option how to change status icons (online, offline, etc.).

    I think you'll have better chance of getting an answer for this on forum.kde.org.
    Or you could search KDElook for special kopete icons...

  • How to edit "Credit" field for lots of shots all in once?

    I can't seem to be able to know how to edit "Credit" field for lots of shots all in once.
    I made a mistake of not focusing on the autofill feature which did put my friend's name instead of mine.
    How to correct this mistake without modifying EACH shot been imported alone (and there is plenty of them), I don't know about you but it looks like a total time waste.
    Aperture 2.1.3

    I apologize,but this is just too much info for me to type.
    Go to Help >> Aperture User Manual and read
    Working with Metadata Views Page 281
    Working with Metadata Presets Page 284
    Batch Changing Metadata Page 288
    DLS

  • How to change the field lenght in stanard structure.

    hai Gurus,
    When I enhanced the standard structure for the 1st time I got warning but I could able to replicate and pull the data from r3 to bw. When I tried to enhance it again it is not allowing me saying i the need to enhance the standard data field length or need to add a custom field for this. Can you tell me how can change the field length for a standard structure?.
    Thanks, VP.

    hi,
    u can add a custom field of the required length to your structure and write the exit to populate it. If its a standard field I dont think you will be able to alter the length of the field.
    Regards.

  • Changing Status Profile for WBS Element

    Hi Freinds,
      How can we change the Status Profile for the WBS Elements.
    say for Eg : need to chage status Profile Z0000005 to Z0000008
    where they reflect in DB Table JSTO for OBJNR in filed STSMA
    Please suggest me the function modules or BAPIs
    Thanks in Advance,
    Ganesh

    hi,
    try the below given link
    [Changing Status Profile for WBS Element|Update WBS element;
    hope this helps
    Regards
    RItesh J

  • How to change default approval for ResourceAuthorizerApproval ?

    Hi,
    I'am new in OIM and I follow documentation where I found some predefined workflows. I'd like to use them.
    Could you tell me, step by step, how to change default approval for ResourceAuthorizerApproval (only for my new defined resource).
    I'm using OIM 11g and Design Console 11.1.1.3.0.2.0

    Ok, I made new tamplate (copy of existing one), there I changed Template Level Approval Process and set allowed resources. It seems to be ok :)
    If there are other solutions please share with me
    Thanks
    M.

  • How to apply formula field for a chart object in crystal report XI

    Hi
    how to add formula field for a chartobject, i tried the following code but returns invalid condition field.
    i want to show  different chart in same crystal report viewer with different coursestatus values.
    please suggest where ia m wrong.
                   FormulaField oFormulaField;
                   oFormulaField = new FormulaField();
                   oFormulaField.Name = "Status1";
                   oFormulaField.Text = "{CSP_PROCESS_REPORT.Coursestatus} = 'Mastered'";
                   oFormulaField.Syntax = CrFormulaSyntaxEnum.crFormulaSyntaxCrystal;
                   oFormulaField.Type = CrFieldValueTypeEnum.crFieldValueTypeStringField;
                    boChartObject.ChartDefinition.ConditionFields.Add(oFormulaField);
    regards,
    Padmanaban V

    i missed the following line in my code.
    rcDoc.DataDefController.FormulaFieldController.Add(oFormulaField);
    now it works......
    my next issue is that,
    chart returns True & False captions. but i want to show actual value. how its to be done
    regards,
    Padmanaban V

  • How to change a color for a row in ALV grid display

    Hi,
       how to change a color for a row in ALV grid display based on a condition.Any sample code plz

    Hello Ramya,
    Did you check in [SCN|How to color a row of  alv grid]
    Thanks!

  • How to change material component for a Purchase Order?

    How to change material component for a Purchase Order?
    I need FM .
    PLEASE help

    Dear ,
    Create PO with item category L....There in Item detail you will get tab for material.
    There click in component Button, it will take you to the component screen there you can assign and deassign components.
    Hope this helps.
    Regards
    Utsav

  • How I change the icon for iTunes songs?

    When I drag iTunes songs onto my desktop the icon is white with a gray iTunes icon. How can change this icon for all of my iTunes songs?

    Thanks Patrick. I used Control-Click on the actual audio file on my desktop opened the Show View Options menu and turned off the icon preview option. That changed my icons from gray with a white background to red with a white background which is exactly what I wanted.  You pointed me in the right direction. Appreciate it.

Maybe you are looking for