Quantcast
Channel: SCN : Unanswered Discussions - ABAP Switching, Enhancing, and Adapting Standard Programs
Viewing all 716 articles
Browse latest View live

Bringing item level custom field values into route detemination EXIT_SAPL0VRF_001

$
0
0

Hi Experts,

 

We are working on a custom route determination solution and using EXIT_SAPL0VRF_001 to achieve this. To achieve the desired solution, we need to utilize an item level custom field in this User exit.

In this exit, i see that I_VBAP carries the item level data, This table has our Z field, but NOT the value.

Can you please suggest the place where we can pass the Z field values into I_VBAP?

 

 

Thank you

Kris


Enhancement to ES32 transaction

$
0
0

Hi All,

I Have a requirement where i have to add a new field to the transaction ES32 at the billing document level. i have find a customer exit EBIA0001 which is for custom defined fields at billing document level. below attached file is the screen shot in which i have mentioned where exactly i need to add the field. Please help me find the solution.

How to limit the size of main window height according to the 15 line items?

$
0
0

Dear All,

i create table on main window on smart form , i need to make 15 item only on table on one page if more than 15 not display after 15 item but display item number 16 to 30 on next page

 

please can any one help me ?.

thanks

Sales Order To Delivery Restriction

$
0
0

Hi All,

 

We have a Sales Order scenario with Deal Items where the main Item say 10 and the related items say 11,12,13,14,15 always need to be delivered together. We are working in a Routine we have ensured that if only the child items are delivered, then it is errored out in that routine.

 

 

However, if only the main item say 10 is delivered and the child items are not , then it is going through to delivery where as it should not.

 

To restrict that , I had to use a select statement on VBAP in the routine . We are looking to avoid the select part as it can lead to performance issues.

 

Please suggest if FM is available or any other way, where we can have the details of child items for line item 10 by which we can determine that the Delivery should be stopped. The primary need is to avoid the select.

 

The main issue is to identify the child items when only then main is selected fro delivery.

ADDING A FIELD TO THE TRANSACTION ES32

$
0
0

Hi All,

I Have a requirement where i have to add a new field to the transaction ES32 at the billing document tab. i have find a customer exit EBIA0001 which is for custom defined fields at billing document level. is it the relevant one to add the field or is there any other way.  below attached file is the screen shot in which i have mentioned where exactly i need to add the field. Please help me find the solution.

 

 

Thanks and Regards,

Mohammed Farooq

Getting time dimensions from date

$
0
0

Hi,

 

I have an filed ZDATE in my datasource which is getting populated from 0DATE.

I want to pull HALF YEAR , CALMONTH , CALQUATER from this field. Do we have a standard FM for doing this.

Please help.

 

Thanks in advance,

Moumi

Creation of custom event...for triggering custom table in BTE

$
0
0

Hi,

    I want to create custom event and require that event to trigger created custom table on insertion or updation of record for that particular table...can any one help me with the procedure for creation of custom event....PLZ reply ASAP

THANKS in Advance....

To check serial number field emptiness.

$
0
0


Hello experts,

               I have a requirement where, in  MIGO if Serial number doesn't exist in the field of serial number, new  customized serial number must  auto-generated and populated into field of serial number.  I am using badi method " IF_EX_MB_DOCUMENT_BADI~MB_DOCUMENT_UPDATE."

 

In which table can i check if  serial number is empty? Is there a way to extract this serial number using material , quantity , plant .

 

Thanks in advance,

Prakrita Kapoor.


Enhancement ACCOBL01 does not work with coding block subscreen in BDC?

$
0
0

Hello

 

We did search the forum but no problem/solution was found for the problem we are facing today.


We have a coding block subscreen with some ZZ-fields.
When we manually execute transaction FB01, we get to see our ZZ-fields on the screen. Which is normal because of the filed status of the GL Account.
When I enter in debug on this transaction, and I stop in the exit EXIT_SAPLKACB_002 of enhancement ACCOBL01, I can consult the structure CI_COBL. At this point, we see our ZZ-fields are filled with data in CI_COBL. Which is good because then we can add some code in the user exit and do some checks on these fields.

Now comes the tricky part, and our problem.


When we create a batch input session for transaction FB01 and proces this session in foreground. I go in the debug mode and stop at the same line of code as I did while I was manually posting... I can also consult CI_COBL, but this time the ZZ-fields contain no data! While I clearly saw that all the fields where filled in the screen! So at this point, my code in exit_saplkacb_002 can not check this fields.

 

Does anyone have an idea what might be wrong?

 

First thing that came up to me was the fact that when we do the posting manually (FB01), the extra fields are attached on the standard SAP screen. But when we post via batch input session, the screen with extra fields is a popup. Maybe it has something to do with this fact?

 

Good to know: we use a custom program to create the batch input. We do not use RFBIBL00 because we have to much custom functionalities.

 


All ideas are welcome! Please ask for more info if this is necessary.

 

Many thanks in advance!

Workflow task not updating DB table when executed in background mode

$
0
0

created a workflow for material change reversal. created a rfc which reverts the changes when user rejects. used bapi bapi_material_savedata. workflow works perfectly when the task is kept as foreground and updates the db table based on the user decision from the gateway.  but when executed in background WF is completed and even sent the mail but the DB table is not getting updated. Also written my own code in the rfc to update the table but its not working in background mode but its working perfectly in foreground. It will be a great help if someone suggest some solution to this issue. Its bit urgent.

 

thanks in advance.

 

ravi shankar.ch

Custom Fields in IH12 (RIIFLO10), for Equipments

$
0
0


Hi,

 

I've added some custom fields to structure CI_EQUI and implemented some user exits to get those new fields on the appropriate dynpros in transactiosn IE01, IE02 and IE03. This works perfectly well.

 

Unfortunately, I cannot add those new fields to the functional locations structure list in IH12.

First those new fields had been missing at all when trying to customize the list's fields. Hence, I've added the structure CI_EQUI using an append to one of the list's structures: RIHEQUI.

 

As a result I now can select those custom fields from the equipments available fields. At least I tried. While I can select those fields and confirm this selection, after returning to the list, nothing happens. The custom fields to have some content, however the tree control does not update nor does it contain the fields in any way.

 

Strange thing is, I've previously done almost the same by adding custom fields to structure CI_IFLOT, technical location. Those fields can be added in IH12 list.

 

Is there anything I did made wrong?

 

Thanks,

Michael

User Exit / Badi before save tranfer order

$
0
0

Hello. I'm looking for User Exit / Badi before saving the transfer order (transaction LT01). User program looked, but not anything suitable. Must be able to check all the positions created by the transfer order and title. Maybe someone solved a similar problem?

User Exits for Sales and contract orders not working for line items.

$
0
0

Hello Experts,

 

I have a requirement to validate partner functions in sales orders and contract orders under two conditions as below,

 

1) When i press enter.

2)When i press save button.

 

Now i have coded in Include MV45AFZZ  under the subroutines   USEREXIT_MOVE_FIELD_TO_VBKD and   USEREXIT_SAVE_DOCUMENT_PREPARE.

 

I have the following behaviour.

 

1)Partner functions are getting validated at both header level and item level when i press save button.

2)Partner functions are getting validated only at header level when i press enter, it is not getting validated at item level at my enter condition.

 

Could you please help me with correct user exits which gets triggered at item level of the documents, I have used all the exits in the include MV45AFZZ.

 

Your immediate response will be of great use and am very thankful to you

 

Thanks,

Satish

SE39 Split Screen Editor Functionality

$
0
0

Hi ,

 

I am trying to develop parallel code comparison tool on similar lines of SE39. SE39 employes separate container for different codes, I am trying to compare XML files. Any reworked code on Comparison On, next difference,Previous difference and previous identical cursor.

Capture.PNG

 

Thanks

Mohinder

Field Catalog is not found

$
0
0

Hi, friends I have used function module like this.

 

But Iam getting 'fieldcatalog not found' error.

 

CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
   EXPORTING
*   I_CALLBACK_PROGRAM             = SY-CPROG
    IS_LAYOUT                      = WA_LAYOUT
    IT_FIELDCAT                    = IT_FCAT
    IT_SORT                        = IT_SORT
    I_DEFAULT                      = 'X'
    I_SAVE                         = 'X'
     I_TABNAME_HEADER               = 'IT_FINAL1'
     I_TABNAME_ITEM                 = 'IT_FINAL'
     IS_KEYINFO                     = KEY
   TABLES
     T_OUTTAB_HEADER                = IT_FINAL1
     T_OUTTAB_ITEM                  = IT_FINAL.


Runtime error in implementing a BADI.

$
0
0

Hello Experts,

                     I have requirement to incorporate certain logic by creating an implementation in BADI "workorder_update" . I have coded the logic but i get a runtime error stating that "Invalid COMMIT WORK in an update function module."   When i explored further I found that this error is arising from function module "  BAPI_MATERIAL_PLANNING " for which I have coded as below ,

 

   CALL FUNCTION 'BAPI_MATERIAL_PLANNING'
            EXPORTING
              material       = it1-matnr
              plant          = it1-werks
*            MRP_AREA       =
*            PLAN_SCENARIO  =
             MRP_PLAN_PARAM = it_mrp_list
*            MATERIAL_EVG   =
            IMPORTING
*             MRP_STATISTIC  =
              return         = t_return
*            TABLES
*              mrp_lists      = iit_mrp_list
*             EXTENSIONOUT   =
            .


*checking if  return result from BAPI_MATERIAL_PLANNING  was success.
          IF l1_return-type = 'S'.

           CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
*            EXPORTING
*              WAIT          =
           IMPORTING
              RETURN        = t_return
                    .




          ELSE.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
         IMPORTING
             RETURN        = t_return
                    .

endif.

 

Thanks & regards ,

Prakrita Kapoor.

Getting time dimensions from date

$
0
0

Hi,

 

I have an filed ZDATE in my datasource which is getting populated from 0DATE.

I want to pull HALF YEAR , CALMONTH , CALQUATER from this field. Do we have a standard FM for doing this.

Please help.

 

Thanks in advance,

Moumi

Change program associated with standard tcode

$
0
0

Hi Everybody !

 

I would like to change the program associated with a standard Tcode to remplace it with a custom one.

For exemple: I have a tcode "std_tcode" that points to "std_program", what I want to do is to make "std_tcode" points to "my_program".

I am trying to assess the consequences of doing so.

 

When I try to manage a standard tcode, I have the current message "Message TR852 - Make repairs in foreign namespaces only if they are urgent " and I don't know what this mean.

 

Thank you for your help.

VOfm tcode

$
0
0

Hi,

 

I am trying to maintain 'VOFM'  tcode, but its  giving the message that  'Object 'TFRM' cannot be blocked, it will be displayed' and not allowing to maintain the new entries. I have checked the lock entries in SM12,but there are no lock entries found. Still it is giving the same error. Please advice, it is urgent.

 

 

Rgds,

Khadeer.

Updating serial number in IE01 .

$
0
0

Hello experts,

 

               I have a requirement where in   IE01  if sernr is not provided in serial number tab  I need to  generate a customized serial number  . For this  I am using exit  "IEQM0003 "  . Once I generate the serial number how can i display the generated serial number in the respective field on screen .

 

Thanks and regards ,

Prakrita Kapoor. 

Viewing all 716 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>