Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all 8768 articles
Browse latest View live

Material number separation

$
0
0

How to split  the material number 111111111-AB   as  111111111.

sometimes 111111111 may not be exact 7 digits it differ from 1234-ab means i want to separate 1234  only.

How can i separate before - symbol???

 


access json file format into abap and vice-versa through RFC function module

$
0
0

Hi Guys,

 

Hope you are all doing great.

 

My Requirement is to send data to an application through RFC function module which accept the input only in JSON format and the output from application is also in JSON format.

I tried using CALL TRANSFORMATION, but i failed since the json file has multiple structures and arrays and i couldnt read all the values correctly.

Could you please help me out in this.

 

Thank You.

Anil.

How to pass/create Sold-to Party address while creating Notification IW51.

$
0
0

I am using FM IQS4_CREATE_NOTIFICATION to create Notification
(IW51). Notification gets created successfully.

    

In Notification display (IW53)->Tab: Contacts->there is customer address. By default system is getting all address details from Sold-to
Party. I want to pass/change this address details. How do I achieve this?

 

 

As far as I search FM IQS4_CREATE_NOTIFICATION there is no option to pass address details.

    

Dear all kindly provide solution also inform me if I am missing in FM IQS4_CREATE_NOTIFICATION.

    

Regards,

Vijay Pimputkar

Delete is not working Properly

$
0
0

Dear All,

 

I have created a z-report by copying MB51. and added material group (mara-matkl). but its not working. I have a final table 'list'. and i have another internal table it_mara. so in it_mara i have 7 entries as per material group. I need to delete entries of matnr from 'list' (final internal table) where material number is matching with it_mara table.

 

Kindly Advice.

 

Thanks and Regards

Jai

eCATT - Is it possible to pass values to table parameter from excel?

$
0
0

I have a test script which call the the function module (BAPI) for sale order creation.

 

The interface has parameters under Import,Export and Tables.What should I do to pass value to the table parameters(each parameters got multiple columns) from an external excel sheet. Eg:if I have 4 rows in the excel all those should be inserted and passed to the script.if I update the excel with more rows or columns it should correctly pass to the respective table parameter at the table level.I may not use all the column values all the time.

 

Is it possible achieve this in ecatt?

Read Access Logging (RAL) - Configuration

$
0
0

Hi Experts,

 

I have configured a Dynpro Channel in RAL.

 

The recording logs worked fine until I went back to change the configuration.

 

In the log group, I change logging Type of one field from With Value to Without Value and activated the configuration again.

 

Post this change, the logs are not visible.

 

Any pointers to solve this error will be of help.

 

Thanks much.

 

Regards,

Phanindra

ABAP Test Cockpit false negatives

$
0
0

Dear ABAP testers and troubleshooters,

I am setting up ATC to automate our code review process, and I am experiencing some spurious priority 1 and 2 errors being reported. I call these "false negatives" because ATC is reporting violations where none exist.

The first is coming from Extended Program Check: "Security check without a released licence" (misspelling of the word "license" is SAP's, not mine). I did some research and found OSS note 1985478, but that note is already in our system, so that doesn't help. I also read note 1865277, which directed me to note 1855773, which told me about the Code Vulnerability Analyzer, a spearately licensed product that we do not own and do not intend to purchase. It doesn't seem to matter which SLIN checks I have selected; if I run any SLIN checks I get this false negative result. Any clues on how to get rid of this "false positive" priority 1 message?

The second false positive is coming from the Code Inspector checks I have configured. It is coming from both the "Naming Conventions" and the "Extended Naming Conventions for Programs" checks: "Inconsistent Name ... PROGRAM/REPORT". The first oddity is that there is no program/report naming convention input field in the Naming Conventions check! Now, I have entered a regular expression in the "Framework programs" section of Extended naming conventions, in the Reports field: "Z[A-Z][A-Z][RIOCEF]_*". An example of a program name that complies with our standard--and should pass this test--is "ZBCE_ZTABLE_ACCESS", but when I run ATC on this program it gives me the aforementioned false negative check messages. When I put this regular expression and program name into the REGEX Toy program, it finds the text string as expected, so I believe that my regular expression is correct. Any clues as to what I'm doing wrong here?

Any and all suggestions are welcome.

Cheers,

TerryB

 

P.S. We are on ECC 7.31, SP 13.

problem in splitter container download to excel

$
0
0

Hi all

 

My spliiter output is working fine but when i download to excel it shows no values except headings my internal table is dynamic any suggestions on this


BADI for FB50 to get profit Center automatically

$
0
0

Hi experts,

 

      I have a requirement in our office from FICO team when ever they post the documents in tcode FB50 the should assign the profit center manually for a G/L Account every time. instead of that when ever they enter G/L account and press save it should automatically take the profit center when they simulate or save. please help with a solution .

 

Regards

Ganesh 

How to optimize the hit list column width of a Search help using ‘F4UT_OPTIMIZE_COLWIDTH’

$
0
0

Hi Experts,

 

 

I have an issue in adjusting the column width in the hit list of search help to the contents of the column and I referred the below link for the same requirement

http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm

(

Search help exit F4UT_OPTIMIZE_COLWIDTH adjusts the column width in the hit list to the contents of the column. It makes sense to use this search help exit when the columns of the hit list have to be made very wide for extreme cases (e.g. for name fields), but normally they will contain much smaller values.)



But when I used the Search help exit 'F4UT_OPTIMIZE_COLWIDTH' in the Zsearch help I could not see any difference.


Please let me know the step by step process how to use 'F4UT_OPTIMIZE_COLWIDTH' function module (which parameters needs passed) in the zsearch help to optimize the column/columns of hit list.


And do I need to write any code after using the search help exit F4UT_OPTIMIZE_COLWIDTH?, if yes please suggest the code to write


Please help with this requirement and it is very urgent.

 

Thanks in advance.

OO ALV output set filter not working.

$
0
0


Dear Folks,

 

I am using  SET_TABLE_FOR_FIRST_DISPLAY, when i am trying to use set filter toolbar tab, filter option getting populated then when i am entering value it is not getting filtered.

I have created global structure for LVC_FIELDCATALOG_MERGE and development is going in BW system.


One more thing when i filter any value it reflect filtered value for 1 sec again its appears as previous.

 

PS. I have searched same on Internet but not able to solve.

 

-

Amol

Pop up with two user inpts- showing the start and end page for re-print in Smartform.

$
0
0

Hello Experts,

 

My requirement is to enable a pop-up such that it allows the user to enter the start page number and end page number while triggering a re-print of the smartform. Once the user enters these values, the print must be triggered.

 

Pop up.PNG

Appreciate if you could share the FM to be used and also suggest how exactly the prints can be re-fired in Smartforms.

 

Thanks,

Chandni

Regarding delivery numerator (factor) for conversion of sales quantity

$
0
0

Hi Team,

 

   As per requirement, I need to update the field Numerator (factor) for conversion of sales quantity (LIPS-UMVKZ) based on my input weight field given

In the selection-screen. If it updates the field LIPS-UMVKZ, then automatically gross and net weight field values get update in delivery transaction.

 

Manually I tried to use the FM 'BAPI_OUTB_DELIVERY_CHANGE' and 'BAPI_TRANSACTION_COMMIT' to update the above mentioned field.

However my input numerator value is not updating by BAPI.

 

Can you please let me know on above mentioned?

 

Regards,

Suresh K.

 


unable to read table control data in module pool

$
0
0

Hi Folks,

 

I am unable to read table control data in module pool.

 

I can read table control data by using the fm  'dynp_values read' (only if i manually enter values for 'stepl') but how do I populate 'stepl' values?

 

Thanks and regards,

Kawish

how to get message id from payload

$
0
0

Hello,

 

Payload contains PO, item and GR details which creates GR for an item.

 

I have a program which takes input from payload, creates an Idoc with payload data and processed to create GR for PO line item. If PO or PO line item is not present, Idoc is created with error status with says GR is not possible for PO.

In this case, I want the message id linked to that payload so that it can be identified easily and payload data can be corrected.

 

Thanks,

Spandana


Copy standard table data to ztable with similar structure without coding.

$
0
0

Hi,

 

I need to create z table z** by copying table T042 with additional field in the beginning as checkbox.

Can anybody tell me how to do this.

 

Also how can replicate the same data as T042 table without coding.Is there a solution to this.

can it be doen using VIEW.

 

Regards,

Akash

aRFC free resouces on the specific Destination server

$
0
0

Hello,

 

Could you help me please to find FM to get the available recources on the specific RFC destination server.

Calling syntax is:

 

* Receive max free tasks

*????

 

CALL FUNCTION ‘Z***(your function name)’

      STARTING NEW TASK taskname

      DESTINATION lv_destination...

 

 

For example for such call:

   

CALL FUNCTION ‘Z***(your function name)’

      STARTING NEW TASK taskname

      DESTINATION IN GROUP srv_grp ...

 

I can call FM 'SPBT_INITIALIZE' and get free resources for certain server group.

 

 

Thank you in advance.

Table TVARVC for report FBL5N

$
0
0

I need to run FBL5N for the selection of Cleared Items which Clearing  Date 1 = STart Period date and Clearing Date 2 = Todays Date

I have set up entry in TVARVC type P which is for Clearing Date 1. This entry is updated by In-house ABAP.  Now I am trying to set up Variant for FBL5N and I can not select Selection Variable type T for Variant Attribute.

Can you please advise if :

1, Do I need to Clearing Date 1 & 2  as type S in TVARVC ?
2, Can I assign Date 1 to entry in table TVARVC type S with Period End value updated monthly ?

3, Can I assign Date 2 for FBL5N  as a Current date ?

4. Can I use TVARVC Clearing dates 1 & 2 to create variant for FBL5N ?

Thanks

SRT_TOOLS, Monitor for Processed XML Messages via CCMS Alert monitoring

$
0
0

Hi SAP

 

 

We use
WS_SRT for data distribution in SAP MDG installation ( SAP NW 7.31 SP03, SAP
ERP 600 EHP6 SP056 )

 

 

We would
like to use the CCMS Alert Monitor for monitoring TC SRT_TOOLS, Monitor for
Processed XML Messages.

 

 

As from TC
RZ20, Web Service Monitor ( Template ), “WS Errors” ex MTE for “AF: APPL”,
seems to be based at SOA Runtime Log/Trace Viewer ( as from Analysis Method on
properties for MTE/Dbl click ).

 

 

As from 1791308
- CCMS monitoring in the Web service runtime, this is too for the new Web
Service CCMS Monitor

 

 

Can we be
sure, that sub MTE’s in “WS Errors” cover all errors that can show in TC
SRT_TOOLS, Monitor for Processed XML Messages ?

 

 

If not,
please guide us how to monitor  TC
SRT_TOOLS, Monitor for Processed XML Messages via CCMS Alert monitoring.

 

 

 

 

 

Best regards

 

 

Hanne

TAW certification answers

$
0
0

Hola gurus,

 

After 7+ years of ABAP expeperience I was asked by employer to get TAW12 paper.

 

OK - not a problem, boss, I thought, But a week before the examination I decided to glance at the scope of questions in the offilical SAP parer for preparing the test,

 

Here is the very beginning, like the basic part of ABAP objects but I decided to perform the test. First you answer the question, then you see the anwers, And here I found something that made me frustrated:

 

Снимок.PNG

Seriously? High five to those guy who will explain this. I always though these are the only possible parameters for constructors.

 

Thanks!

Viewing all 8768 articles
Browse latest View live


Latest Images

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