Quantcast
Viewing all 8545 articles
Browse latest View live

SSFCOMPOSER - 154 - No output request open. End not possible.

Hi Experts,


I'm trying to print multiple smartforms using FMs SSF_OPEN and SSF_CLOSE. Inside the main program RBDAPP01 (Inbound processing for IDOCS) there is a loop at the IDOCS to be processed. Deep within the processing, we have a custom FM being called which prints smartforms. Since there is a loop at the calling main program, I have organized the code in the custom FM such that the first IDOC calls SSF_OPEN and the last IDOC calls SSF_CLOSE, so that all IDOCS in between will be able to print their smartforms. Here is the call stack:

 

 

8SAPLZCUSTOM                    ZCUSTOMPROGRAM                              113FUNCTION                      ZCUSTOMPROGRAM                                         
7SAPLPPC1                                ZCUSTOMPROGRAM      136FUNCTION                      KK2A_GET_DATA_FROM_IDOC                                     
7SAPLPPC1                                LPPC1U01                                1FUNCTION                      KK2A_GET_DATA_FROM_IDOC                                     
6SAPLBD20                                LBD20F0A                                454FORM                          IDOCS_PASS_TO_APPLICATION                                   
5SAPLBD20                                LBD20F0B                                69FORM                          IDOCS_PROCESS                                               
4SAPLBD20                                LBD20U05                                260FUNCTION                      IDOC_INPUT                                                  
3SAPLEDIR                                LEDIRU02                                182FUNCTION                      IDOC_START_INBOUND                                          
2SAPLBD12                                LBD12U04                                37FUNCTION                      APPLICATION_IDOC_POST_IMMEDIAT                              
1RBDAPP01                                RBDAPP01                                388EVENT                         START-OF-SELECTION                                          

 

The problem is:

 

1. When I only have 1 IDOC being processed, SSF_OPEN and SSF_CLOSE happens in the custom FM at the same time. This creates a successful spool.

 

2. Whereas, when I have 2 or more IDOCS, SSF_OPEN happens in the first IDOC, but then it goes back to the calling program, and then when the last IDOC is encountered SSF_CLOSE is called. The FM SSF_CLOSE in this scenario calls the exception INTERNAL_ERROR (sy-subrc = 2).

The system message is SSFCOMPOSER - 154 - No output request open. End not possible.

 

Why is this happening? Is it because that other programs (calling programs) may have affected the status of SSF_OPEN? It seems that the SSF_OPEN is no longer open.

 

Thanks in Advanced,

Jack


Re: VAT calculation and Customs duty in Import Purchase China

Dear Friends

 

Kindly help on the issue. its very urgent.

 

Regards

 

Prabhu

Re: Check Configuration Step fails with error "Managed System ~JAVA is not configured

Re: Flujos de aprobacion de ordenes de compra

Seria crear un solo escenario donde por ejemplo se active por varias razones, es decir tienes un escenario por descuento, otro por desvió de limite, crear uno solo que tengan las dos condiciones.

 

En tu caso es crear uno solo para ordenes de compra que se active no importa del area que sea, al menos que lleves ese control detalladamente.

 

 

Saludos,

 

Wuilmer Venegas

Creation of template using CPT1

To be able to charge an overhead to the product based on every unit costed or produced, I created a template created using CPT1 with sender as Cost Center / Activity Type  .When you assign this template to a costing sheet , valuation area and overhead key using KTPF, does the overhead rate need to be maintained as a quantity based overhead rate or does the overhead rate need to be maintained as an activity price using KP26?

Re: exits, badis,enhancements in the report

Finding all BADI

 

Set debug point in class CL_EXITHANDLER method GET_INSTANCE


CALL METHOD cl_exithandler=>get_class_name_by_interface

 

 

In variable EXIT_NAME - BADI's name.

Re: Greyed out fields to be enabled in delivery schedule tab of ME21N & ME22N

Hello Pramod,

 

As AKPT has pointed out, FO type documents are used for a broad framework type scenario, where most of the details are unknown at the time of releasing the PO.

The system by default allows standard, limit (B) and service (D) for such POs.

 

If you are trying to change the item category during creation (and not after the PO has history) please look at this IMG -> MM -> Purchasing -> Define Doc types -> Framework order FO -> Allowed Item categories.

 

 

I don't think delivery schedules are allowed for FO type orders.

Deletion of requests from standard DSO

Hi,

Through program, am able to delete the old requests from Write optimized DSO ( Retain period of 60 days). Hope this will not have any impact on targets or even the Delta mechanism?

 

Similar to WDSO above, can we delete requests from Standard DSOs active tables or is it through selective deletion? If so how can i automate like WDSO?


Re: Error in Creating a extension field in ByD

HI Hans,

 

Yes i Selected the Region before adding the Extension filed.

 

Prat

Re: Future cash flows

Hi SR,

 

Please provide screenshot of transaction and transaction type which you are using.

 

Regards,

Mohammed Kalim


Idoc configuration problems

I have two idocs at the target side. I used multimapping. I am on PI 7.1. However I am getting errors when I trigger it from Runtime work bench, Integration engine test tab

 

I have disabled the EDIDC segment in both IDocs. I think the parameters will be taken from RFC Destination, used in IDoc receiver adapter. I have used one com channel with two receiver agreements for each IDoc. Is my configuration settings correct?

 

Also, do I have to do anything in WE20 of ECC for either IDocs. Do I have to add the IDocs under Inbound partner profile?

 

I don't want to use Apply Control Rcord values from payload option as it will be a problem when I transport. I want to run this scenario by not adding values of port and all in mapping.

 

Please give inputs.

 

Error is in Mesage mappping branching. It says something like time out

Re: How to get the date form the year?

HI,

 

it is not possible to get the date form the year.

check with the source level coming any date (created date, changed date, document created date)

 

just map the form source to target ( created date to 0calday, 0calweek, 0calmonth,0calyear)

 

you want date only form the 0calday create the formula variable use the offset function - 2 choose the reference char as 0calday.

 

it will pick the only date.

keep the 0calday in rows and

 

Thanks,

Phani.

Re: Why does CompanyService GetItemPrice allocates so much memory?

Hi Beat,

the note is  http://service.sap.com/sap/support/notes/2004662  and is supposed to be fixed in next PL. The note is very specific since support was not able ( ?! ) to reproduce the problem and I had to write a proof of concept.

Meanwhile my customer went live with PL 8 cause apart from DI and UI memory leaks DI server is not working proberly ( longer than 20 min ) in later versions and support can't reproduce again.

Long story short :  hands off API for current PL in complex ( larger ) business cases.

 

regards,

Maik

Re: Update Item Cost w/Last Purchase Price FMS

Hi Daniel,

 

If you want to update the field only if itemcode ends with 'NI'  :

 

SELECT

Case (Right(T0.ItemCode,2))

When 'NI' then 'T0.[LastPurPrc]'

Else  ''

End

FROM OITM T0 WHERE T0.[ItemCode]= $[$38.1.0]

Re: Interpretation Algorithms to be assinged for BANAMEX BTC Codes 646,936,937,938

Hello!

 

Can you please provide some list with short description of the BTC codes from your house bank?

Usually, BTC codes are different from bank to bank, therefore the first thing you've to do is to get the file from your house bank with the clear bank-specific format description, especially with the description of the field 86 and its structure, the range of its possible values etc.

 

So please, provide some explanation on these BTC codes.


Re: Automatic Account Determination Postings in GBB for 645 movement

Hi Jurgen,

 

This is what actually resolved our issue but I was looking for any alternate solutions.  Image may be NSFW.
Clik here to view.
  There were no postings to the GL account used in this entry but it's been hard to convince the business that this is a good solution.

 

Now the BIG question... doesn't having the General Modification entry blank blank in GBB bother anyone?

 

Regards,

 

Jennifer

Re: HANA Information Composer

Hi Ken,

 

I know that our administrators set it up as a windows service so it's running in the background. Don't have the exact details.

 

Best regards,

Stefan

Re: IT Servicemanagement (WebUI) - Add Textbox

Hi Christian,

 

There is not a native way to do that, you need to add one text at a time. It will be shown inhistory. Maybe a developer can help you.


Regards.

Fernando.

Re: SAP EWM Outbound and Inbound process

Please join SAP EWM Training at SAP.

 

Or, please go through SAP Help documents.

Re: Opportunity Product Line Item Numbers

That make sense, from your last answer (sample of code) I thought you want to disable. Enable fields is another different story, If is disabled by the standard (customizing or a standard implementation of a BADI) you can change the UI and make it enabled but probably when you'll try to save, the value won't reach the database. You will need to debug the GET_I and see why the system is disabling the filed...it's time to dig Image may be NSFW.
Clik here to view.

Viewing all 8545 articles
Browse latest View live