Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all 8332 articles
Browse latest View live

change an implemented Input-Module in an Include for TABLECONTROL

$
0
0

Hi all,

 

I need your help here. I would like to change the content of  an implemented Input-Modul in an "Include for TABLECONTROL-Input-Module". There is a sign (gen), so I guess it has been generated. What is the proper way to execute this? I have not been working with Includes in function modules for a long time.

 

I am careful here because of the (gen) in the description of the include. When I see the content of the module, it has been written and changes have been made in the Include. I am carefully here thhough. Please a quit response.

 

Thanks.


Default screen for a particular tab is appearing when i press F4 for a field. how to avoid this?

$
0
0

whne i press F4 for a fiedl(Material here) always default screen of particular tab is coming. i am not able to choose other tabs. Are there any settings to avoid this and able to choose any tab.

Suggest Flow for the ALV of Single Bounce and Double Bounce sales order

$
0
0


Hello Experts,

 

   Please suggest flow logic to buld alv for single and double bounce sales order.

 

requirment as follow

The selection screen need to have two fields.

One is Sales Organisation. And second is the date range, both are mandatory.

The output needs to display the following fields

Sales Org(Manufacturing)  Sales order(Manufacturing) Sales Org(Originating) Sales Order(Originating) Customer Number(From Originating sales order)

 

some logic provide by them

 

 

 

Based on the selection criteria, VBAK need to be used to
capture all the sales orders that have been created in that date range by using
VBAK-AUDAT.

 

 

Extract sales orders of type ZGOR only by checking
VBAK-AUART.

 

 

 

 

 

For each order, check the VBKD-BSTKD to get the Purchase
order number.

 

 

And immediately  check
EKKN VBELN to see if it has any account assignment.

 

 

If it has no value in EKKN-VBELN, ignore that sales order.

 

 

 

 

 

If the PO has value in EKKN-VBELN, then that is the sales
order number from associate.

 

 

Get the PO number from VBKD-BSTKD and check if it has any
value in EKKN-VBELN again.

 

 

If it does not exist,
display the sales order and the corresponding details in the output.

 

 

This corresponds to Single Bounce.

 

 

 

 

 

If EKKN-VBELN exists, then that is the sales order number
from the associate.

 

 

Get the PO number from VBKD-BSTKD and check if it has any
value in EKKN-VBELN again.

 

 

If it does not exist,
display the sales order and the corresponding details in the output.

 

 

This corresponds to Double Bounce.

Call SAP script from BADI for Labels

$
0
0

Hello Experts,

 

 

 

Can we call SAP script from BADI for triggering Labels via SAP Scripts?

 

 

 

If yes, how the the structure values will be available in SAP script which are prepared in BADI.

 

 

 

Thanks in advance for your help.

Images should vary based on Input in Smartform

$
0
0

Hi, 

 

My requirement is to display images in Smartform. Its Simple and working fine.

 

Now, I would like to display images based on my Input. Images should vary based on Input.

 

For Example:

 

Sales Order No: 1 should display Image 1 and

Sales Order No: 2 should display Image 2.

 

What will be my logic and where should i insert the logic in smartform.

 

With Regards,

Sudhir.

Need to Change code in SAP SCRIPT?I am not able to edit it.

how to make 2 selection fields in one row

$
0
0

hi experts,

 

Iam new to webdynpro abap. I have doubt in webdynpro abap.I am creating selection screen in webdynpro abap.In this screen i am having 4 selection screen fields.but my reqirement is first two selection screen fields would be in first row.how to achieve this reqirement.plz let me know the solution.

 

Thanks&Regards

ananth.

Smartfrom: Displaying multiple images based on Input

$
0
0

Hi!

 

I've uploaded four images (01/02/03/04) in SAP through SE78 and I have two windows (01/02) on a Page.

 

My requirement is:

 

If the input is Sales Order 01, Window 01 should fill with Image 01 and

                                           Window 02 should fill with Image 02.

 

Similarily,

If the input is Sales Order 02, Window 01 should fill with Image 03 and

                                           Window 02 should fill with Image 04.

 

Kindly let me know the solution.

 

With Regards,

Sudhir.


BDC in User exit

$
0
0

Hi All,

 

Is it possible to code BDC inside a user exit.

 

Thanks,

Venkat

Make Field as editable in table control

$
0
0

hi,

 

how can i make field as editable in PAI after loop and endloop.

 

i checked the scn threads, for After the loop in PAI sloution is not their.

 

regards

S.kavitha

Need Customer Exit or BADI for VA01

$
0
0

When the billing document is created i want to change business area field.. the same change should be reflected

in accounting documents as well.

 

 

 

I already tried all the exits available in VF package(SMOD) ( break-point in these exits are not executing when I execute VA01 transaction )

 

 

 

any suggestions to change the Business area would be appreciated.

 

Thanks and regards

Arkantos

Read Text inside a table cell of a smartforms is not working.

$
0
0

Hi Experts,

 

Greetings for the day,

 

I am using a Read_Text function module inside of a table cell of a smartforms, but it is not working as expected.

The purpose is to read a item level text of Purchase Order, but it is not picking for all the items.

 

When I am going for debugging, there also I am not getting the texts in target table.

 

I have also tried the same from driver program, but did not got any profit.

 

Please give me some suggestion(s) what I should do, and help me out.

 

Thanks,

Sombhu

To calculate interest on Project down payments, value type 12

$
0
0

Hi All,

 

We have a requirement to calculate the interest on Project Expenses and Project down payments. At present we are able to calculate the
interest on project expenses. Whereas for Interest on project down payments cannot be achieved in standard system due to other dependencies.

 

Here is the below process.

 

  1. Posting Down Payments to Projects with or without reference to Purchase Orders
  2. Clearing of above down payments.  

 

At present the system is reading the line items from the COEP table for value type 4 and respective business transactions.

(Value type   = COEP-WRTTP)

(Transaction = COEP-VRNGN)

 

Along with the above, need to consider the below.

 

Need to consider the line items belongs to Value Type: 12
with business transactions: KAVO, KZAO, KAZV, KAZM,KAZN.

 

We identified the below enhancement to achieve.

 

KPSHZIN1 - Modification of Line Item Table

 

KPSHZIN2 - Check Line Item Relevance

 

However, we are not able to find the program / enhancement where Line items with value type 4 are read from COEP table for interest calculation.

 

Once that is found, we can add Value type 12 and necessary transactions to the particular table.

 

Any help would be appreciated.

 

Regards,

Barkha

sap script problem : qm certficate changes in driver program are not reflecting in sap script output

$
0
0

Hi,

I am told to make changes in sap script of qm. so i copy sap script :QM_QCERT_01 and print program RQCAAP00. Now i need to add another table value

qamv and qase. I changed print program but changes are not there in sap script.

client server details

$
0
0

how to get project  landscape server details in real time  like (development ,quality) to put in sap logon pad?


how to create an xml from xsd in abap

$
0
0

HI Experts,

 

   i want to create an xml file from xsd and i want to validate an xml file against an xds.is this possible in abap.if it is possible can any one give me an sample code

for this one.

 

how to create an xml file in abap.i have seen so many blogs which parses the xml file but i didn't get blog for creating an xml file.how can we do that one.

 

any suggestions will be appriciated

 

thanks in advance

 

With Regards

Naidu

Open Dataset does not work

$
0
0

Hi Experts,

 

I have some problems using the ABAP command OPEN DATASET to open a file, which is placed on the Application server. First I have created a directory on the Application server, named test . After that I have placed a file named test1 to that directory. This was done on a first test-system and everything worked fine.

 

After that I copied the source code, created a new report on another system, where already a directory (test) for my use existed. So, I placed my file (test1) into that directory using transaction CG3Z. I can see that file and open it using transaction AL11. The problem now is, if I am executing my report, I get a message: No such file or directory.

 

I don`t understand that as I not have changed the source code and the file is available in the directory as I can see.

 

What can happen?

 

Best regards,

Tobias

How to delete all objects in a package?

$
0
0

Hello,

 

I've seen a similar question here. But is there a tool or a smart way to delete all objects in a dev class or a transport request?

 

Best Regards

Volker

pdf creation for all copies in smartform

$
0
0

hi frnds,

             I am facing a problem in smartform. i am using copy window for generating copies..

  

                            when creating pdf , not getting pdf for all copies.. can you help me out....

 

 

 

 

 

 

 

 

 

 

Thanks and Regards

sudip

BAPI_PO_CHANGE

$
0
0

Hi,

 

I want to delete STO through BAPI 'BAPI_PO_CHANGE', but i always gets error "No data changed".  Is there any parameter i m missing..??

 

CLEAR gs_poitem.

REFRESH gt_poitem.

gs_poitem-po_item       = '00010'.

gs_poitem-delete_ind    = gc_x .

APPEND gs_poitem TO gt_poitem.

 

 

CLEAR gs_poitemx.

REFRESH gt_poitemx.

gs_poitemx-po_item      = '00010'.

gs_poitemx-po_itemx     = gc_x .

gs_poitemx-delete_ind   = gc_x .

APPEND gs_poitemx TO gt_poitemx.

 

REFRESH gt_return.

CALL FUNCTION 'BAPI_PO_CHANGE'

   EXPORTING

     purchaseorder     = <fs_ekko>-ebeln

   IMPORTING

     expheader         = gs_expheader

     exppoexpimpheader = gs_exppoexpimpheader

   TABLES

     return            = gt_return

     poitem            = gt_poitem

     poitemx           = gt_poitemx.

Viewing all 8332 articles
Browse latest View live


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