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

User Exit For Unreleased the PO

$
0
0

Hello,

 

I develop code in Exit to re-release  when getting change in quantity or Net price of PO .

it is working well but problem is that when user change delivery date it does not ask for release that is correct , but

release strategy tab disappears and we can do MIGO for this PO , when we want to print preview it gives a warning with Draft PO and

It should be show PO only not Draft PO . So please let me know if somebody have any solution for this .

 

Thanks

 

Gaurav Sharma


creating form routine on event '01' in TMG

$
0
0

Hi,

I tried and failed to implement a simple form routine to check a table field value between 18 and 35 before saving to the table..

can anyone put up a simple code for the form routine?!

I have no idea on the structure of form routines.

Thank You.

Enhancement for VA02 on Ship-to-Party field BSTKD_E(Purchase order)

$
0
0

Hi Guys,

 

   I have a requirement for VA02(Sales Order change) ship-to-party field BSTKD_E(Purchase order no).

Initial Requirement:

When we provide any sales document number(1111), it should automatically hide the ship-to party field(Purc order no) value(i.e.,click on  item no->order data->ship to address),and moreover it(Purc order no) should display when we click on 'SAVE' .

Can you guys suggest me any enhancement(Badi/Exit).

 

For clear idea i am providing the screenshots.

 

 

Regards,

Sujay.V

abap program and Cats integration

$
0
0

dear Experts:-

    how can u help me please??

i want to develop ABAP code that helps me as an interface between RFID/Biometric reader machine(Time and attendance) and CATS.

that is i want to upload files from application server or any other which is input from the machine to Z table and then making any update on the format equivalent to the CATS format  by creating UI connecting(sending) the information to CATS!!!

 

please help me if u r clear with my Question!!!

 

give me help on RFC on this idea !!!!!

 

best regards,

 

Hahu

Getting Error message "Goods movement not possible with mvmt type 101" for BAPI_GOODSMVT_CREATE

$
0
0

Getting Error message "Goods movement not possible with mvmt type 101" for BAPI_GOODSMVT_CREATE

cannot understand "CALL METHOD super->constructor."

$
0
0

In abap oo programming, we know that constructor of each subclass must contain a "CALL METHOD SUPER->CONSTRUCTOR" statement in the implementation. But that's kind of weird. For example:

if the constructor of superclass is to output a constant like "write xxx", but I do not want to do this in the subclass, why I have to call SUPER->CONSTRUCTOR??

I really can't get it.

Why do I encounter runtime error when trying to display a form with Adobe LiveCycle Designer 8.1?

$
0
0

While trying to display a form, I selected "Layout" in Adobe LiveCycle Designer 8.1; the following is displayed:

 

LiveCycleDesigner8.1_issue.JPG

 

then the layout screen is displayed, but it's blank:

 

LiveCycleDesigner8.1_Blank_Screen.JPG

 

Question:  Why these are happening?  How to resolve this?

 

Some background info:  I had Adobe LiveCycle Designer 7.1 before, the layout screen was blank, so Live Cycle has been upgraded from 7.1 to 8.1 recently.  Any suggestions ?

SAP CRM Technical

$
0
0

Hi,

 

I am an ABAPer and want to learn CRM Technical, but I couldn't find any document or site related to ABAP CRM. Can anyone please forward me some good materials or suggest some good sites where I can download ABAP CRM materials.

 

Thanks in advance


SAP ALV list records distorted

$
0
0

Hi All,

 

I am facing an issue in ALV list display. The ALV is having lots of coloumns.

For that problem, I am using layout-colwidth_optimize to optimize the ALV display.

But in that case, in one of the decimal field column, I am getting '>' along with the value.

 

alv1.PNG

(Pls see the 'VONBT' col).

 

Now in case if I dont use col optimization, the lines in a records doesnt come in a single line.

 

alv2.PNG

 

I now find myself in a deadlock. If I use col optimise, I get that '>' sign. If I dont, I am not getting one single line.

 

Please suggest a way out.

 

Regards,

Saurabh.

changing field length in smarform n z program.

$
0
0

Dear All:

On selection screen following selections given.

Company Code :

Posting Date :

Document Numb:

Fiscal Year :

Entry date :

User name :

Cheque No :

 

I wish to change field length of the cheque no. which is alredy define as a 10..it is taking only 10 number in field..nw  functional requirement is it have take n numbers n also have to show in print also..

it is define like this  

PARAMETERS: S_CHQ_NO(10) TYPE C.

i have tried by changing s_chq_no(30) n also in smartfroms..

 

 

Thank you in advance.

 

swapna

Error in the BAPI_FIXEDASSET_CREATE1

$
0
0

Earlier this BAPI was working fine for me to create the asset. But now my functional team member has changed the configuration and deactivated the group asset creation. Now I am not able to create the asset using it. Error coming is Fill all the required fields. I have filled all the fields as previously when it was working but removed the group asset number from the depreciation table.  When I put the group asset field in the BAPI it is again giving the error Group asset is not accepting the data.

 

Is the group asset field mandatory in the BAPI.  Is their any way to bypass the mandatory check in the BAPI.

uploading excel problem....any way out....

$
0
0

Has anyone created a program in ABAP for uploading the long description from excel in mm03.If yes ,please do let me know.I have created one but couldn't able to upload more than 255 characters.Could anyone help me on this.Is there any way to do this.

I even tried using OLE ABAP but the problem is every time I have to break the text into several columns which is not possible , as descriptions are too long.I tried to go through CSV file and I did , but the requirement is through excel.

  My code for uploading is working fine through excel and its updating the mm03->basic data -> description but only those description whose length is less than 255.

ABAP Program not calling RFC in Background destination mode

$
0
0

Hi,

 

We are configuring a PI scenario RFC-to-SOAP. In the Sender Server ( in this case the ECC 6 system ) has got the RFC.

 

We have written ABAP program in ECC (Sender System) to generate data to PI through RFC in ECC 6.  In ECC,  ABAP Program is not generating data in background mode.

 

CALL FUNCTION 'ZBAPI_EMPINFO_DELTA' IN BACKGROUND TASK DESTINATION 'ZBAPI_EMPINFO_DELTA1'

EXPORTING

curdate = sy-datum

IMPORTING

return  = rt_return

TABLES

it_emp  = rt_emp[].

COMMIT WORK.

 

It is throwing the Dump "CALL_FUNCTION_REMOTE_ERROR Function ZBAPI_EMPINFO_DELTA not found" when calling the RFC in foreground.

 

If we remove the destination in the call function it is generating the data and if we removing that will be local function module to return the data.

 

We have made the TCP/IP RFC destination 'ZBAPI_EMPINFO_DELTA1'  with registered program id 'ZBAPI_EMPINFO_DELTA' in ECC ( Sender System ) . Connection test is successful for RFC destination.

 

Kindly suggest at the earliest as we are stuck with further configuration.

 

Millions of Thanks in advance.

 

Thanks and Rgds,

Zakir Appas A

using edit mask

$
0
0

Hi All ,

         Firstly my question is can we use  USING EDIT MASK statement only in write statement . My requirement is i need to display 9291651500 as (92)9165-1500 . i achieved this by following code

DATA  w_celular(20) TYPE c VALUE '9291651500'.

WRITE w_celular USING EDIT MASK '(__)____-____'.

 

Issue is i dont want to display the number . Please help if  there is any other way to do this .

 

regards

Kishore

Creating a Tab Delimited File from Internal Table

$
0
0

Hi All,

 

I need help on File output to SAP Directory.

 

I am creating a Tab Delimited File from internal table using OPEN DATA SET .. and TRANSFER. I am pushing the generated file to AL11 SAP directory.

 

When I see the output of file, it always show me top 3 additional lines with directory name and file name etc. When I download this file, then also these lines appear as header.

I have to FTP this file and I DO NOT want to send these HEADER lines to target server. My Question is How can I produce a Tab Delimited file WITHOUT a header using ABAP program.

Example:

Current File Output is:

 

Directory:    /XXX/YYYY

Name:         ABCDEFG

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

123450   ABC     11.000

678910   DEF     12.000

111213   GHI       3.000

141516   JKL      14.000

 

Desired Output is:

123450   ABC     11.000

678910   DEF     12.000

111213   GHI       3.000

141516   JKL      14.000

 

 

 

Thanks for the reply,


Disabling Delivery Block field in VA02

$
0
0

Hello Gurus,
need your help in following scenario.

My Requirement is like

"When User is going to change the SO (using VA02) he should not able to change the “Delivery block” field."

I want Delivery Block field ( Sales TAB - beside Item Overview ) should be non-editable mode.

How to achieve this using User Exits?

 

Thanks in advance.

 

 

Regards,

Mayur.

Getting Error message "Goods movement not possible with mvmt type 101" for BAPI_GOODSMVT_CREATE

$
0
0

Getting Error message "Goods movement not possible with mvmt type 101" for BAPI_GOODSMVT_CREATE

URL enable in Excel Download from ALV

$
0
0

HI All,

 

I have a requirement of enabling the URL as hyperlink when i download the ALV output to an excel file.
Currently, the URL column in the downloaded excel file is displayed as a text and not a hyperlink.

 

I tried changing the field of the URL type from CHAR to SERVICE_RL, but it does not work.

 

 

Basically whenever the user download the ALV into excel, he should be able to open the URL by clicking on it.

 

Please let me know how can this be made feasible.

 

Thanks,

Prafull

Problems with refreshing ALV-Grid (OO)

$
0
0

Hello everybody,

 

I'm working with some editable ALV Grid (object oriented with method set_table_for_first_display) at the moment.

 

Therefor I got the following problem: I want to refresh the list after some user has entered / changed any value. This is for sure no problem while working with method refresh_table_display in event data_changed_finished. The refresh works fine so after any input the list gets updated as I want to. But my problem is that the list is getting refreshed to slow.

 

E.g. I got an ALV grid with 10 entries. In every row I have the column 'area'. I want to type in the same value 'N001' in every 'area' field. So I only work with the keyboard by using the arrow keys to get from cell to cell. So I'm working like this: first typing in 'N' in cell1 then go to next cell by using arrow down then typing in N again and so on. And it looks like that this method is too fast for the ALV grid refresh because often my typed in value will get lost because of the refresh of the list in the same moment.

 

So is there any way to get this better or do I have to live with the 'slow' refresh?

 

 

Kind Regards

Michael Boguth

Drop down value is not getting set properly

$
0
0

Hi All,

 

I have populated the drop down using V getter and for the selection of the value from drop down i have created a server event in P getter.

 

Now the problem is when i select a value from drop down list it is getting cleared automatically.

when i added breakpoint in SET method to check, i found that the value is not getting set in SET method.

 

I checked for the key part all the KEYS are capital.

 

I couldn't able to spot where is mistake. Please help me in solving this problem.

 

Thanks and Regards,

Vaijayanthi.

Viewing all 8332 articles
Browse latest View live