Adding a field in the SAPScript

Hi Experts,
I want to add a 3 fields in footer window and 1 field in main and 2 field in address window of Medruck can any one guide me with sample code very urgent

If your driver program is not in your control and you want to display the fields not existing in driver program use the below code,
Rough Example:
Ex.
/: PERFORM <Subroutine name> IN PROGRAM <subroutine prog name>
/:USING &<field name>&
/:CHANGING &<field name1&
/:ENDPERFORM
Then create subroutine pool program and you have to write the code.
FORM ><subroutine name> tables int_cond structure itcsy
outt_cond structure itcsy.
data : value(20), value1(20). "do your own declarations
Read int_cond table index 1.
value = int_cond-value.
value1 = value1 + value.
Read outt_cond table index 1.
outt_cond-value = value1.
Modify outt_cond index 1.
ENDFORM.
Just rough idea given above.
OR
if driver program in control make the fields available on your driver program and write the fields
<b> in footer window &FIELD1& &FIED2& &FIELD3&</b>
Regards,
SaiRam

Similar Messages

  • Adding Custom Fields to the Recipe Management Workbench

    Hi Experts
    I'm trying to add fields to the Quatities Tab of the recipe dependent and the stage dependent formulas
    in RMWB (Recipe Management Workbench).
    I've added other fields to the Input and output tab by appending the frmls_iot_scr structure and then doing the layout setup
    in SPRO but where and how do I go about adding fields to the Quantities Tab and is there a BADi that can then be used to fill
    those additional fields.
    Any help would be much appreciated.
    Regards
    Vic

    Hi Vic,
    There are no exits or BAdI for extending the fields for the view quantities. New fields must be added at the structure FRMLS_TOTALS and added into the customizing table FRMLC32 as col_id. Then the processing of the fields is still to be programmed. The function group is FRML600.
    You can use also a copy of the group group.
    Best regards,
    Roland

  • Adding few fields to the ODS based on a condition

    Need suggestions in adding few fields to the ODS based on a condition.
    The following is the requirement.
    Do a calday and 'Sales Org' based selection:
    0CALDAY=20041101-99991231; All Sales Orgs except AM01
    0CALDAY=20030701-20070930; All Sales Orgs except AM01

    Hi Dolly,
                   You can do this by writing a simple end routine in your transformation rules.It is just an  conditional statement.
    In that statement write
    If <RESULT_FIELDS>CALDAY EQ 20041101-99991231 and If <RESULT_FIELDS>Sales Org NE AM01
    <write the statements which populate the fields>
    endif.
    In the same way you can write the code.
    Hope this helps
    Regards
    Karthik

  • In BDCs, after adding one field to the screen, which one is the better proc

    Hi,
    My client requirement In BDCs, after recording the legacy data by using MM01, After some time adding one field to the screen, How can we record the  for the new field.
    If any one knows pls help me total process.
    Warm regards,
    Venkat.

    Identify the screen in which this new field is added and simply add one more line to add the bdc record for this field in that screen.
    If the screen is also entirely new, then you have to identify the previous screen, the okcode to go to this new screen and finally the next screen and the okcode to go to the next screen along with the field BDC record.
    I don't think it is necessary to redo all the recording as long as you can follow the existing code.

  • Steps for adding a new field in the sapscript

    pls give me the step by step procedure to insert a new field in the sap script.
    like wat i need to to do in the form layout/line editor
    and wat n how i need to change in the print program like subroutine, etc..
    where should i use the itcsy structure?

    Hi,
    This will give you a step to step procedure for SAPScript.
    <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf">SAPScript</a>
    regards,
    Amit
    Reward all helpful replies.

  • Fields missing in SM30 after adding new fields to the table

    Hi ABAPers,
    I added a new field & marked another field as primary key in the table. Then I generated the table maintenance view for the table in SE55 and adjusted Database utility SE14.
    When i saw the table in SM30. The number of fields in the overview screen of SM30 shows less field then existing in table. i.e in my table i have 10 fields(3 primary). in SM30 it shows only 5 fields(3 primary + 2 normal fields)
    In SE51, the overview screen of the table show less fields in the field list..
    I want all the fields in the Table maintenance overview screen. Please suggest me a way forward friends..
    Note: the system is 4.0B.
    Thanks...Suresh Kumar

    Hi
    You have to re-generate your dialog for SM30 by table maitenance generator.
    - From Se11 go to table maitenance generator
    - Choose update icon
    - Set flags for NEW FIELD
    - Go to expert
    - Set flag to re-generate dynpro
    Message was edited by: max bianchi

  • Adding new fields to the data flow

    Hi,
    I am currently planning to add some new fields in one DSO and map it (with info source) in the update rules.
    Will adding new fields to Info source - Comm. structure affect all the update rules connected to it?
    The info source is connected to multiple DSO.
    (The data source is currently under enhancement for these fields). Once this is done, we have to replicate it to BW.
    Thanks,
    Naveen

    yes.
    Once the enhancement is done for data source in r/3 side, you will have to replicate the datasource in BW.
    Adding new fields will deactivate the update rules. You have to map the same in update rule and activate the same.
    This will require activation of  transformations, update rules, etc for related DSOs. Try to find out the where used list for the DSO where you want to add the new objects. Then check each objects whether these are activate after the changes. If these are inactive, you will have to activate all the objects.
    Cheers
    Chanda

  • Adding custom fields to the condition table in CRM

    Hi all,
    Our requirement is to download the sales conditions type from R3 to the CRM system. In one of the condition table we are trying to add shipping point( VSART ) and Special processing indicator (SDABW).
    For that we have added the fields in the structure CND_MAPT_ACS_REM_CUST (Comm. Structure Condition Exchange Customer Exit R/3 Fields) and we have added the fields in the field catelog in transaction ( /SAPCND/CTCT - Maintain Condition Tables). Then we have mapped these fields in the view V_CND_MAP_CNVFLD.
    Finally we run the adapter object of that particular table to download the details from R3, but the condition table in CRM is not getting activated, so the adapter object is giving the error.
    Please help in this.
    Thanks & Regards,
    Raghuram.

    Hello Raghuram,
    I feel that your issue is similar what i have faced, refer to my post:
    Link: [Issue in customer specific price;
    For solving this you can refer to detailed steps in,  Note 514952 - Download of customer-specific tables.
    Also additionaly you may need to run the report /sapcnd/rv12n001, as i also had to do so.
    If not solved then let me know the relevant message in SLG1
    Regards

  • Adding new fields in the layout.

    Hi gurus,
    I have a requirement in which i need to change the layout of a report v.25 through transaction VOKF. Actually i have added one field VDATU in the table VBMTV and the fields of this table are getting displayed in the output but not all fields. so through the transaction VOKF a variant has been created with some fields and there is also option for additional fields addition. But the field which I have added new through append structure doesnt appear in the possible value fields.
    So do anyone have any solution for this or if anyone has ever encountered this type of issue.
    Thanks in advance.

    I have added the field VDATU in the Structure VBMTV and the structure is active. This field is getting filled in the my Standard report and and is displayed only when change the layout after displaying the output.My requirement i need this field by default in the output.
    Thanks in advance.

  • Adding Special Field in the line item display

    Dears Through SPRO settings, I added the field 'Group Account Number' (ALTKT) for the GL line item display.
    It is now transported to Quality.
    When I try to see that field in the change line item layout, I could not find that field for inclusion.
    However, in the SPRO of Quality, I find that field already appearing.
    Why it is not appearing in the FBL3N special field screen ?

    Hi Niki,
    I am not sure how you have added this filed but if you follow these steps you will have it.
    1- Run FBL3N and make your settings and execute it (F8).
    2- Go menu Settings > Special fields (You can run it by t code OBVU out of FBL3n also)
    3- Add a new entry, select your field (BSEG ALTKT Group account number) and save it
    4- Back one step (F3) and select "Change layout..." icon.
    Now you have the field in "Hideen fields" column. Just select it as "show selected fields"
    Regards,
    Omid

  • Adding new field in the table for Output

    Hi ,
    I need to add a field catalogue as Payment method in the condition table for Output, but the payment method field does not exist in the table. Can this be done?
    regards,
    Ragu

    Hi Refer below link on sdn for adding new Field
    Adding New Field to Catalog
    Adding New fields to field catalog

  • URGENT:: regarding adding new field in the info type0002

    Hi,
    I have added tax number in the 0002 info type through pm01 and CI include and then i creatad a sub module to calll the TAX NUMBER.
    the added field is appearing in T588M table for that screen, but it is not appearing when i tryed to open a emploee that new field is not coming in the info type screen.
    do i need to call this sub screen some where else.. if so please help wherei  need to do what...
    Please help on this...
    Thanks suresh

    Hi suresh,
    You should also add the field into the screen through program MP .. 0002.
    I advise you to add it from the P0002 structure which is the red dotted icon on the top part of screen maintenance screen.
    Regards,
    Dilek
    P.S. Please reward if helpful

  • Adding new field in the TCode FBL3N

    Hi folks,
              We want to add New filed (Vendor Name) in the final output of TCode FBL3N. We added field in the 'Change Layout' option in the application tool bar. Now the field is coming on to the output, but with no data. What to do to get data into the Vendor Name field in the output. My doubt is whether it is Functional Consultant's work (Configuration work) or Abaper's work....pls help me regarding this...Thanks in advance....
                Santosh.

    Hi any answers to the above Question.
              Thanks,
              Santosh

  • Questions on adding z fields to the standard extractor, Please reply !!!

    We have 0material, 0customer in our daily process chains where we do full loads daily, now we need to make that delta loads so that we can reduce the time of the execution of the pc. I know that these extractors can be delta enables but the problem is we have a few z fields for these extractors, like 20 fields for 0material and 3 fields for 0customer and currently we are doing full loads for these 2 infobjects. I want to know if these can be delta enabled so that zfields will be delta enabled. I mean in short if we make these delta enabled, will the z fields will come along with the standard fields since we are adding the z fields to the standard tables. Do we need to handle the code separately or is their any complicated code written along with it in the CMOD or just adding the zfields will bring the delta to BI. Please provide some links or any information on this regard. Please let me know if you need any other information. Thanks in advance.

    Hi Daniel,
    Deltas would be extracted based on some specific fields such as timestamp, dates or some kind of numeric pointer.
    In your case, lets say if you have some date field for eg. Changed on in your table on which delta would be picked up then that delta should also fetch up changes related with address.
    If this address field is directly present into your main talbe then changes would be directly picked up without any need of logic because table containing changed on date <your delta relevant field> also contains this address field.
    But if this address is coming up from some other table then some sort of logic should be written to populate the changes in address field with respect to that "changed on" date field.
    Rgrds,
    Nilima

  • ADF to BPEL - Adding additional field for the web service call

    I have an existing ADF project that invokes a BPEL process. Recently I added 2 new fields to the bpel process and I want to populate this additional fields from the ADF when calling the bpel process.
    What is the best way to do this ? I dont see a way to regenerate the data control. Am I missing something ?

    correct, i am using the WS data control
    I manually added the 2 new fields in the ProjectName.xml and pagenamepagedef.xml files and also he necessary code in the bean class . But when i run it i still dont see the vallues passed to the bpel process.

Maybe you are looking for