VOFM Routine Copy in ECC 6.0

Hi,
When I copy a VOFM routine in ECC 6.0 (say billing document routine 001 copied to 901) to a custom routine, I see some messages regarding the existing enahancement points & sections, which do not allow me to activate the copied routine. Can any one of you suggest a good practice to copy the routine in ECC 6.0 environment.
Thanks
BK

Hi,
  When ever you are copying it from the standard routine. The enhancement points and sections available in the standard will also be copied into the custom. So, Place the cursor on Enhancement-pont or Enhancement-section and right click select the option enhancement-> undo. Once you do this the enhancements will be deleted from custom routine and then you can activate it.
Thanks
Indira.

Similar Messages

  • Copy of VOFM Routines

    Hi All,
                  I Had Requirement to creata a new routine ( Copy of Standard Billing Routine - 003 ) .I need to copy the standard Routine -003 code and add some more code to it. When I see the standard code there are Enhancement Sections.Do i need to copy that also..? OR Can any one Guide how to create a Custom Routine..?
    Edited by: Prakash Naga on Nov 4, 2010 10:31 AM

    Hi Prakash,
    1. To create the custom routine goto VOFM transaction>Requirement>Output control.
    2. Enter the routine number start with 9xx and enter the application as V3 (billing)
    3. when you click on create button system ask you the access key for the new requirement routine.
    4. get the Access key and enter the required logic in the requirement routine.

  • Vofm routines

    hi iam doing an vofm routine in which i have to create an routine under FORMULAS
    -> CONDITION BASE VALUE!!
    the objective of my enhancemnet is to reduce installl price by the value of the measure!! can u  plss explain this!!!wat does this mean.
    n also wid the code!!!!

    Hi
    VOFM is the transaction where you can maintain Requirement routines, which are assigned through cusomization.
    To create a routine you need access key & routine no. starts with "9".for ex. 901,902 etc.
    one important thing to note that even if you have some syntax errors inside your routine, it will get activated without errors. So, you need to do Main Program check before activation.
    Refer to SAP Note no : 327220,381348,156230.
    So create a routine above 900 and copy the similar existing routine with code and do your changes as per your requirement.
    <b>
    Reward points for useful Answers</b>
    Regards
    Anji

  • Field symbols not working in data transfer VOFM routine

    Hi,
    I have been trying to set a value using field symbols, however for some reasons its not working. I am using a field symbol in a data transfer routine and the value which I am trying to set is a standard field outside the VOFM routine code.
    I am trying to set a  field gla_subrc which is actually a changing parameter.
    The actual paramter is gn_subrc of type sy-subrc and within the form the name is gla_subrc. I need to set this changing parameter gla_subrc using the data transfer routine.
    Is there a specific rule that field symbols dont work for changing paramters within subroutine or is there a specific syntax.
    The syntax I am using is
    ASSIGN ('(SAPLV50S)gla_subrc')  to <fs>. 
    I also used the local program name instead of main program but still that does not work. Tried using the actual parameter as well.
    Can someone please help me in this.
    Thanks & Regards,
    Naresh.

    I need to stop outbound delivery creation against STO using vl10b transaction. The only way to stop creation is using data transfer delivery VOFM routine.
    If i give an error message MESSAGE E001, this will give a hard error which is not acceptable. To avoid this, i use a perform message statment with message id and certain parameters which can displayed in a log.
    However to make sure this message is displayed in log, I am clearing a work area having specific data needed for delivery creation.
    Because of this clear, my error message gets captured in log but along with this another fake message is displayed in log which caused by the clear message.
    The user gets confused as he now sees 2 messages, 1 which is correct and other 1 which is fake and that confuses him.
    Data transfer routine is not the best place to give messages in log but we have very few options. The only way the system can give 1 message is if i set gla_subrc to 1. This is a variable which will help the system understand that the delivery should not be created as there is something wrong because the value is 1. Hence it will stop the creation and instead display whatever message i had passed to the log.
    I need to somehow set this variable to 1 based on lot of analysis that has been done in the past.
    Please let me know if there is any way by which we can fix this.
    Thanks & Regards,
    Naresh.

  • How to restrict issue the form through VOFM routine

    Hi Experts,
    I have  developed form using adobe form, I need to issue the output only one time, once the output issued again the output should not issue.
    I need to control this logic through VOFM routine...how to restrict ?
    Thanks in advance.

    Srinath,
    Use the below option.
    VOFM->REQUIREMENTS->O?P Control.
    Create a new routine.
    In the routine, check the table NAST using application, object key and message type. If you find an entry, set the sy-subrc value to 4 else set the subrc value to 0.
    Let me know if this helps.
    Thanks,
    Vikram.M

  • SRM 7.0 PO Condition are not copied in ECC po

    Hi Experts!!!
    i am facing the problem SRM 7.0 PO Condition are not copied in ECC po, Net price is Coming instead of Gross price. & is there any BADI why which i can Fecth the Condition Data From SRM Quotation to ECC.
    pls help me it is go-live critical.
    regards
    vikas

    Hi Masa,
    1. Do the texts need to be mapped in the  node that you hjave mentioned. Sould not the SRM texts be mapped to ECC textx by default . After all , it shoud be standard predelivered feature . I have not done any mapping but still the SRM supplier text in shopping cart line item , flows into ECC Material Text in ECC PO line item.
    i.e by default SRM supplier text in shopping cart line item = ECC Material Text in ECC PO line item.
    No other text from SRM SC or PO ir flowing into ECC PO
    Rgds
    Sumendra

  • Activating a VOFM Routine

    Hi Folks,
    I have made a VOFM routine in data tranfer->Sales activities.I have activated the program and also the entry in "Maintain:Data transport sales activities" But still i am getting an error "No frame work was found for the Include RV44A601".I have no idea which configuration is missing now please help.I have also tried using SAP program RV80HGEN first and then Standard SAP program SDINVOFM used to identify and repair missing table entries in the VOFM control tables TFRM and TFRMT but in vain..:(
    Attached are the screenshots.
    Error:
    Activated Program and Entry:
    Thanks in Advance.

    Abhishek,
    There is no need to activate the standard programs like SAPLV43A or RV**NNN program separately when you are creating a custom routine.Once you register the Custom Routine in SAP Service Market Place you will get the SCCR key so that you can proceed with the coding.Once the coding you can activate the routine using RV80HGEN.This will activate the routine.To cross check whether the routine has got activated or not you can check if there is an entry with your custom routine program name in the corresponding RV**NNN program.This is only for confirmation and there is no need to separately activate other standard programs or transport these program along with your custom routine.
    Running RV80HGEN will take care of activating the routine.The same activity needs to be done again once the TR is imported in the target client.
    If you want to run RV80HGEN automatically ( instead of performing it as a cut over activity once the TR is imported to target client ) you can tag RV80HGEN as XPRA along with your custom routine in the TR and get this imported to target client.XPRA will set RV80HGEN for execution once the TR is imported to the target client.
    You can refer to SAP Notes 86161 and 327220 for more info.
    K.Kiran.

  • VK11 condition check against MEK1 conditions: VOFM routins or UserExit/BADI

    We have Z condition types for prices(SD side)..and some Z condition types for Costs (MM side). My requirement is to check costs assosciated with the Material based on MM condition types when creating SD prices (condition records) and do vice versa and throw information/warning/error messages...
    In otherwords...when creating condition records from VK11 check against costs that are created in MEK1 and Vice Versa.
    I am trying to accomplish this in VOFM routines partially if not fully.
    Can this be achieved through VOFM routines.
    If VOFM is not the right place..what is the correct UE/BADI for this.
    Thanks.

    You already received an answer on this yesterday in a different post - why the new post?
    That aside, you don't understand the purpose of a requirement against an access in an access sequence.  The requirement prevents the access from being triggered (or allows it) at the time that the line item condition is analyzed for pricing (during the creation of an order/contract/etc.).  If the access is prevented, then the existing condition records for the access are never analyzed for a match.  It has nothing to do with condition record entry in VK11.  If you need to change the behavior of VK11, then use Runtime Analysis to check for BADI's or enhancement points in the transaction by analyzing the call stack.

  • Why SAP has provided the VOFM routines even though we do have User-Exits?

    Hi Experts,
    Pls. let me clarify about,
    1) What is the difference between VOFM routines and User-Exits?
    2) Why SAP has provided the VOFM routines, even though we are having User-Exits, BADIs?
    3) Is VOFM is meant for only SD module or we also use VOFM in other modules too, like MM, PP?
    thanq

    Do be careful about asking questions that sound like interview questions...
    > 1) What is the difference between VOFM routines and User-Exits?
    VOFM are type of user exit.
    >
    > 2) Why SAP has provided the VOFM routines, even though we are having User-Exits, BADIs?
    >
    Historical.  They were created before BADIs and CMOD user exits were invented.  The other "old" user exits in SD are the user exit forms.
    > 3) Is VOFM is meant for only SD module or we also use VOFM in other modules too, like MM, PP?
    >
    Only SD.
    > thanq
    You're welcome.

  • How to test VOFM routine for output cntrol-issue o/p when certain conds met

    Hai,
    I have created a vofm routine 903 for  the output type 'ZSH1'.This is for sales order output.
    The 903 routine changes the sy-subrc value to non zero if certain conditions met.
    My doubt is how to test this vofm routine? where can we check the status of the output processed?
    This output is to trigger a smartform.
    In my case the output smart form got displayed when I click on print preview even if the condtions met (or) dont met.
    Is this the correct way of testing?
    Regards,
    Bhaskar

    Hai All,
    Thanks for your replies.
    here my question is,
    how to test the VOFM (not manual )& where we can check the status of output issued or not issued?
    see the step 1.
    Step1: goto->va02->from the menu select 'issue output'->select the codition type in the displayed popup->click OK.
    after this where can I check the status of the output issued?
    or is the way I described in Step 1 is correct or not ?
    other way Step 2:
    goto VA02->enter order number->goto overview page->from Extras->output->header->edit
    in this page maintain the output type & click Save.
    after Save , is this the time to check whether the output issued or not? if yes where to check the status?
    or again is this the right way to test the VOFM.
    Regards,
    Bhaskar
    Edited by: Mbhaskar_comps on Dec 15, 2010 7:00 AM

  • How to createa CRM complaint as copy to ECC Billing document. is it

    Hi Experts,
    I have an issue. I want to create a complaint but I don't have a CRM billing. The billing is done only in ECC>
    However, I need to create a CRM complaint with reference to ECC billing. I want to copy the billing data to complaint.
    How to create a CRM complaint as a copy to ECC Billing document. is it possible?
    Does the badi: CRM_COPY_BADI_EXTERN, copy the ECC billing to CRM complaint ?
    Regards,
    ahm

    Hi,
    May I know as to where have you found that note 1433238. Could you please give me the navigation path please.
    Rgds,
    Phani KV

  • VOFM routines activation

    Hi Sap Guru's,
    As per my client requirement, I have maintained new routine in VOFM by using below navigation:
    routine names are 902 & 903 & their includes are RV64A902 & RV64A903.
    Now, when we move the changes to quality server then the routines are showing in VOFM but in standard program RV64ANNN it’s not
    available. (so when we run sales order then the includes 902 & 903 is not triggering)
    So I ran the standard program RV80HGEN.  (to activate VOFM routines)
    Then the routine names are populated into standard program RV64ANNN. (when we run sales order then the includes 902 & 903 is triggering & its working as expected)
    But same changes we moved to production server, so if I will run the same standard program RV80HGEN in production environment then all other
    customized routines also activating including my 902 & 903 routines.
    So please suggest me, how can I will overcome the situation.
    I have to activate my routines 902 & 903 only in production server.
    Thanks in advance.
    BR,
    Shabareesh

    Hello,
      but still I don't understand your perplexity:
    In order to avoid all confusions, we have planned to do below steps:
    Capture our routines in new TR with standard program RV64ANNN (Development server)
    Then we will move the changes to QAS server & check the result
    If result would be fine, then we will move the TR to PRD.
    this should be the standard and "best-practice" approach for any kind of change.
    Request you to confirm on above point or  we will go ahead to run RV80HGEN program directly in PRD.
    When you transport a newly created routine, you always need to run program RV80HGEN to be sure that it's correctly and completely activated. But it won't do any harm. Unless you moved to Production environment a routine that you don't want to activate: but this is not the correct and advisable approach.
    Best regards,
    Andrea

  • Bug in vi.lib routine "Copy from Folder to Folder.vi" in LabView 8.0.1

    There is a dataflow error in the vi.lib routine "Copy from Folder to Folder.vi" that is revealed by LabView 8.0.1
    "Copy from Folder to Folder.vi" is called by "Librarian Copy.vi". I use the Librarian sometimes because it is the only way to copy a file that may be found inside a built executeable at run-time. "Copy from Folder to Folder.vi" intends to delete the target before copying source to target, but due to a dataflow error actually calls for the delete and copy operations to be executed in parallel. Under older versions of Labview, the delete apparently executed before the copy, so the routine worked. In LabView 8.0.1 the copy is executed before the delete, so the file is properly copied and then improperly deleted.
    The fix is to fix the dataflow so that the delete occurs first. Alternatively since LV 8's copy function now supports overwriting, you could get rid of the delete entirely and just set overwrite = T.
    A LabView 8.0.1 example is provided. It should make a copy of itself in the enclosing directory, but it doesn't until you fix the bug.
    Attachments:
    copy-from-folder-fixed.gif ‏5 KB
    LibrarianCopyBug.vi ‏24 KB
    copy-from-folder-to-folder.gif ‏5 KB

    Hi Rob,
    Thanks for posting such a detailed description of the problem.  Thankfully, it has previously been reported, and will be fixed in the next LabVIEW release.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • How redetermine Partners in Copy controls (VOFM Routines) ?

    Hi All,
    I have a requirement.
    In all Sales to Sales copy control (all documents included) we need to redetermine Partner data from Customer Master on the creation date of new sales order. Basically partner data will not be copied from Old referenced document (except for sold to party)
    please reply .
    Thanks
    Revanth

    Hello,
    you could use some own data transfer routines ( in VOFM -> data tansfer -> orders).
    In standard there are the routines 1 (Partners Header) and 2 (Partners Item), which you could copy
    into the customer namespace and adjust to your requirements.
    In the customing of the copy control you only maintain the number of
    your data transfer routine on header  and /or on Item level.
    Regards Wolfgang

  • Data Consistency when Copying/ Refreshing ECC 6.0 and SRM-SUS 5.0 Systems

    Hello,
    We are planning a refresh / system copy of an ECC 6.0 and SRM-SUS 5.0 system
    The refreshes will be completed from backups taken of production systems refreshed onto the QA Landscape.
    I have referenced the following SDN thread that provides some guidelines on how to refresh R/3 and SRM systems and maintain data consistency between the systems using BDLS and changing entries that correspond to backend RFC destinations:
    [Is there a process/program  to update tables/data after System Refresh?;
    This thread is fairly old and relates to earlier versions of R/3 (4.7) and SRM (3.0).  We have heard that at higher system versions there may be technical reasons why a refresh canu2019t be performed.
    Does anyone have experience of completing successful refreshes of landscape that contain ECC and SRM systems at higher SAP versions (ideally ECC 6.0 and SRM-SUS 5.0)  Does anyone know whether it is technically possible?
    Are there any additional steps that we need to be aware of at these higher SAP versions in completing the copy to ensure that the data remains consistent between ECC and SRM?
    Thanks
    Frances

    I have seen this somewhere in the forum: See if this helps you
    BDLS: Convertion of logical system (SRM).
    Check entry in table TWPURLSVR.
    Check RFC connections (R/3 and SRM)
    SPRO, check or set the following points:
    Set up Distribution Model and distribute it
    Define backend system
    Define backend sytem per product category
    Setting for vendor synchronization
    Numbe ranges
    Define object in backend sytem
    Define external services (catalogs)
    Check WF customizing: SWU3, settings for tasks
    SICF: maintain the service BBPSTART, SAPCONNECT
    SE38:
    Run SIAC_PUBLISH_ALL_INTERNAL
    Run BBP_LOCATIONS_GET_ALL
    Update vendor BBPUPDVD
    Check Middleware if used.
    Run BBP_GET_EXRATE.
    Schedule jobs (bbp_get_status2, clean_reqreq_up)
    Convert attributes with RHOM_ATTRIBUTE_REPLACE

Maybe you are looking for

  • Itunes Crashes whenever i try to watch a Video

    With the new update Itunes has been crashing every time i try to watch a video. Help would be greatly appreciated.

  • LAYOUT CHANGE IN FBL1N

    HI EXPERTS ! The transaction code for the report we generate is FBL1N - vendor ledger. we require the vendor's bank detail in this report at the header i.e. vendor bank name , account no..(change layout of report for output ) this detail can be seen

  • Viewing PDF in Firefox issue

    I was wondering if anybody had any helpful information about how to view a PDF in Firefox. The web site that I use for school to access all of my class lecture notes is all in PDF format and I have no problem viewing the files in Safari but when I us

  • Return url for the current page

    Hi, I would like to know how to return the url for the current page?

  • Re-Activate my messaging Subscription

    Please I want to reactivate my messaging subscription again cause I canceled it by wrong and I want to re-activate it again please.. Am using nokia E63 thank you nokia team .. Youiia